CrossOver Support

How can I run an application from the command line?

If you don't use a desktop (KDE or Gnome), you have installed an application that does not show up on your desktop's menu, or you wish to start your application from the command line you can use one of the methods below.

The easiest way to run a Wine command line is via the 'cxrun' utility. It should be available in your CrossOver menu with the name "Run a Windows command" or you can run it from the command-line, like this:

$ ~/cxoffice/bin/cxrun or $ /opt/cxoffice/bin/cxrun

If you know the name of the Windows executable you can try running it using the following command:

$ ~/cxoffice/bin/wine --cx-app appname.exe or $ /opt/cxoffice/bin/wine --cx-app appname.exe

The above command assumes that the app in question is installed in your default bottle. If the app in question is not installed in your default bottle, or you don't have a bottle set as default, you may need to specify the bottle name:

$ ~/cxoffice/bin/wine --bottle "bottlename" --cx-app appname.exe or $ /opt/cxoffice/bin/wine --bottle "bottlename" --cx-app appname.exe
Last modified on 2012-02-01 09:31:39 by Jack Phinney
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/linux/faq/cxofficelinuxruncommand
Please Wait...