I have a python application which behaves in two different ways. When started without arguments, it runs in CONFIGMODE and shows a Configuration GUI (pygtk). When started with an argument it runs in APPMODE.
Then I have two Bash-Scripts (
appmode) to start. One starts my app with arguments, the other without. For each script I have created a .desktop file in
~/.local/share/applications with different icons.
But even when I start
appmode.desktop the Unity launcher shows the icon from
I also use
Kupfer to launch applications. And when
configmode is already running Kupfer also thinks that
appmode is already running.
Therefore I wonder how Unity and Kupfer identify which
.desktop file to use?
My goal is to see the icon from the
.desktop file which I used for startup in the Unity launcher. How can I achive this?