How to Remove Default Bookmarks from Caja Places Panel

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
edwin11

How to Remove Default Bookmarks from Caja Places Panel

Post by edwin11 »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Gwaro

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Gwaro »

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.
jaderiver
Level 3
Level 3
Posts: 109
Joined: Wed Jun 27, 2012 1:43 pm
Location: Oregon Coast

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by jaderiver »

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 21.2 MATE Victoria No longer dualbooting WIN 7 and surviving
T-Mobile 5G or 4GLTE hotspot
; WiFi/Tether to Android hotspot
Zenxos

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Zenxos »

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

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by caribriz »

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]
Thorium

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by Thorium »

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

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by boyturtle »

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: 335
Joined: Fri Aug 30, 2013 9:04 pm
Location: East Coast

Re: How to Remove Default Bookmarks from Caja Places Panel

Post by LinWinux »

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.
Locked

Return to “MATE”