Prev: No standby from KDE
Next: .txz viewer?
From: Mike Jones on 13 Feb 2010 06:02 Responding to gabriel: > On Thu, 11 Feb 2010 16:36:24 +0000, Mike Jones wrote: > >> I'm dumping Xfce for IceWM, and have hit a snag with mounting USB >> items. >> >> While I can fish around and find a /dev/???? to manually mount >> something, HAL (or something related) occasionally "claims" that >> resource (residual data from a previous device, apparently?) leaving my >> scripts spinning their wheels every so often looking for a fixed >> resource that has been moved. >> >> What (I think) I need to do is find a way to kick HAL into action from >> the command line, as it seems to mount things it "finds" on the next >> available /dev/??? (or even generate one on demand?) based on records >> it keeps about the "devices" it has "experienced". >> >> While I've still got Thunar available, I can launch that and HAL-mount >> an MP3-player (for example) from there, but the new systems won't have >> Thunar as its part of the Xfce that won't be included. >> >> How would I go about jump-starting HAL from a bash-prompt\command-line? > > Do you know skvm? > http://tools.suckless.org/skvm > It's a deamon based on hal and dbus that detect new usb devices, add an > entry to /etc/fstab and mount them. The only bad thing is that the > device is mounted as root, so that you won't have write permission. But > you can umount, remount it as a normal user. Hmmm... QUOTE=> To customize skvm to suit your needs, the source file needs to be modified, this keeps it fast, secure and simple. Looks a bit "high maintenance" for me. :( -- *=( http://www.thedailymash.co.uk/ *=( For all your UK news needs.
From: gabriel on 13 Feb 2010 17:02 On Sat, 13 Feb 2010 11:02:10 +0000, Mike Jones wrote: >> >> Do you know skvm? >> http://tools.suckless.org/skvm >> It's a deamon based on hal and dbus that detect new usb devices, add an >> entry to /etc/fstab and mount them. The only bad thing is that the >> device is mounted as root, so that you won't have write permission. But >> you can umount, remount it as a normal user. > > > Hmmm... > > QUOTE=> To customize skvm to suit your needs, the source file needs to > be modified, this keeps it fast, secure and simple. > > Looks a bit "high maintenance" for me. :( Yeah I know. That statement seems to be mandatory for every projects hosted on suckless.org. :) Works fine here without editing the sources.
From: Mike Jones on 13 Feb 2010 20:08
Responding to gabriel: > On Sat, 13 Feb 2010 11:02:10 +0000, Mike Jones wrote: > > >>> Do you know skvm? >>> http://tools.suckless.org/skvm >>> It's a deamon based on hal and dbus that detect new usb devices, add >>> an entry to /etc/fstab and mount them. The only bad thing is that the >>> device is mounted as root, so that you won't have write permission. >>> But you can umount, remount it as a normal user. >> >> >> Hmmm... >> >> QUOTE=> To customize skvm to suit your needs, the source file needs to >> be modified, this keeps it fast, secure and simple. >> >> Looks a bit "high maintenance" for me. :( > > Yeah I know. That statement seems to be mandatory for every projects > hosted on suckless.org. :) > Works fine here without editing the sources. I think I'll keep looking. ;) -- *=( http://www.thedailymash.co.uk/ *=( For all your UK news needs. |