I can hide/show the desktop icons using gnome-tweaks
(see the picture, "Afficher les icĂ´nes" means "Display Icons").
I would like to know how to set up a shortcut doing that ? I use GNOME in Ubuntu 18.04.
There is a shortcut to hide all windows (Windows-key + D), so why not one for hiding/showing the desktop icons.
Best Answer
I wrote a small script, which changes this option:
You can save the script
/somewhere/as/somewaht.sh
(with permission to execute) and then add in your keyboardsettings an entry: