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