

Press Control+X to save your file & exit Nano. Open a terminal window and type sudo nano /usr/local/bin/sampleprogram

Instead, you need to make a Bash script (don't worry, it's simple).Ĭreate a new text file somewhere on your computer. Unfortunately launchers do not have access to the Bash environment so you cannot just include the needed commands. Java programs need to be started from within the directory in which their files exist. Some programs need additional commands before they can be started. From the System menu select "Help and Support" then "Customising Your Desktop > Cutomising Panels > Launchers." You may also find directions on adding launchers in Ubuntu's built-in help. Your launcher should now appear on the panel.You could also make them yourself using GIMP or any other graphic editor. You may find icons in /usr/share/icons/crystalsvg/16x16/apps/ or elsewhere. This and the Name will appear when you hover your mouse over the launcher.Ĭlick the No Icon button to select an icon for your launcher. You can also click the "Browse" button to find the program on your computer.Ĭomment is for a short explanation of the program. Name is you want to call the link, such as "Firefox" or "Gaim"Ĭommand is what you would type in the terminal to launch the program. Right-click unused space in any panel (the toolbars at the top and/or bottom of the screen).Launchers are similar to "shortcuts" in Windows or "aliases" in the Mac OS. This article needs updating to include the latest versions of Ubuntu.
