Friday, June 17, 2011

Edit "places" menu entries in Gnome

Just edit the (hidden) file .gtk-bookmarks in your home folder. Each line of the file represents one shortcut in the menu, like this:

file:///home/user/Documents
file:///home/user/Music
file:///home/user/Pictures
file:///home/user/Videos
file:///home/user/Downloads
sftp://user@server.com:2222/ Network_Shortcut_Name


This is the only way I have found to remove, for example, the shortcuts made by the "Connect to Server" option.