how to add shortcuts to desktop

How do you add shortcuts to the desktop?

I’ve already searched through the forums, and can’t find anything that works.

If it helps im running a Toshiba laptop, which has 3.8 GiB memory, an Intel Core i3-2350M CPU, and an Intel Sandybridge Mobile graphics card

As well, can someone tell me how to open terminal in administrator mode?

Assuming you use KDE (you did not mention which desktop you use): open the application menu/starter and drag an application icon onto your desktop. Done.

Again, it would help when you explain which desktop. Most of us do not have working glass balls. :wink:

linux doesn’t use shortcuts it uses desktop files
desktop files are text files which identify the application to launch and are usually shown in the menu bar in plasma5 you can drag a launcher from the menubar to the desktop
another way would be to create *.desktop files and put them in the Desktop directory ~/Desktop
to see some examples of desktop files check out the content of

/usr/share/applications

that’s a system folder and only root can edit files there but you can copy desktop files from there to your desktop or to

~/.local/share/applications

where user defined launchers (shortcuts) go
here’s an example of a launcher I did for Basilisk (it came without one)
I keep it as
~/.local/share/applications/Basilisk.desktop

[Desktop Entry]
Categories=Network;WebBrowser;GTK;
Encoding=UTF-8
Name=Basilisk
GenericName=Web Browser
Comment=Web Browser
TryExec=/home/me/opt/basilisk/basilisk
Exec=/home/me/opt/basilisk/basilisk %u
Icon=/home/me/opt/basilisk/browser/icons/mozicon128.png
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Type=Application

Actions=PrivateBrowsing;

[Desktop Action PrivateBrowsing]
Name=New Private Browsing Window
Exec=/home/me/opt/basilisk/basilisk --private-window %u

you can use the above as an example on how to create your own launchers keep in mind enviroment variables don’t seam to work in desktop files (for me anyway) I couildn’t use ~ or $HOME I had to use the full path to the executable

I use a custom which is mostly GNOME

Could you simplify that?

On Tue 22 May 2018 11:06:02 PM CDT, PandaR wrote:

mennoholscher;2866219 Wrote:
> Assuming you use KDE (you did not mention which desktop you use): open
> the application menu/starter and drag an application icon onto your
> desktop. Done.[/QUOUTE]
>
> I use a custom which is mostly GNOME

Hi
There are no more desktop shortcuts in GNOME Tumbleweed, as in it’s
deprecated.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 RC4 | GNOME Shell 3.26.2 | 4.12.14-18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

I don’t know how gnome does the desktop folder but just take a look at the files with the desktop extension in

/usr/share/applications

those are launchers ie shortcuts you can make custom shortcuts and put them in

/home/<you>/.local/share/applications/

and they will appear in the menu bar (start menu)
the default plasma 5 desktop comes with 2 shortcuts (desktop files) and you can put as many desktop files on it as you want but as you use Gnome and I haven’t in years I have no idea if Gnome displays launchers on the Desktop

here’s another simple example
you can copy the Firefox desktop file to your Desktop and you will get a Firefox shortcut on your desktop
this works with plasma 5 and lxqt the desktops I’ve tried I’m not sure about Gnome maybe under classic mode

cp /usr/share/applications/firefox.desktop ~/Desktop

you can do this with any launcher in /usr/share/applications/ or you can create your own custom shortcuts ie desktop files