From 498bf8bebbba92ba96619f51be95ef341d25bdf0 Mon Sep 17 00:00:00 2001 From: curben Date: Tue, 2 Oct 2018 17:59:02 +0930 Subject: [PATCH] Create 'Hide folders of Caja side pane' post --- source/_posts/hide-folders-caja-side-pane.md | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/_posts/hide-folders-caja-side-pane.md diff --git a/source/_posts/hide-folders-caja-side-pane.md b/source/_posts/hide-folders-caja-side-pane.md new file mode 100644 index 0000000..12a5c5e --- /dev/null +++ b/source/_posts/hide-folders-caja-side-pane.md @@ -0,0 +1,29 @@ +--- +title: Hide folders of Caja side pane +date: 2018-10-02 00:00:00 +tags: +--- +Caja is a file manager originally forked from Nautilus. It's used in MATE desktop environment, found in Ubuntu MATE or Linux Mint. Since it shares similar base with Nautilus, following guide also applies to Nautilus too (I haven't tested it though). + +The side pane of Caja shows many media folders by default. You might not have all the media types or not important enough to bookmark it. + +{% cloudinary 20181002/caja-side-pane.png %} +*from github [issue](https://github.com/mate-desktop/caja/issues/480).* + +You can hide some folder through `~/.config/user-dirs.dirs` or `/home//.config/user-dirs.dirs` (you need to show hidden file/folder if you're going to browse through Caja). + +Default config: +``` +XDG_DESKTOP_DIR="$HOME/Desktop" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_TEMPLATES_DIR="$HOME/Templates" +XDG_PUBLICSHARE_DIR="$HOME/Public" +XDG_DOCUMENTS_DIR="$HOME/Documents" +XDG_MUSIC_DIR="$HOME/Music" +XDG_PICTURES_DIR="$HOME/Pictures" +XDG_VIDEOS_DIR="$HOME/Videos" +``` + +To hide the Videos folder, simply edit the line to `XDG_VIDEOS_DIR="$HOME"`. Repeat this for other folders. + +Re-launch Caja. Those folders will show up under Bookmarks, instead of Computer. Hide them by right click > Remove.