Re: GWorkspace: icons shown on the Desktop even without any plugged device
Patrick Cardona <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Message-ID | <8afcbe72455c8b7bd1d7acad1ea0fff0@pi400> |
Hi Riccardo, On 2025-10-28 13:20:28 +0100 Riccardo Mottola <[email protected]> wrote: > (...) > >> When an icon disk is really associated with a plugged and mounted >> disk, >> yes, the icon disappear after DND on the Recycler. > >> But if it is a "ghost" icon (the disk is not really plugged nor >> mounted) >> the DND fails (icon forbidden on the Recycler). The only way to >> remove fake >> icons is then to log out and log in again. > > > I tested and retested and couldn't reproduce this. > > I want to understand if these "ghost disks" exst or not and what > happens. The > system things they are mounted perhaps. > Do you have an automounter or similar? 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. > > First, without "checking". In the ghost disk status. > > Open a Terminal or shell. > > Check the content of /etc/mtab. Does it show /mnt/CRUCIAL ? The disk CRUCIAL is not plugged. patrick@pi400:~ $ cat /etc/mtab | grep -e "/mnt/CRUCIAL" patrick@pi400:~ $ echo $? 1 > If you do ls /mnt/CRUCIAL ? does it show contents or not? if you > execute it > twice and wait a couple of seconds in between? > If it shows at the second time, recheck mtab ls did not show anything. > > Use the file browser to go to /mnt/CRUCIAL > > Does it show empty or content? It is empty. > > > If you mount the disk by "check disks" does it show then min mtab? Or > does it > show in a different way than before it is was there before? Plugging the CRUCIAL disk. Shortcut #E The two disks icons (CRUCIAL and CLEPAT) are shown on the Desktop. patrick@pi400:~ $ cat /etc/mtab | grep -e "/mnt/" /dev/sda1 /mnt/CRUCIAL ext4 rw,nosuid,nodev,noexec,relatime 0 0 So /etc/mtab has a new line about the disk plugged. Nothing related to the ghost CLEPAT > And if you unmount it and disappears, what does mtab then show? Unmount CRUCIAL by DND on the Recycler Icon. Then: patrick@pi400:~ $ cat /etc/mtab | grep -e "/mnt/" patrick@pi400:~ $ echo $? 1 Now, only the ghost CLEPAT remains on the Desktop. 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)