It is currently Sat May 27, 2017 4:29 am



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  [ 11 posts ] 
Author Message
 Post subject: automounting devices
PostPosted: Sun May 29, 2016 12:15 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
There have been comments/suggestions that an installed antiX should automount devices (internal and external) automatically.

Spacefm desktop does this automatically, rox-desktop does not.
Using spacefm file-manager does this automatically even when using rox-desktop.

Some users do not like have their devices automounted (especially internal)

Here are the options.

1. Do nothing and point users to docs to set up automount (present policy)
2. Default to Spacefm-IceWM
3. Default to rox-IceWM, but with spacefm as default file-manager
4. Since startup in desktop-session now has a devmon rule to open external devices (commented), use this with default rox-desktop. Have this set to open rox by default?
5. others?

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 1:31 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2131
I think the main issue is not really the automounting, its that the devices do not appear in rox-filer unless they are mounted or defined in fstab.

spacefm (and thunar in mx-15) does automount external devices, but does not automount internal devices. However, both list them in the shortcut pane on the left panels, making mounting relatively trivial. but rox-filer is blissfully unaware of external usb devices until they are mounted (no mount points).

I haven't seen the devmon rule that is included by default. Its not on beta5. But the one I posted in the wiki articile will open removable media in the default file manager as defined by desktop-defaults, which seems appropriate to me.

To me, not automounting internal devices is fine, even standard. But I think that the vast majority of people that stick a usb stick or an external usb hard drive into their port would like to see that device mounted, whether a file manager window pops open or not.

_________________
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: automounting devices
PostPosted: Sun May 29, 2016 1:32 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5804
Location: Greece
On the lenovo s21e netbook and in VBox, space-icewm uses less RAM than rox-icewm.
I'm very tempted to set this as the default.

Should spacefm and space desktop use single or double click? Personally I prefer single click.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 1:48 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
+1 for single click

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


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 2:02 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 134
Location: Berkshire, UK
I always change to space-icewm straight after an install.

My preference is for double-click (my MS roots are showing!), but I don't think the default is too important.

Chris


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 3:17 pm 
Offline

Joined: Mon Apr 20, 2015 9:58 pm
Posts: 462
Location: Sheboygan, WI
Quote:
spacefm (and thunar in mx-15) does automount external devices, but does not automount internal devices. However, both list them in the shortcut pane on the left panels, making mounting relatively trivial. but rox-filer is blissfully unaware of external usb devices until they are mounted (no mount points).


Let me change what I had originally posted about automount as I had worded it wrong.

The ease to mount internal devices has always been my complaint. But thanks to d_o's quote above, I can now get around what looked like a major insurmountable problem to me and I bet for a lot of other folks also .

Took a couple years to find that out.


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 3:30 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
To clarify make-fstab will make an appropriate fstab file for whatever is plugged in to the system at the time make-fstab is run correct?

So if we ran make-fstab on boot up this should give us all the internal / permanent partitions /drives a corresponding entry in fstab and therefor a mount point in rox. Is this correct?

Then if we have the devmon entry from D.O.'s Wiki entry for anything added to the system thereafter. (DVD, usb, etc)
That should follow the file manager as chosen by the user and I believe devmon is a separate package from spacefm (udevil I think) so that there is no depends on spacefm if wanting to use rox-desktop.

Maybe then a small yad utility in the control center to enable / disable both, enable / disable on boot up, enable / disable while running?

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


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 3:59 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2131
Dave wrote:
To clarify make-fstab will make an appropriate fstab file for whatever is plugged in to the system at the time make-fstab is run correct?

So if we ran make-fstab on boot up this should give us all the internal / permanent partitions /drives a corresponding entry in fstab and therefor a mount point in rox. Is this correct?

Then if we have the devmon entry from D.O.'s Wiki entry for anything added to the system thereafter. (DVD, usb, etc)
That should follow the file manager as chosen by the user and I believe devmon is a separate package from spacefm (udevil I think) so that there is no depends on spacefm if wanting to use rox-desktop.

Maybe then a small yad utility in the control center to enable / disable both, enable / disable on boot up, enable / disable while running?


I'm not real sure how make-fstab works (custom entries wiped out or preserved), but generally that's already been done by the live system and carries over on install anyway, especially now that the script handles internal eMMC devices.

note that if you eliminate the --exec-on-XXX options from the devmon command, devices will still automount but no filemanager window will open.

_________________
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: automounting devices
PostPosted: Sun May 29, 2016 6:47 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
Dave wrote:
So if we ran make-fstab on boot up this should give us all the internal / permanent partitions /drives a corresponding entry in fstab and therefor a mount point in rox. Is this correct?

We don't run make-fstab on installed systems. It runs at boot-time on the live system and is run during the install process to set up the fstab file. When make-fstab is run during the install process, it only adds fstab entries for devices that are mounted under /mnt/antiX. For example, if a partition is mounted at /mnt/antiX/home then it will show up in the new fstab at /home.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: automounting devices
PostPosted: Sun May 29, 2016 8:34 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2131
I'm thinking a script that runs no matter the desktop (maybe even without a desktop) and checks a configuration file to see if the automounting should actually happen. and a gui configuration tool something like the attached.


Attachments:
screenshot.jpg
screenshot.jpg [ 23.59 KiB | Viewed 1529 times ]

_________________
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: automounting devices
PostPosted: Mon May 30, 2016 11:55 am 
Offline

Joined: Sun Aug 21, 2011 10:59 am
Posts: 994
anticapitalista wrote:
Some users do not like have their devices automounted (especially internal)
This is one of those circumstances where either choice will delight some people and disappoint others. Probably the best than can be achieved is to place the focus on usability. That will enable each user to adopt whatever suits their way of working.

Primary Goals
  • Be independent of the file manager i.e. works equally with them all
  • Be operated via a GUI to avoid manually editing config files
  • Be managed through the Control Center to give a single point of set up for the account
  • Be Documented

Overall, it seems dolphin_oracle is heading in the right direction. These are pretty much spot on
dolphin_oracle wrote:
I think the main issue is not really the automounting, its that the devices do not appear in rox-filer unless they are mounted or defined in fstab.

spacefm (and thunar in mx-15) does automount external devices, but does not automount internal devices. However, both list them in the shortcut pane on the left panels, making mounting relatively trivial. but rox-filer is blissfully unaware of external usb devices until they are mounted (no mount points).
[...]
To me, not automounting internal devices is fine, even standard. But I think that the vast majority of people that stick a usb stick or an external usb hard drive into their port would like to see that device mounted, whether a file manager window pops open or not.
[...]
I'm thinking a script that runs no matter the desktop (maybe even without a desktop) and checks a configuration file to see if the automounting should actually happen. and a gui configuration tool something like the attached.


If number of clicks becomes relevant, my preference is for double click operation, because it is already a familiar action to a wide number of users.

On a broader aspect, might auto-mounting adversely affect some antiX scripts that expect to operate without a device mounted?. Perhaps they might benefit from being checked and potentially adjusted.


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


Who is online

Users browsing this forum: No registered users and 0 guests


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