5

I would like to run

wine myapp.exe

without displaying the GUI window.

myapp.exe is a command-line application.

Is it possible?

xralf
  • 3,312
  • 45
  • 129
  • 200

1 Answers1

4

Yes, it is.
Use the /nogui switch, i.e.:

wine "myapp.exe /nogui"

If this doesn't work, you may be able to get it working by installing gdiplus extension for WINE.

Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268
  • With the `/nogui` switch, it still displays the GUI window. I looked at the link with `gdiplus`, but there are no instructions, how to install it. – xralf May 01 '15 at 18:52
  • I installed it according to this website [this](http://ubuntu-snippets.blogspot.cz/2008/05/as-most-of-us-know-wine-is-used-to-run.html), but it still shows GUI. – xralf May 02 '15 at 13:42
  • you may want to take a look at: https://www.winehq.org/site/docs/wineusr-guide/config-wine-main, specifically 4.1.3. Graphics Settings – Pedro Lobito May 02 '15 at 14:22
  • I unchecked `emulate a virtual desktop` and it works even without `/nogui` switch. Thanks – xralf May 02 '15 at 14:34