if like me you have a lot of files/folder on your desktop but also sometimes want to have a clean desktop, this little trick may help you.
create a file anywhere you want in you home folder and name it toggledesktop.sh (or anything you want)
copy/paste this code:
Code: Select all
#!/bin/sh ETAT=`gsettings get org.nemo.desktop desktop-layout` if [ "$ETAT" = "'true::true'" ] then gsettings set org.nemo.desktop desktop-layout false::false else gsettings set org.nemo.desktop desktop-layout true::true fi exit 0
create a new shortcut that points to the script (I choose super+H)
each time you press the shortcut, everything on your desktop will appear/disappear
this seems to be completely useless, that's why i can't live without it !