View previous topic :: View next topic |
Author |
Message |
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sat Nov 23, 2024 5:21 pm Post subject: pcmanfm - removable devices not mounting and showing up |
|
|
Hello!
I'm using pcmanfm with LXDE.
I have udisks installed and globally enabled as USE flag.
Basically, I would just want to have my USB drives to automount and show up in pcmanfm window.
Let's grab an example with a USB drive, here's the fstab part:
Code: | /dev/kingston16G1 /mnt/usbdrive/kingston1 vfat rw,user 0 0 |
There, adding the "auto" option before "rw,user" doesn't change a thing
And this is my .xinitrc if that helps:
Code: | exec startlxde
xset -dpms
xset s off |
I still have to precise that in pcmanfm settings, all the relevant auto-mounting options are properly ticked.
Do we have pcmanfm users who could give me a clue about this, browsing arch and more documentation on the internet didn't help much.
Many thanks in advance for your help! |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3904
|
Posted: Sat Nov 23, 2024 11:50 pm Post subject: |
|
|
pcmanfm doesn't mount according to fstab.
Hence an example:
Inserting USB key triggers a popup menu to validate the mounting.
Once accepted, pcmanfm mounts volume(s) as; Code: | /run/media/user/UEFI_NTFS
/run/media/user/CCCOMA_X64FRE_FR-FR_DV9 | Plz note how volumes paths are relative to logged user.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3904
|
Posted: Sun Nov 24, 2024 12:05 am Post subject: |
|
|
Dependent packages details:
Code: | x11-libs/libfm
Available versions: (~)1.3.2-r1(0/5.3.1) {+automount debug doc examples exif gtk udisks vala}
Installed versions: 1.3.2-r1(0/5.3.1)(19:30:11 16/08/2024)(automount exif gtk udisks -debug -doc -examples -vala) |
Code: | [I] sys-fs/udisks
Available versions: (2) 2.9.4-r3 2.10.1 2.10.1-r1 [m]**2.10.90[1]
{acl +daemon debug elogind +introspection lvm nls selinux systemd vdo zram}
Installed versions: 2.10.1-r1(2)(02:10:17 22/10/2024)(daemon elogind -acl -debug -introspection -lvm -nls -selinux -systemd)
|
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3904
|
Posted: Sun Nov 24, 2024 12:24 am Post subject: |
|
|
U have problematic .xinitrc.
Any line beyond exec will not be executed.
Here Code: | exec dbus-launch --sh-syntax --exit-with-session startlxde | may be required for working USB automount.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sun Nov 24, 2024 5:50 pm Post subject: |
|
|
Thank you, dear CaptainBlood!
This seems in order:
Code: | [ebuild R ~] x11-libs/libfm-1.3.2-r1:0/5.3.1::gentoo USE="automount exif gtk udisks -debug -doc -examples -vala" 1 265 KiB
[ebuild R ] sys-fs/udisks-2.10.1-r1:2::gentoo USE="acl daemon elogind introspection nls -debug -lvm (-selinux) -systemd" 0 KiB |
And added to my .xinitrc
Code: | exec dbus-launch --sh-syntax --exit-with-session startlxde |
But nothing happens either when inserting a drive.
CaptainBlood wrote: | U have problematic .xinitrc.
Any line beyond exec will not be executed. |
You mean my xset lines are useless here or should be put before the exec line, right?
I forgot to mention something important: in the left panel of pcmanfm windows there is a "device" folder in which will appear removable drives inserted, I can see them as icons among other filesystems but if I try to click these I get an error message on a popup window: "The folder "computer:///<mydrive>.drive" indicated is not valid". Can't open it. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3904
|
Posted: Sun Nov 24, 2024 6:17 pm Post subject: |
|
|
Adrien wrote: | CaptainBlood wrote: | U have problematic .xinitrc.
Any line beyond exec will not be executed. |
You mean my xset lines are useless here or should be put before the exec line, right? | Yes
Do you have any message in console 12 when you insert a drive?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Sun Nov 24, 2024 6:29 pm Post subject: |
|
|
CaptainBlood wrote: |
Do you have any message in console 12 when you insert a drive?
|
Nope, just a blinking cursor all the way.
But my device gets detected fine, I can manually mount and unmount as user or root. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3904
|
Posted: Mon Nov 25, 2024 2:06 pm Post subject: |
|
|
Oops; I forgot to mention this one Code: | eix gvfs
[I] gnome-base/gvfs
Available versions: 1.52.2^t ~1.52.3^t [m]~1.56.0^t[1] {afp archive bluray cdda elogind fuse gnome-online-accounts google gphoto2 +http ios keyring mtp nfs policykit samba systemd test +udev udisks zeroconf}
Installed versions: 1.52.2^t(04:32:31 28/06/2024)(elogind fuse policykit udev udisks -afp -archive -bluray -cdda -gnome-online-accounts -google -gphoto2 -http -ios -keyring -mtp -nfs -samba -systemd -test -zeroconf) |
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2315 Location: Bretagne
|
Posted: Tue Nov 26, 2024 5:54 am Post subject: |
|
|
Code: | [I] gnome-base/gvfs
Available versions: 1.52.2^t ~1.52.3^t {afp archive bluray cdda elogind fuse gnome-online-accounts google gphoto2 +http ios keyring mtp nfs policykit samba systemd test +udev udisks zeroconf}
Installed versions: 1.52.2^t(23:23:16 03/05/2024)(cdda elogind gphoto2 http policykit udev udisks -afp -archive -bluray -fuse -gnome-online-accounts -google -ios -keyring -mtp -nfs -samba -systemd -test -zeroconf) |
This seems correct too.
I may have to switch to another DE/WM...
Do you have any successful experience of using another file manager with lxde? May be complicated to set up, though. |
|
Back to top |
|
|
|