Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-06-09 08:12:39

brunoais
Member
Registered: 2018-08-19
Posts: 9

[Thunar] Hide tmpfs mounts from DEVICES column

I created entries in fstab that look like so:

tmpfs /home/user/path/to/target tmpfs   noauto,user,nofail,relatime,async,exec,lazytime,rw,mode=0777,size=200m  0  0

These fstab entries work as intended except that thunar lists all of them in the Devices creating an unpleasant sight
Screenshot-2020-06-09-09-00-07.png

I have seen archlinux's guide but this seems to work only for block devices, not for "ad oc" mounts like these tmpfs ones.

I created a file at "/etc/udev/rules.d/80-user.hide-drives.rules" with:

KERNEL=="target", ENV{UDISKS_IGNORE}="1"
KERNEL=="tmpfs", ENV{UDISKS_IGNORE}="1"

But it seems like this isn't isn't the right configuration.

I'm using xfce 4.12 on xubuntu 18.04 (cannot update yet to 20.04 for logistic reasons)

Is there any special handling for tmpfs to achieve this?

Offline

#2 2020-06-09 10:43:51

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,488

Re: [Thunar] Hide tmpfs mounts from DEVICES column

In Thunar you can right-click on Devices and selectively choose which ones to display. Does this help to hide them?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-06-09 11:57:48

brunoais
Member
Registered: 2018-08-19
Posts: 9

Re: [Thunar] Hide tmpfs mounts from DEVICES column

Oh! The devices title! I didn't notice that. Thank you.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 522.38 KiB (Peak: 524.02 KiB) ]