Search the web with Google

Android install

Android installation weblog

Enter your email address:

Jeroen´s weblog

Ubuntu install

Ubuntu installation weblog

Sunday, May 15, 2011

Add wine programs to Unity launcher

Because Unity Launcher and Dash only show application that are in /usr/share/applications/ you can't add or view apps that are installed via Wine.

To add Wine apps to Launcher you need to create new .desktop file in /usr/share/applications/
The easiest way to do this is with Unity Launcher Editor.

Unity Launcher Editor still don't have PPA so you need to get it via BZR

First you need to install bzr
sudo apt-get install bzr
bzr branch lp:unity-launcher-editor
cd unity-launcher-editor

if last command don't start Unity Launcher Editor then go to /home/unity-launcher-editor/unitylaunchereditor/ and open

Now in Unity Launcher Editor click Add button and write App name,

In command field write command that will open Wine application,
for example:
wine /home/ivan/Downloads/WAR3_1_26a_MX.exe
Click on Icon and select icon for your app (64x64 .png)

Final step is to make new launcher item executable.
Go to:
Search for your application and rigth click > properties > Permissions
and check Allow executing file as program

If app is not in Launcher you need to logout

For Unity 2D you might need to add manually app to Launcher
You can do this in two ways:

1. Go to /home/.local/share/application and start your app
   In Launcher right click on app and check Keep in Launcher

2. Start gconf-editor from terminal, navigate to Desktop > Unity 2D > Launcher
    duble-click on favorites > Add 
    in New list value write : appname + .desktop


Anonymous said...

Thanks for the information! Just a note, I think when you say:

First you need to install brz
sudo apt-get install brz

you meant:
First you need to install bzr
sudo apt-get install bzr

Jeroen said...

Thanks, I changed the typo.

el_gallo_azul said...

Thanks. I followed this ok until

'if last command don't start Unity Launcher Editor then go to /home/unity-launcher-editor/unitylaunchereditor/ and open'

1. I went to the directory you state but there is no ''. There is a ''. I googled it and found that to run a python script it seems to be e.g. 'python'. I tried that to 'open' but got

'[Errno 2] No such file or directory. I also tried it with 'python' and got

'Traceback (most recent call last):
File "", line 26, in
from unitylaunchereditor.core.desktop import DesktopParser
ImportError: No module named unitylaunchereditor.core.desktop'

How can I complete this step and get to the next one?

el_gallo_azul said...

Can you please let me know a response to my question from yesterday? Even if it's just to let me know that you received it and something's happening.

Post a Comment