How to automount drives?

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

How to automount drives?

Postby chasha420 » Tue Mar 05, 2013 9:26

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.
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: How to automount drives?

Postby Ryuno-Ki » Tue Mar 05, 2013 16:31

Some catchwords to search with:

Sorry, but I am in a hurry at the moment :-?
HP-Pavilion ◆ AMD Athlon™ 64 Processor 4000+ ◆ GeForce 6150SE nForce 430 ◆ 1 GiB RAM
German Wiki translator ◆ Want to contribute on the wiki? Ask the Bureaucrats!
Please, mark solved threads ◆ Posts unread and unansweredPackage requests ◆ Sabayon XI with MATE
Ryuno-Ki
Technological Hen
 
Posts: 437
Joined: Mon Feb 27, 2012 22:15
Location: Southern Germany

Re: How to automount drives?

Postby chasha420 » Tue Mar 05, 2013 20:46

@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?
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null


Re: How to automount drives?

Postby chasha420 » Tue Mar 05, 2013 22:05

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.. :|
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: How to automount drives?

Postby colock » Wed Mar 06, 2013 16:25

maybe it's worth checking out sys-fs/udisks as well?
colock
Simple Hen
 
Posts: 56
Joined: Mon Feb 25, 2013 12:01

Re: How to automount drives?

Postby chasha420 » Wed Mar 06, 2013 23:53

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..
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: How to automount drives?

Postby Matte88 » Thu Mar 07, 2013 0:45

Maybe gnome-base/gvfs is what you need. Dunno why, but I found this.
Image
When I became the sun,
I shone life into the man's hearts.
Matte88
Technological Hen
 
Posts: 399
Joined: Wed Dec 29, 2010 14:37
Location: @/etc/entropy/repositories.conf.d/entropy_sabayon-limbo

Re: How to automount drives?

Postby chasha420 » Fri Mar 08, 2013 20:01

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 :)
chasha420
Technological Hen
 
Posts: 312
Joined: Thu Mar 31, 2011 15:32
Location: /dev/null

Re: How to automount drives?

Postby lionhater » Sat Mar 23, 2013 10:13

Have you tried SpaceFM with udevil?
lionhater
Baby Hen
 
Posts: 19
Joined: Thu Nov 10, 2011 15:33


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests