It is currently Mon May 22, 2017 11:23 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: automount-antix system
PostPosted: Fri Jan 27, 2017 4:26 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2130
So looking at the current automount system, I see skidoo's very valid point that spacefm desktop will still automount if that desktop is in use.

It is possible to set spacefm to not automount from the current automount-config gui, if folks think that is something it should do.

actually, it should probably be set to "always" not automount, which I can also do.

any thoughts?

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Fri Jan 27, 2017 6:45 pm 
Offline

Joined: Mon Apr 20, 2015 9:58 pm
Posts: 461
Location: Sheboygan, WI
I prefer AntiX just the way it comes installed. And the auto mount get used quite a bit.


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Fri Jan 27, 2017 7:59 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
If automount is set to off I would expect it to be off in all situations. If it is set to on, then on. I may be biased in this though trying to keep consistency among the desktops via menus, startup, wallpaper utility, etc... I would consider a automount utility in the same category as the wallpaper app.

_________________
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Sat Jan 28, 2017 3:28 pm 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
dolphin_oracle wrote:
So looking at the current automount system, I see skidoo's very valid point that spacefm desktop will still automount if that desktop is in use.
I do not know where the comments were made so the following do not draw from them.

In very generalised terms the Control Centre is often seen as controling "system type" settings. In that case I would favour on/off automount to also be system wide.

I dimly recall some mention in the past of antiX scripts that would benefit from having a central control point for (un)mounting (partitioning?). Perhaps there might be an opportunity to do it now if it is still relevant.


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Sat Jan 28, 2017 8:33 pm 
Offline
User avatar

Joined: Thu Jul 26, 2012 9:46 pm
Posts: 726
Location: Surrey/Hants Border UK
I would prefer automount default to off, as it can get very annoying when partitioning drives ready for installing. :)

_________________
Linux (& BSD) since 1999.
(Now also ukuleles & harmonicas.)


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Sat Jan 28, 2017 9:20 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1136
Quote:
prefer [spacefm] automount default to off, as it can get very annoying when partitioning drives ready for installing
I agree -- in order to preclude confusion, spacefm automount default should be set to "off".
For me, while betatesting the live-usb-maker script, the (by default, spacefm forced automount) effect was maddening.

Quote:
It is possible to set spacefm to not automount from the current automount-config gui
You've found a magic bullet? When I investigated, my takeaway was:

spacefm, when launched, reads automount directive from its preferences file.
For an "enhanced" controlCentre utility script to be effective in editing the spacefm preferences file,
it would need to "killall spacefm" before writing to the spacefm prefs file
(or refuse to proceed, prompting the user to manually close all running spacefm instances).
A further complication: detecting/handling case where "spacefm -d" is currently managing the desktop

In any event, editing that prefs file (even if it is not locked / in use) is probably inadvisable.
(fileS plural. See the list below. Separate files are referenced by sudo-launched instances of spacefm)
Careful, don't wreck the session, session-last, session-prior spacefm files!

A possible approach would be to customize spacefm's default .../hand_fs_+def pathed scripts,
but IMO that would just shift (and further compound) spacefm users' confusion regarding automount governance.
Code:
/etc/skel/.config/spacefm/session
/etc/spacefm/demo-as-root
/etc/spacefm/spacefm.conf
/home/demo/.config/spacefm
/home/demo/.config/spacefm/desktop0
/home/demo/.config/spacefm/scripts
/home/demo/.config/spacefm/session
/home/demo/.config/spacefm/session-last
/home/demo/.config/spacefm/session-prior
/home/demo/.config/spacefm/scripts/hand_fs_+def
/home/demo/.config/spacefm/scripts/hand_fs_+def/hand-device-info.sh
/home/demo/.config/spacefm/scripts/hand_fs_+def/hand-device-mount.sh
/home/demo/.config/spacefm/scripts/hand_fs_+def/hand-device-unmount.sh
/root/.config/spacefm
/root/.config/spacefm/session
/root/.config/spacefm/session-last
/root/.config/spacefm/session-prior


Top
 Profile  
 
 Post subject: Re: automount-antix system
PostPosted: Sat Jan 28, 2017 10:08 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2130
A couple of points.

1. The current automount is run by the user.

2. The space desktop runs as user.

3. I know how to customize the session files. Antix 16.1 actually ships with a customer file. It needs some tweaks for the future now that it's been in action for a while, but it's a start. There is a /etc/xdg system for distro-specific changes. You can't do everything with them, but you can do a lot.

4. I've been experimenting with just what you suggest...killing spacefm and restarting. I think I can do it without killing the session files after reading up on how they work.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
suspicion-preferred