What is the intended way of creating desktop launchers? [duplicate]
TL;DR : what is the easiest way to create desktop shortcut to a program ?
When I first started using GNOME with Ubuntu I immediately tried to find ways of creating desktop shortcuts/launchers to launch common programs.
My attempt to get desktop icons into GNOME lead me to pages like this one which describe several hacks to get desktop icons for common programs.
I've found that these solutions are convoluted despite this being a common request.
There is already a question which attempts to ask the same thing, but it was closed, presumably because it wasn't particularly clear:
Why isnt there a create launcher on desktop right click?
[W]hat is the intended way to quickly launch common programs in Ubuntu with GNOME?
You use the overview:
To reach the overview, you can do any one of:
- Press Super.
- Press AltF1.
- Move your mouse to the top-left corner.
- Click on the Activities on the top corner.
From here, simply type (part of) the name of the program, or something in its description, and press enter when it is highlighted:
The list of icons on the left is customizable. If you want to add an icon to it, for commonly-used applications, you can go to the Applications overview and drag an icon to it:
Or right click an icon and Add to Favourites:
To get to the Applications overview, you can do any one of:
-
Click on the matrix of dots:
- Press SuperA.
If you use an application often enough, it will get added to the Frequent section in the Applications overview.
So, the short answer is:
You don't use the desktop for launchers.
It might take some time getting used to this.
Check out:
- A tour of GNOME Shell
- GNOME Shell cheat sheet
The only times the desktop is faster to reach than the overview are when you login or switch to a new workspace (in both cases the desktop is displayed by default). You can have the overview shown on startup.
TL;DR : Linux calls it "Create a link", Windows calls it "Create a Shortcut". Same stuff, different wording. It's not hard, it's just how everything was designed. Windows' design is actually what's confusing users, because what it does is named different from what it shows in right click. And back to basics from this Wikipedia article
If you ever have tried opening windows partition with linux you will see that essentially, a windows desktop shortcut is nothing more than a link file. Now, just because windows days "create a shortcut" doesn't mean that unix-like file system has to call their way of doing think "create a shortctu",too.
For instance, bellow you will see a screenshot of my windows desktop opened with Ubuntu's default file manager - nautilus. Highlighted is a shortcut to Open Broadcaster Software , which is used to broadcast videos on sites like twitch.tv
Now, unix-like systems have implemented creating links to files and folders long ago before windows existed. If you right click in Nautilus, you will see a line saying "Create a Link". Same idea as windows shortcut ( which is actually a link, but windows calls it shortcut ) !
Now, let's go to /usr/share/applications
folder on Ubuntu. You will see there a list of all installed applications on your system. Now you can either copy one of those files to desktop and open with double click; alternatively, press AltF2 and run gksu nautilus /usr/share/applications
, which opens file manager in that directory, right click and chose create link. Now you can move that link to desktop.
Bellow you can see my folder, with a link created to a solitaire game.