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

Patrick Cardona <[email protected]>
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <06b13231a1569baf20f9d4d66e07aaf0@pi400>
On 2025-10-31 17:00:43 +0100 Riccardo Mottola 
<[email protected]> wrote:

> Hi Patrick,
> 
> sorry it is taking so long, I am trying to understand what is going 
> on at 
> your side!

Do not be sorry, I had family at home, so I was long too... ;-)

> 
> Patrick Cardona wrote:
> 
>> Before You asked, I tought I did not, but as I searched in the 
>> installed 
>> packages list, I found "udisks2" and its libraries was installed, so 
>> I 
>> guess this is a dependency side effect, but not in the list I was 
>> aware 
>> when building AGNoStep Desktop.
> 
> 
> Is it "interfering" somehow? if you insert something will it show in 
> /etc/mtab? I will mount disks usually automatically in a different 
> place, 
> e.g. /usr/media or /media?
> 
> I was able to get GWorkspace get along with an automounter too, but 
> it is a 
> bit different and each time a different tweak.

I did not see any change in /etc/mtab unless I did myself a mounting 
action. I think 'udisks2' is there to inteact with GTK or KDE desktops 
with DBus explicit queries:
Althougt I use DBusKit for the notifications with SimpleAgenda, I do 
not know any other GNUstep application using it.
See: 
https://documentation.ubuntu.com/core/explanation/system-snaps/udisks2/

...

> 
> 
>> The disk CRUCIAL is not plugged.
> 
>> patrick@pi400:~ $ cat /etc/mtab | grep -e "/mnt/CRUCIAL"
>> patrick@pi400:~ $ echo $?
>> 1
> 

Nothing found.

> 
>> Plugging the CRUCIAL disk.
>> Shortcut #E
>> The two disks icons (CRUCIAL and CLEPAT) are shown on the Desktop.
> 
> That is a mystery.
> 
> Please check SystemPreferences Volumes.
> 
> - under reserved mount types you should have just system stuff: proc, 
> shm and 
> suc suff. I also have usbdevfs (don't remember what it is)

Reserved mount types are:
proc
devpts
shm
usbdevfs
devpts (weird: twice!)
sysfs
tmpfs


> - under removable media you should have only /mnt/CRUCIAL and 
> /mnt/CLEPAT

That is the case.

> 
> then you should have /etc/mtab set

mtab path is:
/etc/mtab

> 
> I have a doubt: what are CRUCIAL and CLEPAT ? two USB disks ? are the 
> UUID 
> correct?

Yes, because they should not mount nor let see contents with bad UUID.

> 
> Question other way around. If you use just a command line and do 
> mount, if 
> you plug in one or the other, do they land correctly in the 
> respective mount 
> points?

Yes.

- CRUCIAL is a SATA BX500 2.5 SSD disk, mounted with a Sabrent SSD TO 
USB 3.0 adaptator.

Manually mounting from a shell after the disk was plugged:

$> mount /mnt/CRUCIAL
The relevant icon disk is shown by itself on the Desktop (and only 
this icon): I did not have to use #E.
Browsing the content is ok.

Unmounting from the shell:

$> umount /mnt/CRUCIAL
The relevant icon disk desappeared from the Desktop: again, I did not 
have to use #E.

- CLEPAT is a USB stick.

Manually mounting from a shell after the stick was plugged:

$> mount /mnt/CLEPAT

The relevant icon disk is shown by itself on the Desktop (and only 
this icon): I did not have to use #E.
Browsing the content is ok.

Unmounting from the shell:

$> umount /mnt/CLEPAT

The relevant icon disk desappeared from the Desktop: again, I did not 
have to use #E.


Cheers,
Patrick

-- 
Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP 
- MUA: GNUMail (1.4.0)
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.