Please note that right now, most of the information contained below is outdated and cannot be updated. Be careful, most of this won't work on Ubuntu 12.04 and newer.
Creating a custom launcher for Unity is simple. Quicklists provide an easy and efficient way to quickly access commonly used tasks for a specific application.
NOTE: Starting with Ubuntu 11.10, this popup option has vanished. Launchers can now only be created by editing text files in your home folder.
Creating a custom launcher is easy.
- Right-click on your desktop and click create a launcher.
- Edit the .desktop file using a text editor. (More information can be found here and here.)
So, which custom launchers do you use on Unity?
Note: Please limit yourself to one custom launcher per answer. Also, please provide a screenshot of it in action.
Home Icon Quicklist
Copy 'Home Folder' launcher file to your home directory:
Open the file for editing in gedit:
Delete the following line from the file:
Add this text to the bottom of the file, then close and save:
Log out and log in again to see the changes.
Source
SSH Launcher
Access of list of your favorite SSH servers quickly.
Create a new file with gedit, in the Terminal type:
Copy & Paste this text into the above file:
Drag and Drop onto the launcher by navigating to ~/.local/share/applications/ in Nautilus.
Source 1, Source 2
Ubuntu Software Center Quicklist
Quickly add PPAs through the software-properties UI and update sources as well.
Copy the original .desktop file to your home folder using Terminal:
cp /usr/share/applications/ubuntu-software-center.desktop ~/.local/share/applications/
Open the file for editing with gedit:
gedit ~/.local/share/applications/ubuntu-software-center.desktop
Add the following at the bottom of the file. This should be entered after the line X-Ubuntu-Gettext-Domain=software-center
.
Home Icon Quicklist (auto-update from bookmarks)
Here is a small shell script that updates your Home-Quicklist with all your bookmarks. No manual manipulation. It reads your bookmark file and creates the menu items from it. It also adds the "Root Filemanager" menu entry.
~/bin/
and the script name you choose isunityhome.bash
).Run the script once to add the entries:
Optionally you may have cron run the script for you every once in a while. To add it to cron, type the follwing command into a shell:
An editor will open. There add a line like:
If you don't do this step, you'll have to run the script by hand every time you change your nautilus bookmarks if you want the quicklist updated.
Changes only take effect on your next login or after you Alt+F2
So do that. Note: Don't run
unity --replace
in a terminal. If you close that terminal, it will kill unity with it.Enjoy and have a look at the similar script for gnome-terminal that parses your ssh bookmarks (in
~/.ssh/config
).Script:
Here is the script:
Improvement: Do not duplicate "Home folder" and "username"
If you don't want to have two items targeting your Home folder ("Home Folder" at the bottom of the quicklist and the clickable username), you can replace the following code:
by the following code:
LibreOffice Quicklist
This creates a quicklist for the LibreOffice Start Center launcher.
Copy your original .desktop file into your home directory for editing:
Open in gedit:
Edit the MimeType line:
Find the following line:
Replace with:
Highlight and copy the text below, then paste it at the bottom of the .desktop file:
Note: For LibreOffice 3.4 and 3.4.1: in Exec;
libreoffice
must be replaced with `libreoffice3.4', but it seems in Oneiric we don't need to add the version number. I'm testing it from Oneiric and leaving default just run well, adding the verison number make the quicklist unusableNavigate to ~/.local/share/applications and drag'n'drop the LibreOffice Start Center desktop file onto the launcher.
A similar modification can be made to the LibreOffice Writer launcher.
Source
Terminal Quicklist
Copy original Terminal launcher into your home directory using Terminal:
Open the file with gedit still using Terminal:
Find the following line from the file:
Replace the above line with:
Add this text to the bottom of the file then Save & Close it:
To enable the 'New Tab' option you need to install
xdotool
from Ubuntu Software CentreClose all Terminal windows, right-click on its launcher icon and untick 'Keep In Launcher'
Open Dash, run
Terminal
and the new launcher with quicklist will appear.Firefox Quicklist
Add handy Firefox options to the launcher.
Copy your original .desktop file into your home directory for editing:
Open in gedit:
Find and edit the following line:
to match this line:
Add this text to the bottom of the .desktop, then save the file:
Google Services Launcher
A custom launcher for common services like gmail, calendar, composing a new message.
Create a new file by opening Text Editor and paste the following text into it:
Save the file with this folder location and name:
Drag and Drop this file onto the launcher by navigating to
~/.local/share/applications/
in File Manager.You can download the icon here.
Source
Banshee Quicklist
Copy the Banshee launcher to your home directory, in Terminal paste the following:
Open this new file for editing:
Highlight and copy the text below, then paste this at the bottom of the file.
Sources: 1, 2
Google Docs Quicklist
Create a new file with this command:
Paste in the text below:
Drag the gdocs.desktop into the launcher from ~/.local/share/applications/