PDA

View Full Version : [gnome] Remove "Desktop" from Places.



credobyte
August 28th, 2009, 02:02 PM
As thread title says .. is there a way to remove "Desktop" from Gnome menu bookmarks ? I've already hided it from Nautilus but can't figure out, how to remove/hide it from bookmarks.

DaithiF
August 28th, 2009, 03:15 PM
Hi, I don't think there is a 'proper' way to do this, as it seems that the Places menu is hardwired to create both a Home Folder and a Desktop item, before then appending whatever bookmarks exist.

Looking at the code though, when creating the Desktop item, there is a check for a gconf key: DESKTOP_IS_HOME_DIR - if that exists then the Desktop menu item is not created.

I tried setting this key to true in gconf-editor: /apps/nautilus/preferences/desktop_is_home_dir, and yes, it does cause the Desktop menu item to disappear from Places. Not sure what other consequences it may have :) , but nothing I've noticed so far.

credobyte
August 28th, 2009, 03:20 PM
Hi, I don't think there is a 'proper' way to do this, as it seems that the Places menu is hardwired to create both a Home Folder and a Desktop item, before then appending whatever bookmarks exist.

Looking at the code though, when creating the Desktop item, there is a check for a gconf key: DESKTOP_IS_HOME_DIR - if that exists then the Desktop menu item is not created.

I tried setting this key to true in gconf-editor: /apps/nautilus/preferences/desktop_is_home_dir, and yes, it does cause the Desktop menu item to disappear from Places. Not sure what other consequences it may have :) , but nothing I've noticed so far.

Thank you! Looks like it did the trick :)

Hack.The.Pow.
October 26th, 2010, 12:54 AM
hey guys. So i followed what you said and it did the trick perfectly.

Only question is now all the folders that were in my home directory are now on my desktop. (I know that is essentially what we did by changing that key)

I wanna know if theres a way to hide these folders on my desktop?(I don't mind seeing them in the file browser) I like having a pretty blank looking desktop.

DaithiF
October 26th, 2010, 08:18 AM
I wanna know if theres a way to hide these folders on my desktop?(I don't mind seeing them in the file browser) I like having a pretty blank looking desktop.

Not that I know of. I also like a blank desktop, for that reason I leave that flag unset, and leave the Desktop folder empty. Desktop still shows up in Places menu, but that doesn't bother me.

Zvlwab
July 26th, 2011, 09:11 PM
in gconf-editor uncheck apps/nautilus/preferences/show_desktop
This causes some graphical bugs in ubuntu 11.04 though. It makes the desktop unclickable and removes all icons :)