Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-12-07 14:41:52

geckoblu
Member
Registered: 2012-12-06
Posts: 4
Website

[Solved] Mount external drives connected before log in

Hi all,
my name is Alessio, I recently switched from Gnome 2 to Xfce.
Also if I still need to get completely used to it, I found it is a great DE and perfect for my needs.

At the moment I have only a small issue (well, indeed two issues, but the other is a completely different story),
when I'm logged in and I connect an external drive it is correctly mounted and a notification is showed.
This is exactly the behavior I expect.

But if the external drive is already connected before I log in, it is not mounted at all, and I need to mount it manually.
I would like to have it mounted automatically.

So here are my questions:
Is this the correct behavior or something is broken.
Exists a property somewhere to configure this ?
I already googled for an answer but I wasn't able to found it.

Related to this I have another question:
when I'm logged in which is the process who mount the external drives and show the notification ?
I though it should be thunar-volman but I don't see it on the list of running processes.

I'm using Xfce 4.10 on Xubuntu 10.10 with "Launch GNOME services on startup" activated (and a lot of Gnome applications installed).

Thank you
Alessio

Offline

#2 2012-12-11 07:02:17

geckoblu
Member
Registered: 2012-12-06
Posts: 4
Website

Re: [Solved] Mount external drives connected before log in

Could someone tell me, at least, if this is the normal behavior ?

Thank you
Alessio

Offline

#3 2012-12-12 02:11:44

stqn
Member
Registered: 2010-10-11
Posts: 174

Re: [Solved] Mount external drives connected before log in

Same on Xubuntu 12.04 yes, IIRC. My personal solution (under Arch Linux) is to mount them from rc.local… But I believe there’s something called udev or udisks or something else for which you can create “rules” to do stuff… Or maybe you could just add them to /etc/fstab, not sure if that works if the disk isn’t plugged in at startup.

Offline

#4 2012-12-13 15:16:10

geckoblu
Member
Registered: 2012-12-06
Posts: 4
Website

Re: [Solved] Mount external drives connected before log in

Thank you very much for your reply.

I will look for a solution by myself.

I'm writing a small C program to automount external drives when I login.
I'll put the program here as soon as I will end it (not very soon because I'm not so experienced in C programming).

bye
Alessio

Offline

#5 2012-12-20 11:38:25

geckoblu
Member
Registered: 2012-12-06
Posts: 4
Website

Re: [Solved] Mount external drives connected before log in

Hi I wrote a small C program based on gio which mount all external drives when run.
I just start it using /etc/xdg/autostart and so my external drives are mounted when I log in.

I public it in case someone else has the same needs as me.

You can find source on github ( https://github.com/geckoblu/gio-automount ).

Ubuntu users could also install it using my public ppa ( https://launchpad.net/~geckoblu/+archive/public ).

If someone try to use it and finds problems feel free to contact me.

bye
Alessio

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 539.84 KiB (Peak: 540.68 KiB) ]