Ubuntu – How to create launchers on the desktop

desktop

In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.

How can I create such launchers now?

Best Answer

Note: gnome-desktop-item-edit was removed from gnome-panel in 19.10 (see gnome-desktop-item-edit: command not found on Ubuntu 19.10 and later even with the 'gnome-panel' package installed). So, this answer is unlikely to work for 19.10 and later.

The old GUI dialog is still available if you still want to use this:

Using ALT+F2 type

gnome-desktop-item-edit --create-new ~/Desktop

This will launch the old GUI Dialog and create a launcher on your Desktop:

enter image description here

Prerequisites

gnome-desktop-item-edit is installed automatically if you have installed gnome-shell/gnome-fallback. It is also installed automatically if you have previously installed gnome-tweak-tool.

Alternatively, you can install the old gnome-panel without much of the bulk:

sudo apt-get install --no-install-recommends gnome-panel

You can later move the MyLauncher.Desktop file from ~/Desktop to ~/.local/share/applications/ to make it appear in all applications dashboards, or to /usr/local/share/applications to make it available to all users (Thanks to @JonBently's comment).

Related Question