Changing GTK bookmarks

Submitted by Jochus on Tue, 27/07/2010 - 00:47 | Posted in: Linux


Ever wondered how to change or add bookmarks using commandline? Well, it's very easy :-):

<a href="mailto:jochen@DESKTOP">jochen@DESKTOP</a>-JOCHEN ~ $ ls -al .gtk-bookmarks 
-rw-r--r-- 1 jochen jochen 339 2010-07-27 09:34 .gtk-bookmarks
<a href="mailto:jochen@DESKTOP">jochen@DESKTOP</a>-JOCHEN ~ $ cat .gtk-bookmarks 
file:///home/jochen/Documents
file:///home/jochen/Music
file:///home/jochen/Pictures
file:///home/jochen/Videos
file:///home/jochen/Downloads

Comments

Submitted by Glenn (not verified) on Mon, 14/03/2011 - 20:41
 

I appreciate it! I would also like to know how to edit these without going through Gnome. (It's the new "Desktop" option in the Places menu I would like to get rid of.)

Best, Jochen!
Glenn

Add new comment

The content of this field is kept private and will not be shown publicly.

Full HTML

  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.