I ran xkill to force quit Chrome, and I clicked my desktop. The icons disappeared.
Is there a command that will get them back? I'd rather not restart.
I'm using GNOME and GDM.
I ran xkill to force quit Chrome, and I clicked my desktop. The icons disappeared.
Is there a command that will get them back? I'd rather not restart.
I'm using GNOME and GDM.
The desktop icons are managed by file browser, on regular running try
$ ps ax | grep nautilus
2464 ? Sl 0:11 nautilus -n
6390 pts/2 S+ 0:00 grep --color=auto nautilus
From man nautilus
-n
--no-default-window
Only create windows for explicitly specified URIs.
In this mode nautilus will not show a window, and it run like a daemon. So for you case use:
nautilus -n & disown
It turns out this can be fixed with Gnome Tweak Tool.
Using xkill on the desktop sometimes turns off the "Icons on Desktop" setting:
Turning this back on fixed it:
If the setting is not turned off, then just turning it off and on again brings them back.
xkill toggles show icons settings ? That's quite weird. Desktop should be managed by file browser not gsettings . . . Or maybe Gnome is just werid
– Sergiy Kolodyazhnyy
Dec 05 '15 at 19:40
nautilus -n which is running in the background when off, and launch it if is on. this handled by gnome-settings-daemon or unity-settings-daemon.
– user.dz
Dec 05 '15 at 20:42
nautilus & disown from the terminal solves this problem perfectly well on Unity! @Sneetsher and @Tim
– Byte Commander
Dec 08 '15 at 12:49
The previous answers did not work for me, but this command does for Kubuntu 18.04
kstart plasmashell
I hope this could helps others!
-nflag and opening a normal Nautilus window just starts the separate daemon in background as well. – Byte Commander Dec 08 '15 at 12:50