DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Custom Application Launcher

05.09.2009
| 3504 views |
  • submit to reddit
        In GNOME, you're able to add custom application launchers to a panel.  However, sometimes these do not work as you'd think.  

Create a startup script with the command you'd like to run
Save it (e.g., ~/scripts/)
Setup a launcher of Type: <b>Application in Terminal</b>
Use this for the Command:
gnome-terminal --execute bash ~/scripts/<startup-script.sh>

Reference: <a href="http://forums.fedoraforum.org/showthread.php?t=2889">GNOME Terminal Question</a>