Re: GWorkspace: icons shown on the Desktop even without any plugged device

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <[email protected]>
Hi,

Patrick Cardona wrote:
> Hello,
>
> - I set the relevant lines with UUID in /etc/fstab:
>
> UUID=793050c4-7577-4f65-9877-596c21d21311 /mnt/CRUCIAL ext4 
> defaults,noauto,users,rw,nofail 0 0
> UUID=5B74-A562 /mnt/CLEPAT vfat defaults,noauto,users,rw,nofail 0 0
>
> - I added and set the mount points '/mnt/CRUCIAL' ans '/mnt/CLEPAT' in 
> 'SystemPreferences/Volumes';
> - When a disk is plugged, I can open the relevant View to browse the 
> disk contents from the icon shown on the desktop and unmount it with 
> DND on the Recycler: this is the expected behaviour and it works fine.

That's a good thing then.
If you unmount them do they disappear from desktop?

>
> But it happens that, even without any plugged device, the menu 
> 'Tools/Check Disks... (#E)' still shows all the device icons like in 
> the following screenshot:

What do you mean. The menu doesn't "show" anything it just checks, if 
something is mounted it will show in the tree and optionally on the desktop.

Do you mean that you run "check" and you have nothing plugged in and 
they show on the desktop?
Do they show without check? Could happen if you have an automounter.

> Why?

Hard to say, there are many things that come into play. The code tries 
to accomodate many potential different setups and sometimes fails.

> Something to change in /etc/fstab?

I don't think so. If things mount, fstab is file.

> An issue in SystemPreferences or in GWorkspace?
> A missing DBus message?

As far as I know, no DBus is used. GWorkspace builds on top of base, 
where most of the code resides. SystemPreferences just sets some hints 
in terms of Preferences.
Mounted things should appear in  your tree and be browsable whatever 
settings are there
SystemPreferences just helps you to ignore certain mounts and define 
certain mounts as removable. On certain OSs and setups this should be 
automatic.

Do you have /etc/mtab ? If it exists, things are greatly simplifed since 
it is used. Check that the path is correct.

Riccardo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.