You are not logged in.

#1 2018-01-15 14:27:07

Yann
Member
Registered: 2017-11-23
Posts: 235

PCManFM manages sidebar display for "bind" mountings

Hi everyone,

I have an archlinux system, I use pcmanfm-gtk3 1.2.5-2 as file manager.

This is my /etc/fstab file:
UUID=2522-XXXX-41ea /mnt/data ext4 defaults 0 1
/mnt/data/musics /home/yann/musics none bind 0 0
/mnt/data/pictures /home/yann/pictures none bind 0 0
/mnt/data/programming /home/yann/programming none bind 0 0
/mnt/data/videos /home/yann/videos none bind 0 0

Everything works fine with the mountings. My issue is that PCManFM displays in its sidebar "100 GB Volume" for every "bind" mount.

Like this:
100 GB Volume
100 GB Volume
100 GB Volume
100 GB Volume

I would like it to display the name of the bind mounts, such as "videos", "pictures", etc.

I discovered the x-gvfs-show solution but it doesn't solve my problem.

Here are some notable points:
I tried the following configurations:

/mnt/data/videos /home/yann/videos none bind,x-gvfs-show 0 0 --> no effect

/mnt/data/videos /home/yann/videos none bind,comment=x-gvfs-show 0 0 --> no effect

/mnt/data/videos /home/yann/videos none bind,gvfs-show 0 0 --> no effect

/mnt/data/videos /home/yann/videos none bind,comment=gvfs-show 0 0 --> no effect

/mnt/data/videos /home/yann/videos none x-gvfs-show 0 0 --> failed at boot (needs "bind" apparently)



One interesting point is that if I boot with normal mountings:
/mnt/data/videos /home/yann/videos none bind 0 0

Of course, it boots well AND THEN I modify the /etc/fstab file with:

/mnt/data/videos /home/yann/videos none x-gvfs-show 0 0

Then PCManFM displays it as I want:

100 GB Volume
100 GB Volume
videos
100 GB Volume

Is it a bug as I read on some posts? Why can't I set:
/mnt/data/videos /home/yann/videos none bind,x-gvfs-show 0 0

Is there a way to use x-gvfs-show at post boot when the binds are set?

After a long time with no success, I tried to simply hide them in PCManFM, but I found the same problem, I can not set:
/mnt/data/videos /home/yann/videos none bind,x-gvfs-hide 0 0

Does someone have an idea?

Thank you for your time.


all different - all equal

Offline

Board footer

Powered by FluxBB