Different behavior when launched from terminal instead of Unity launcher
Posted
by
dgkontopoulos
on Ask Ubuntu
See other posts from Ask Ubuntu
or by dgkontopoulos
Published on 2012-09-04T13:17:07Z
Indexed on
2012/09/04
21:51 UTC
Read the original article
Hit count: 235
I have written two Perl/Gtk programs. When launched from the dash menu, they run just fine.
However, if I try to launch them from terminal using the very same command found in their .desktop files, their Unity launcher will be blurry and will remain inactive when clicked, if I keep it in the Unity bar.
The problem is solved if the Exec part of the desktop file is replaced with
perl path_to_script
However, that leads to other problems, including a lintian warning and forcing all Perl GUI applications running from terminal to adopt the same launcher.
This issue is quite annoying since one of the programs relies on a different (Python) program in order to be launched and this results in having a blurry and inactive launcher.
© Ask Ubuntu or respective owner