My problem is that the Ubuntu launcher has shortcut numbers assign to the first 10. How can i extend this to more of them, like letter or more numbers. Is this possible?
Ubuntu – Add extra shortcuts to the Ubuntu launcher quick keys
11.10launcherunity
Related Solutions
As of in Ubuntu 13.04 with the latest PlayOnLinux running Evernote and/or join.me in a Wine 1.5.28 bottle...this problem has just disappeared on its own.
I just have PlayOnLinux create the shortcuts on my desktop and then I copy them to ~/.local/share/applications
log out and log back in. Then I take these Dash shortcuts and drag them to the launcher.
There are two ways:
Dynamically
You can add a shortcut to a folder by browsing (in nautilus) into the folder you want to add, and choose "add bookmark" from the bookmark menu. Alternatively, you can press Ctrl+D. Bookmarks you created this way are added automatically to the Files
icon in the launcher, in the top section (Nautilus adds these shortcuts to the file: ~/.config/gtk-3.0/bookmarks
).
In the "static" section of the launcher's icon.
Alternatively, you can add a shortcut to the Files icon (or any other icon), by editing its .desktop file. This method gives you more control over the name of the shortcut, and the order of shortcuts, if you have more than one.
To do that, first copy the .desktop file to
~/.local/share/applications
cp /usr/share/applications/nautilus.desktop ~/.local/share/applications/nautilus.desktop
Open the (copied) file with gedit; it won't open by double-click, so open a gedit window and drag the file over the gedit window.
Look for the line:
Actions=Window;
Add a name that you would like to give your folder in the launcher:
Actions=Window;YourFolder;
At the end of the file, add a section like this:
[Desktop Action YourFolder] Name=YourFolder Exec=nautilus /path/to/thefolder OnlyShowIn=Unity;
Log out and back in, now you'll have your shortcut in the Files icon by right-click.
Explanation:
Icons in Dash and the launcher represent .desktop files. These icons have one "main" command (that's what happens if you click on it), but also can have a number of shortcuts (accessible by right-click).
This "main" command can be found in the Exec=
line, in the section directly below [Desktop Entry]
, the shortcuts are listed in the line Actions=
, and defined in the [Desktop Action YourFolder]
- section(s).
.desktop files in ~/.local/share/applications
overrule the ones in /usr/share/applications
, but the first time after you copy the original to the local directory, you have to log out/in. The clean procedure is always to edit the local one and leave the original untouched.
Note:
Bookmarks that you created by the first method, are added to the icon automatically, but are not part of the nautilus.desktop
file.
Edit for 15.04 and later
The answer above applies for 15.04 and above as well, but the launcher to edit (locally copied) for the static section is:
/usr/share/applications/org.gnome.Nautilus.desktop
instead of
/usr/share/applications/nautilus.desktop
Best Answer
Unfortunately it is not possible.
Keep in mind you can add more shortcuts (similar to the ones in Unity) in the system settings.