[SOLVED] Thunar usb automount under gdm/openbox-session

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Thunar usb automount under gdm/openbox-session

Postby hman » Feb 20th, '12, 12:07

Hi all,
i trying to config Thunar to automount usb devices under openbox-session, but i have a strange behavior:
1. Thunar and PCManFM don't see usb devices
2. if i try to $ udisks --mount /dev/sdb1, it work
3. after mount, Thunar and PCManFM don't see external devices but only mountpoint (/media/<devlabel>)
4. i have also LXDE session installed and if i try to start with this, Thunar automount work fine.

I enabled thunar mount options and i have follow thunar packages installed:
thunar-1.3.0-1.mga1
thunar-archive-plugin-0.3.0-1.mga1
lib64thunar2_0-1.3.0-1.mga1
thunar-thumbnailers-ffmpeg-0.4.1-5.mga1
thunar-vfs-1.2.0-1.mga1
thunar-thumbnailers-0.4.1-5.mga1
thunar-volman-0.6.0-2.mga1

this is my ~/.config/openbox/autostart.sh
Code: Select all
# for gnome settings
/usr/lib64/gnome-settings-daemon &

nvidia-settings -l &

# thunar daemon
thunar --daemon &

# Programs that will run after Openbox has started
tint2 &
sleep 5 &
volumeicon &


could you help me ?

thanks
Armando
Last edited by hman on Feb 20th, '12, 13:24, edited 1 time in total.
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56

[SOLVED]Thunar/PCManFM usb automount under gdm/openbox-sessi

Postby hman » Feb 20th, '12, 13:23

Sorry,
i realized that in my ~/.config/openbox/autostart.sh i need to add /etc/xdg/openbox/autostart.sh content on head, i saw that is present a called to xdg-autostart that solved my problem, so now my ~/.config/openbox/autostart.sh file content is:
Code: Select all
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi


# Make GTK apps look and behave how they were set up in the gnome config tools
if test -x /usr/lib64/gnome-settings-daemon >/dev/null; then
  /usr/lib64/gnome-settings-daemon &
elif which gnome-settings-daemon >/dev/null; then
  gnome-settings-daemon &
# Make GTK apps look and behave how they were set up in the XFCE config tools
elif which xfce-mcs-manager >/dev/null; then
  xfce-mcs-manager n &
fi

# Preload stuff for KDE apps
if which start_kdeinit >/dev/null; then
  LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
fi

# Run XDG autostart things.  By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV="OPENBOX"
if which /usr/lib64/openbox/xdg-autostart >/dev/null; then
  /usr/lib64/openbox/xdg-autostart $DESKTOP_ENV
fi


nvidia-settings -l &

# thunar daemon
thunar --daemon &

# Programs that will run after Openbox has started
tint2 &
sleep 5 &
volumeicon &
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56

Re: [SOLVED]Thunar usb automount under gdm/openbox-session

Postby hman » Feb 20th, '12, 22:55

Ooops,
i have 2 mageia 1 installations, and only one work fine with automount.
Comparing two installation settings i discovered that installation where automount work have
/etc/X11/wmsession.d/26openbox file with SCRIPT:
exec /usr/bin/startopenbox

instead, the other that don't work (say me NOT AUTHORIZED) have /etc/X11/wmsession.d/26openbox file with SCRIPT:
exec ck-launch-session dbus-launch /usr/bin/startopenbox

i discovered that also /etc/X11/wmsession.d/04LXDE file have SCRIPT:
exec /usr/bin/startlxde
Blog: http://www.integrazioneweb.com/

Some projects:
- Monosim github.com/armando-basile/monosim/
- Comex-Project github.com/armando-basile/comex-project
- Sagent github.com/armando-basile/sagent
hman
 
Posts: 34
Joined: Feb 20th, '12, 11:56


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron