Page 1 of 1

How to automount drives?

Posted: Tue Mar 05, 2013 9:26
by chasha420
Hi guys, I know this might be a stupid question...but I'm on a new install of openbox...I started off from the mate install of sabayon & got everything up from scratch again.

The thing I'm having difficulty right now is that my drives are not showing up on the filemanager and I dunno which service I need to enable on startup that would automatically detect drives and mount them for me.

I have tried all different filemanagers from pcmanfm to nautilus etc. but all of them have the same problem...but I can see that the usb drives or even external hard drives are detected cos it shows up in the list when I do fdisk -l

Okay and this is the openbox autostart script

Code: Select all

## Openbox autostart.sh
## ====================
## When you login to your CrunchBang Openbox session, this autostart script 
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
## XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://crunchbang.org/forums/
##
## Have fun & happy CrunchBangin'! :)

## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour
hsetroot -solid "#2E3436" &
tilda &
## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor - start
## 3. sleep - give compositor time to start
## 4. tint2 panel
(\
nitrogen --restore && \
cb-compositor --start && \
sleep 2s && \
tint2 \
) &

## Volume control for systray
(sleep 2s && pnmixer) &

## Volume keys daemon
#mate-volume-control &
mate-volume-control-appet &
## Enable power management
xfce4-power-manager &

/usr/libexec/gnome-fallback-mount-helper &

## Start Thunar Daemon
thunar --daemon &
## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
fi

## Start xscreensaver
xscreensaver -no-splash &

## Start Clipboard manager
(sleep 3s && clipit) &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &

## Turn on/off system beep
xset b off &

## Run the conky
conky -q &
Thanks.

Re: How to automount drives?

Posted: Tue Mar 05, 2013 16:31
by Ryuno-Ki
Some catchwords to search with: Sorry, but I am in a hurry at the moment :-?

Re: How to automount drives?

Posted: Tue Mar 05, 2013 20:46
by chasha420
@Ryuno-Ki thanks for the pointers, but one thing I want to mention is that the disks like USB or external hard drives have been detected but don't show up in any of the filemanagers...perhaps it has something to do with a daemon?

Re: How to automount drives?

Posted: Tue Mar 05, 2013 20:59
by sabayonino
Hi.

I think dbus-launch is missing .

http://wiki.gentoo.org/wiki/Openbox could help you

Re: How to automount drives?

Posted: Tue Mar 05, 2013 22:05
by chasha420
sabayonino wrote:Hi.

I think dbus-launch is missing .

http://wiki.gentoo.org/wiki/Openbox could help you
Thanks for the link man, dbus-launch is already there & it doesn't make a difference. Meanwhile I'll keep on looking.. :|

Re: How to automount drives?

Posted: Wed Mar 06, 2013 16:25
by colock
maybe it's worth checking out sys-fs/udisks as well?

Re: How to automount drives?

Posted: Wed Mar 06, 2013 23:53
by chasha420
colock wrote:maybe it's worth checking out sys-fs/udisks as well?
Via udisks I'm able to mount the drives and then they show up in the filemanager...but other than that...it doesn't....which is the problem here..

Re: How to automount drives?

Posted: Thu Mar 07, 2013 0:45
by Matte88
Maybe gnome-base/gvfs is what you need. Dunno why, but I found this.

Re: How to automount drives?

Posted: Fri Mar 08, 2013 20:01
by chasha420
Matte88 wrote:Maybe gnome-base/gvfs is what you need. Dunno why, but I found this.
Thanks but gvfs is installed and running...but what I found out recently is that when I log back into mate install...the automounting problems disappear...so there's a high probability that I'm missing service or something that isn't automatically started.

But anyway I'll keep looking cos I can never give up openbox :)

Re: How to automount drives?

Posted: Sat Mar 23, 2013 10:13
by lionhater
Have you tried SpaceFM with udevil?