How to Remove Default Bookmarks from Caja Places Panel

Forum rules
Before you post please read how to get help
Post Reply
edwin11
Level 1
Level 1
Posts: 10
Joined: Tue Jun 11, 2013 11:05 am

How to Remove Default Bookmarks from Caja Places Panel

Post by edwin11 » Sat Jun 15, 2013 4:09 am

Hi all,

I'm using Linux Mint 15 Mate.

How can I remove the default Documents, Downloads, Music, Pictures and Videos bookmarks from the Places panel in Caja?

When I right-click on those, the "Remove" menu item is greyed out.

When I delete those folders in my home directory, the corresponding bookmarks will be gone the next time I login, but how do I just remove the bookmarks without deleting the actual folders?



Thanks and Regards,
Edwin

Gwaro
Level 1
Level 1
Posts: 15
Joined: Wed Jul 06, 2011 9:20 am
Location: Nairobi
Contact:

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Gwaro » Sat Jun 15, 2013 3:28 pm

Well, I have not yet used caja but with Nautilus and Nemo you can edit the contents of '~/.config/gtk-3.0/bookmarks'. I hope this helps.
when life gives you a run, give it a break. retreat is a tactic not defeat!

jaderiver
Level 2
Level 2
Posts: 97
Joined: Wed Jun 27, 2012 1:43 pm
Location: Oregon Coast

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by jaderiver » Fri Jul 19, 2013 2:03 am

Mint Maya 13 MATE:

Mint Menu -->System Tools -->Caja File Browser -->click on Bookmarks (up in menu bar) -->Edit Bookmarks -->Remove whatever you want.
ASUS U56E 64-bit Mint 18.2 MATE Sonya dualboot WIN 7
Zoom #3095 dialup USB modem

Zenxos
Level 1
Level 1
Posts: 12
Joined: Tue Nov 19, 2013 12:09 pm

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Zenxos » Sat Nov 23, 2013 2:25 pm

The OP asked about removing the default bookmarks(Places) like Documents. The Bookmarks/Edit will not do this.

I am looking for the same answer as the OP.

Using Mint 15 on an EPC 900.

I found an answer here...
[url]http://forums.linuxmint.com/viewtopic.php?f=90&t=140167[/url]
Re: Caja Side Pane
Postby Spearmint2 on Sun Jul 21, 2013 8:13 am
You talking about the "Places" section? Things in the Places part appear in left pane of Caja too. That's found in the Preferences of the Menu.

I generally use the "gnome-like" menu on my top panel. I just right-clicked the mint-menu (lower-left corner) and found the Preferences item. Thats where the Places configuration is. This only covers the main items and not the user-space places like Docs, Picts, or Music still.

A partial answer looking for the rest....

caribriz
Level 5
Level 5
Posts: 938
Joined: Mon Nov 28, 2011 7:43 am

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by caribriz » Sat Nov 23, 2013 11:05 pm

This worked for caja in LM15 mate:

Go to home folder
Press Ctrl+H to show hidden folders
Open the folder .config
Make a copy of the file user-dirs.dirs

Open original file user-dirs.dirs
Edit the lines of each directory you want to remove, eg. to remove Music folder from sidebar, change the line
XDG_MUSIC_DIR="$HOME/Music"
to read:
XDG_MUSIC_DIR="$HOME"

Save the file

Open a terminal and enter:
xdg-user-dirs-gtk-update

May have to logout/in.
Caja-sidepane-after-edit.png
Note: I did this twice - first time worked perfectly.

The second time - Caja put the folders removed from "Computer" section in sidebar into "Bookmarks" section in sidebar - and there wasn't a bookmarks section
there before!
Easy fix - from caja menubar, click Bookmarks > Edit Bookmarks > click Remove to remove each folder - then the Bookmarks section was again
removed from caja's sidebar.

Originally from here - about Nautilus:
[url]http://askubuntu.com/a/152540[/url]
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 18.3 Cinnamon)

Thorium
Level 1
Level 1
Posts: 36
Joined: Wed Dec 11, 2013 11:03 am

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Thorium » Sat Dec 21, 2013 5:47 am

Hi,

I'am looking for some twicks as well.
I found that if you keep the key words in the user-dirs.dir configuration file you can add some mounted volume:

Code: Select all

XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_VIDEOS_DIR="$HOME"
XDG_VIDEOS_DIR="/Vol1"
XDG_PICTURES_DIR="/Vol2"
you will have in the Computer list
...
Music
Vol2
Vol1

Note that Vol2 is prior to Vol1 even if it is after in the conf file.
If you add

Code: Select all

XDG_VIDEOS_DIR="/Vol1"
XDG_VIDEOS_DIR="/Vol2"
you will get only the last one, Vol2.

1 - Now I a looking for a twick to remove Rubbish/Trash from the Place Panel. I think it is dangerous to have it here.
2 - How to move Bookmarks below Computer and Devices at the very bottom?
3 - How to add my /Volume mounted to the Computer list?
How can I do all that?

boyturtle
Level 1
Level 1
Posts: 1
Joined: Sun Nov 06, 2016 5:55 pm

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by boyturtle » Fri Jan 27, 2017 3:35 pm

Re: How to Remove Default Bookmarks from Caja Places Panel
Postby Thorium » Sat Dec 21, 2013 5:47 am

Hi,

I'am looking for some twicks as well.
I found that if you keep the key words in the user-dirs.dir configuration file you can add some mounted volume:
CODE: SELECT ALL
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_VIDEOS_DIR="$HOME"
XDG_VIDEOS_DIR="/Vol1"
XDG_PICTURES_DIR="/Vol2"

you will have in the Computer list
...
Music
Vol2
Vol1

Note that Vol2 is prior to Vol1 even if it is after in the conf file.
If you add
CODE: SELECT ALL
XDG_VIDEOS_DIR="/Vol1"
XDG_VIDEOS_DIR="/Vol2"

you will get only the last one, Vol2.

1 - Now I a looking for a twick to remove Rubbish/Trash from the Place Panel. I think it is dangerous to have it here.
2 - How to move Bookmarks below Computer and Devices at the very bottom?
3 - How to add my /Volume mounted to the Computer list?
How can I do all that?
Thanks, that worked for me :D

User avatar
LinWinux
Level 4
Level 4
Posts: 267
Joined: Fri Aug 30, 2013 9:04 pm
Location: East Coast

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by LinWinux » Sun Jan 13, 2019 9:54 am

Excellent. Tried this with both Mint 18 and Mint 19 without any problems. :D I've been utilizing XFCE for years, with Caja pulled into the XFCE desktop since that's the only file manager with instant audio previews, simply by hovering the mouse over a song. These days many people have ssd drives just for their os stuff, while keeping the larger block of data on either separate partitions or other drives altogether. For those of us who do this, it's pretty silly to have default bookmarks for which we have absolutely no use ... as well as our own, obviously to us more important bookmarks, which we use every day.
PLEASE ... Don't respond to questions with meaningless or thoughtless comments!
PLEASE ... Help others, don't be lazy! Take a moment to mark your post SOLVED if you received a solution.

Post Reply

Return to “MATE”