xu-irc67w | When is a plugged in USB stick represented by a USB drive icon and when by a Pendrive icon in the desktop? | 12:32 |
---|---|---|
xu-irc67w | I am using Xubuntu 20.04, XFCE | 12:33 |
xu-irc67w | On what does it depend? I have 2 sticks and their desktop icons differ but I don't know why | 12:36 |
xu-irc67w | Anyone? | 12:41 |
brainwash | xu-irc67w: got a screenshot? | 12:43 |
xu-irc67w | no | 12:44 |
xu-irc67w | where are those icons stored i will look them up | 12:44 |
brainwash | /usr/share/icons/ | 12:45 |
xu-irc67w | thx | 12:45 |
tomreyn | it may be a matter of how or whether file systems were detected on it | 12:45 |
brainwash | maybe doing a simple right-click > Properties could give a hint | 12:46 |
xu-irc67w | One stick seems to use drive-removable-media-usb.png | 12:49 |
xu-irc67w | The other stick as drive-harddisk-usb.png or gnome-dev-flashkey.png (same icon) | 12:51 |
xu-irc67w | Properties are the same | 12:53 |
xu-irc67w | both sticks have a single LUKS partition | 12:54 |
brainwash | xu-irc67w: my only guess would be that one of the devices has a fstab entry | 12:57 |
brainwash | and therefore is identified as hdd | 12:57 |
xu-irc67w | noops | 13:01 |
=== k3yp- is now known as k3yp | ||
diogenes_ | xu-irc67w, might depend on the driver deleted. | 13:02 |
xu-irc67w | one stick has partion id 7 (HPFS/NTFS/exFAT) the other e8 (LUKS) | 13:02 |
brainwash | there you have it | 13:03 |
xu-irc67w | but that is also not the cause, i changed the id to 7 and still it is displayed as a disk iso pendrive | 13:04 |
xu-irc67w | can you point me to the source code where the decision is made? | 13:06 |
brainwash | xu-irc67w: maybe here https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/gunixmounts.c#L2711 | 13:11 |
xu-irc67w | thx again, i will have a look | 13:13 |
brainwash | looks like xfdesktop specifies the icons too https://gitlab.xfce.org/xfce/xfdesktop/-/blob/master/settings/main.c#L425 | 13:14 |
brainwash | but that's for the settings dialog it seems | 13:16 |
=== k3yp- is now known as k3yp | ||
xu-irc67w | Source code doesn't help.Maybe the Product description of the usb device has influence. If I run the script usb-devices, one USB stick shows "Product=Voyager Go" and the misbehaving one shows "Product=Mass Storage Device". | 15:17 |
xu-irc67w | I am probably talking nonsense | 15:20 |
brainwash | what is your goal though? | 15:23 |
xu-irc67w | To understand it. I prefer the pendrive icon because that is more specific | 15:24 |
xu-irc67w | I tried some other usb sticks, some have the disk icon and others the pendrive icon | 15:26 |
brainwash | changing the type of the device may not be easy/possible | 15:27 |
xu-irc67w | I think you are right, I give up :-) | 15:28 |
brainwash | you could symlink the unwanted icon to its counterpart, but that is an ugly hack | 15:29 |
xu-irc67w | no indeed | 15:29 |
xu-irc67w | I just want to understand it, but give up for now | 15:30 |
xu-irc67w | thx for your help, cya | 15:30 |
brainwash | bye | 15:30 |
acagastya | Hi, where is the display server configurations (xinitrc?) located for xubuntu? | 16:43 |
acagastya | I have a frozen login screen, and I wondered if I can somehow use a different tool to get in (it also does not let me enter tty) | 16:44 |
diogenes_ | acagastya, /etc/X11/xinit/ | 16:47 |
acagastya | All right, looking. | 16:47 |
acagastya | Hm it points to /etc/X11/Xsession. | 16:55 |
acagastya | And this is how that file looks like: https://dpaste.com/97WGBL2QS | 16:55 |
acagastya | I can't seen to figure out which part controls the login window. | 16:56 |
diogenes_ | /etc/X11/default-display-manager | 16:57 |
acagastya | diogenes_: the problem arose when my colleague tried updating from 18.04 to 20.04 -- said the login screen is frozen and couldn't tty. Any idea if this is a known problem? | 17:01 |
diogenes_ | acagastya, a new user? | 17:02 |
acagastya | He has been using Xubuntu for years, but doesn't use terminal often. | 17:03 |
acagastya | He actually ran the GUI update. Right now, we are trying to use a live USB, and chrooting to hard drive seeing if we can fix this. | 17:05 |
diogenes_ | let him use a live usb and move all .dolders and .files from his /home/username to somewhere else. | 17:05 |
acagastya | Well that is a way -- asked him to rsync all files he needs to back up. | 17:06 |
acagastya | .dolders -- wait, you mean .folders? | 17:06 |
diogenes_ | yes and no chroot needed. | 17:07 |
acagastya | Is a fresh install necessary? | 17:08 |
acagastya | If possible, I would rather not have him go through installation again, and moving the files back. | 17:08 |
acagastya | But well, `/etc/X11/default-display-manager` points to `/usr/sbin/lightdm`. | 17:09 |
acagastya | What the heck. On my computer, I emptied `/etc/X11/default-display-manager` and it still works fine. | 17:17 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!