Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like a wine app to run in the background without appearing in unity's panel.

The app, by the way, is "air video server", in case that matters.

Is there any way (command line is fine) to start the application with no tray icon? (other than blacklisting all wine apps from the notification area , if possible)

share|improve this question
up vote 2 down vote accepted

It's basically the same as How do I whitelist Truecrypt to work under Unity? except remove Wine and don't add TrueCrypt.

share|improve this answer
I know that way, that's why i asked if there is any way other than blacklisting all wine apps. Is there any way to remove just one app? – Chriskin Apr 29 '11 at 2:28
It seems that this way is the only one right now - the only one that worked for me at least. Until i find a better way,this one is the "answer" – Chriskin Apr 29 '11 at 4:39

When you invoke this particular wine application try using a differently-named symlink to wine. This will change the name of the process in the process table.

For example, if you sudo ln -s /usr/bin/skype /usr/local/bin/notskype and then invoke skype with skype the name of the process that launches won't match the whitelist and you won't see the tray icon. While launching with skype will still place the icon as before.

EDIT: The concept works with apps like skype. But this does NOT work with Wine. I'm leaving it up for now in case someone can adapt it to wine.

share|improve this answer
seeing that the command in alacarte is "env WINEPREFIX="/home/christos/.wine" wine C:\\windows\\command\\start.exe /Unix /home/christos/.wine/dosdevices/c:/users/Public/Start\ Menu/Programs/Air\ Video\ Server/Air\ Video\ Server.lnk" i can't thing of any way to run the application without mentioning wine - and that would get it in the whitelist, wouldn't it? – Chriskin Apr 29 '11 at 3:04
No, I think it can work. First: sudo ln -s /usr/bin/wine /usr/local/bin/notwine. Then go back to alacarte and edit the launcher to: "env WINEPREFIX="/home/christos/.wine" notwine C:\\windows\\command\\start.exe /Unix /home/christos/.wine/dosdevices/c:/users/Public/Start\ Menu/Programs/Air\ Video\ Server/Air\ Video\ Server.lnk" – Mark Russell Apr 29 '11 at 3:14
It wouldn't run with /usr/local/bin/notwine , so i sent it to /usr/bin/notwine. Then i run it with the command that you wrote but the icon showed up just as if I had launched it with "wine" instead of "notwine". – Chriskin Apr 29 '11 at 3:44
You're right. There the real process turns out to be "wineserver" and I can't seem to get it to launch as anything but itself. – Mark Russell Apr 29 '11 at 4:17
I guess i'll go with removing all of the wine apps from the whitelist - or just ignoring the icons that mess up the appearance of the panel. Thanks for the help though :D – Chriskin Apr 29 '11 at 4:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.