Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pcmanfm - removable devices not mounting and showing up
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2314
Location: Bretagne

PostPosted: Sat Nov 23, 2024 5:21 pm    Post subject: pcmanfm - removable devices not mounting and showing up Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3898

PostPosted: Sat Nov 23, 2024 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3898

PostPosted: Sun Nov 24, 2024 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3898

PostPosted: Sun Nov 24, 2024 12:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2314
Location: Bretagne

PostPosted: Sun Nov 24, 2024 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3898

PostPosted: Sun Nov 24, 2024 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2314
Location: Bretagne

PostPosted: Sun Nov 24, 2024 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum