Inappropriate entries in gtk3 save-as dialog

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
BarryK
Posts: 2167
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 514 times

Inappropriate entries in gtk3 save-as dialog

Post by BarryK »

This picture shows, running Firefox and save-as an image file:

firefox-save-as-dev.png
firefox-save-as-dev.png (13.95 KiB) Viewed 245 times

I posted about this to my blog:

https://bkhome.org/news/202112/all-down ... older.html

The question is, how to configure gtk3 so that those "proc", "pts", "shm" and "sys" are not displayed in the save-as dialog window?

User avatar
BarryK
Posts: 2167
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 514 times

Re: Inappropriate entries in gtk3 save-as dialog

Post by BarryK »

An update on this. Gtk3 reads /etc/fstab. This is my /etc/fstab:

Code: Select all

none          /proc        proc     defaults,noatime               0 0
none          /sys         sysfs    defaults,noatime               0 0
none          /dev/pts     devpts   gid=2,mode=620,noatime         0 0
shmfs         /dev/shm     tmpfs    defaults,noatime      0 0

If I comment-out one of those lines, by prepending a "#", it disappears from the gtk3 dialog window.
Or, change /etc/fstab to an empty file, they all disappear.

I could just get rid of /etc/fstab. For a very long time, from the days when I was building pups, then quirky, then easyos, I considered /etc/fstab to be deprecated. Don't need it, could drop it completely.

However, I would rather find out how to tell gtk3 not to read those entries.

jamesbond
Posts: 511
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 69 times
Been thanked: 275 times

Re: Inappropriate entries in gtk3 save-as dialog

Post by jamesbond »

Pass --disable-libmount to configure, when building glib.

User avatar
BarryK
Posts: 2167
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 514 times

Re: Inappropriate entries in gtk3 save-as dialog

Post by BarryK »

jamesbond wrote: Tue Dec 07, 2021 12:14 pm

Pass --disable-libmount to configure, when building glib.

Thanks for that info.
I reckon that I will just empty /etc/fstab. All of the mounting, /proc, /sys, etc., is fully specified and does not require /etc/fstab.

However, now that I know that the gtk3 save dialog reads /etc/fstab, if I ever want to have a mount point appear in the save dialog, then will just create an entry in /etc/fstab.

Post Reply

Return to “Users”