You are here

Kubuntu 15.10 / KDE not automounting partitions

Submitted by Druss on Tue, 2015-12-01 19:42

So I upgraded my Linux box to the latest Kubuntu 15.10 (Wily Werewolf!) and it's been an interesting few days ironing out niggles. One of them has been the missing partition manager icon which (IIRC) was present in 14.04 and where I could control which partitions were automounted at login. From the looks of it, there is no easy solution for this like installing a package or some weird Plasma widget. The only solution I was provided on IRC was the following roundabout-borderline-hack:

  1. Open the file /usr/share/kde4/services/kded/device_automounter.desktop in an editor.
  2. Change the line X-KDE-Kded-phase=1 to X-KDE-Kded-phase=0. This line is the sixth line in my installation.
  3. Run the command kcmshell4 kcmkded in a terminal or in KRunner (ALT + F2). This should bring up a KDE control module named Service Manager. Why this isn't accessible from the K-Menu is a mystery to me.
  4. In the lower panel titled Startup Services, look for Removable Device Automounter and check it and click the Start button at the bottom. Click OK.
  5. Now run the command kcmshell4 device_automounter_kcm. This should bring up the next KDE control module named Removable Devices. This is where you can set the automount properties for all your partitions. Configure as necessary and click OK.

And that's it. If you restart your box, you should be able to confirm that the partitions which have been set to be automounted have been automatically mounted and are accessible.

Hope this helps!

Comments

Thanks a lot! Have been editing fstab directly, the partition I added would then mount automatically but somehow KDE wouldn't recognize it.
This solution helped, wonder why it's hidden. :-)