automount FM options

The standard session manager used by LXDE - http://wiki.lxde.org/en/LXSession
Locked
luxy
Posts: 32
Joined: Mon Oct 16, 2017 8:04 am

automount FM options

Post by luxy »

Hi,

I have installed XFE as filemanager but always get PCmanFM when I plug in a USB device.

It seems that it is PCman volume management which is doing this and is easy to disactivate but is there a way to get xfe to open when a device is plugged?


TIA.

seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: automount FM options

Post by seppalta »

Here is what the developer posted in 2012: "xfe can mount or unmount disks, but it's only *manually*, assuming you have all the stuff in your fstab file." See https://ubuntuforums.org/showthread.php?t=2096007 for more about his statement.

Why do you prefer xfe to pcmanfm? Xfe is very heavy and brings in other apps when you install it. See http://lxlinux.com/#2 for more about what you can do with pcmanfm.

drooly
Posts: 662
Joined: Mon Apr 08, 2013 6:45 am

Re: automount FM options

Post by drooly »

luxy wrote:It seems that it is PCman volume management which is doing this
is it?
if so, i suspect it is hardcoded to open pcmanfm as a filemanager. but don't take my word for it.
i don't think that xfe offers that sort of daemon mode.

it's possible to write a udev rule that gets executed whenever you insert a thumbdrive.
http://dt.iki.fi/udev/

luxy
Posts: 32
Joined: Mon Oct 16, 2017 8:04 am

Re: automount FM options

Post by luxy »

drooly wrote:
luxy wrote:It seems that it is PCman volume management which is doing this
is it?
if so, i suspect it is hardcoded to open pcmanfm as a filemanager. but don't take my word for it.
i don't think that xfe offers that sort of daemon mode.

it's possible to write a udev rule that gets executed whenever you insert a thumbdrive.
http://dt.iki.fi/udev/
It is not PCman which does the automount but it responds to it. Yes, it is hardcoded since it is a PCman option. This can be disabled from PCman as I indicated but not customised.

udev may be a route. I had not thought of that. Thanks.

luxy
Posts: 32
Joined: Mon Oct 16, 2017 8:04 am

Re: automount FM options

Post by luxy »

seppalta wrote:Here is what the developer posted in 2012: "xfe can mount or unmount disks, but it's only *manually*, assuming you have all the stuff in your fstab file." See https://ubuntuforums.org/showthread.php?t=2096007 for more about his statement.

Why do you prefer xfe to pcmanfm? Xfe is very heavy and brings in other apps when you install it. See http://lxlinux.com/#2 for more about what you can do with pcmanfm.

The main reason I can't stick PCman is it tries to force me to work with this stupid "places" paradigm. Sorry I'm old fashioned and like to see the file hierarchy tree as it is implemented not some stupid representation that threats me like retard and clutters the display with lots of "places" that I never use and won't show me what I do need.

If I configure PCman to display the tree, next time I plug in a device it has forgotten all about it and shows me the damned "places". I have to waste time reconfiguring all over again.

If it was not also implicated in the desktop display I would remove it.

drooly
Posts: 662
Joined: Mon Apr 08, 2013 6:45 am

Re: automount FM options

Post by drooly »

luxy wrote:The main reason I can't stick PCman is it tries to force me to work with this stupid "places" paradigm. Sorry I'm old fashioned and like to see the file hierarchy tree as it is implemented
like this?
Image
(it's pcmanfm)

luxy
Posts: 32
Joined: Mon Oct 16, 2017 8:04 am

Re: automount FM options

Post by luxy »

yes, like that.
If I configure PCman to display the tree, next time I plug in a device it has forgotten all about it and shows me the damned "places". I have to waste time reconfiguring all over again.

seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: automount FM options

Post by seppalta »

Check your pcmanfm config file, ~/.config/pcmanfm/default/pcmanfm.conf, to make sure it says side_pane_mode=Directory Tree. There is also a universal configuration file: /etc/xdg/pcmanfm/default/pcmanfm.conf. Try setting side_pane_mode=1 , or side_pane_mode=0.

Locked