Udisks and KDE problem... [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Udisks and KDE problem... [Solved]

Postby Wardy » Fri Sep 28, 2012 17:31

Hi, I'm trying to auto-mount my internal media partitions in KDE. It seems that Udisks is preventing me from doing this. Instead I have to mount them manually in dolphin and Udisks wants my root password which is a bit much.

I've tried action settings in system settings but any changes I make are not saved. I've also followed this guide http://sabayon.org/article/argh-udisks- ... anity-back but after adding my user to storage and creating the text file mentioned in the article I've still had no luck. I double checked that I did everything correctly. Is this article out of date? I had to manually create the correct dictionary.

Can anyone provide a solution or point me to the Udisks policy file so I can edit it manually? If I take the latter option would I have to re-edit the file on update?

On latest Sab 10 and partitions are EXT4. Never posted a problem before but can't find a solution online to this problem like I usually would; so I apologize if I haven't included enough relevant info.

Thanks in advance for any help. Wardy.
Last edited by Wardy on Fri Sep 28, 2012 23:31, edited 1 time in total.
Wardy
Baby Hen
 
Posts: 2
Joined: Fri Sep 28, 2012 17:13

Re: Udisks and KDE problem...

Postby Fitzcarraldo » Fri Sep 28, 2012 18:01

I'm using KDE and don't have to do any of that. I've never had to touch any udev or udisks rules files for mounting partitions and I don't even have the file mentioned in that guide. I just have my internal partitions declared to mount in /etc/fstab (see below) -- the parameters define whether or not they are automatically mounted at startup (as you can see, the only one I don't bother mounting automatically is my /boot partition). Can't you just add your ext4 internal media partitions to /etc/fstab and specify that they are mounted automatically at startup?

Code: Select all
/dev/sda6               /                       ext4    user_xattr,noatime        1 1
/dev/sda7               /home                   ext4    user_xattr,noatime        1 2
/dev/sda3               /boot                   ext4    user_xattr,noatime,noauto 1 2
/dev/shm                /dev/shm                tmpfs   defaults                  0 0
/dev/sda5               swap                    swap    defaults                  0 0
/dev/sda2               /media/Windows7         ntfs-3g defaults                  0 0

How to edit and understand /etc/fstab
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7334
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Udisks and KDE problem...

Postby Wardy » Fri Sep 28, 2012 23:27

Yep, that did it thanks. Seems like a bit of Linux 101 that I never learned in my 3 years of using it. That's what you get for being lazy with Ubuntu. Also thanks for the link; that website will be useful in the future.
Wardy
Baby Hen
 
Posts: 2
Joined: Fri Sep 28, 2012 17:13

Re: Udisks and KDE problem... [Solved]

Postby wolfden » Sat Sep 29, 2012 0:00

The guide should work, not sure what problems you were having.

fstab works great if you're not changing hard drives and partitions around and the DE handles mount and unmounting just fine without a fstab.


/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy is the file that controls that

edit:
I did some checking on this and edited the post that should now work once again
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 2 guests