special filesystems like shm and proc show up in filemanager like thunar or caja

Added by Angelo Machils 3 months ago

I have installed Calculate Linux Scratch with DWM as my wm of choice. When I install a GUI file-manager like Thunar or Caja (or any other I guess) AND in the 'save as' dialog in webbrowsers, I can see special filesystems like shm and proc as devices. How can I disable them from showing, as they as rather irritating, but sometimes also 'hang' the complete system when chosen. Is there a package I need to install or just some setting? I've tried with udev rules, but as these are not 'real' devices, I haven't had much luck with this.

Can anyone shed some light and/or point me in the right direction.

Regards,

Angelo


Replies (3)

RE: special filesystems like shm and proc show up in filemanager like thunar or caja - Added by Alexander Tratsevskiy 3 months ago

How much I understand when saving files from the browser you are offered the default "/"?

Try to create a "~/.config/user-dirs.dirs" file with the following contents:

XDG_DESKTOP_DIR="/home/guest/Desktop" 
XDG_DOCUMENTS_DIR="/home/guest/Documents" 
XDG_DOWNLOAD_DIR="/home/guest/Downloads" 
XDG_MUSIC_DIR="/home/guest/Music" 
XDG_PICTURES_DIR="/home/guest/Pictures" 
XDG_PUBLICSHARE_DIR="/home/guest/Public" 
XDG_TEMPLATES_DIR="/home/guest/Templates" 
XDG_VIDEOS_DIR="/home/guest/Videos" 

RE: special filesystems like shm and proc show up in filemanager like thunar or caja - Added by Angelo Machils 3 months ago

Hello,

That's not quite I mean. Please have a look at this screenshot: https://imagebin.ca/v/3QNcltdP8a99

As you can see, on the left hand side, which should only have my 'real' filesystem and my directories, there are also entries for 'proc' and 'shm'.

Regards,

Angelo

RE: special filesystems like shm and proc show up in filemanager like thunar or caja - Added by Angelo Machils 2 months ago

Alexander Tratsevskiy wrote:

How much I understand when saving files from the browser you are offered the default "/"?


Try to create a "~/.config/user-dirs.dirs" file with the following contents:
[...]

Well, found it (took a while though). I needed to install gvfs manually. That's why with some experiments I wouldn't see these directories, but most of the times I would. Some test would install this gvfs automatically, but when I tried something else and did an emerge -C, it would get de-installed again......

Regards,

Angelo Machils

(1-3/3)

Thank you!