KDE Plasma 5 Missing Removable Devices Option

Short answer

  1. Changing the /usr/share/kde4/services/kded/device_automounter.desktop line from

    > X-KDE-Kded-phase=1
    

    to:

    > X-KDE-Kded-phase=0
    
  2. Starting 'Removable Device Automounter' from the Service Manager using

    kcmshell4 kcmkded
    
  3. Picking the right options from the KDE 'Removable Devices module usinc

    kcmshell4 device_automounter_kcm
    

Explanation

KDE System Settings (5)

The Kubuntu 15.04 is using KDE System Settings that can show KDE Control Modules (kcm) for the KF5/Plasma5. The removable devices kcm is from the KDE4. You could launch the KDE Control Modules from the command line, i.e. the following command will launch the module:

kcmshell4 device_automounter_kcm

KDE Removable device windows

Daemon must be running

The 'Removable Device Automounter' Service, another KDE(4) control module, needs to be running. Check with:

$ kcmshell4 --list | grep kcmkded
kcmkded                    - KDE Services Configuration

As default the Removable Device Automounter is not running by default, open the windows and start the serice:

kcmshell4 kcmkded

KDE service manager windows

Configure KDE Daemon start-up

  1. the KDE(4) Daemon (kded) desktop files are in /usr/share/kde4/services/kded/ ;
  2. the device_automounter.desktop has line

    X-KDE-Kded-phase=1

From HOWTO Make KDED Modules:

The exact way autoloading works is controlled by X-KDE-Kded-phase=, which may be 0, 1 or 2 (the default). Kded phase 0 means the module is always loaded by kded, even outside of KDE session. It should used only by kded modules which must be always running. Kded phase 1 modules are loaded right after kded startup, but only during KDE startup, i.e. it is for modules that are always needed by the KDE session. Phase 2 modules will be loaded later.

Maybe the KF5 KDE is not detected as proper KDE?

We need to change the device_automounter.desktop line to:

> X-KDE-Kded-phase=0

editing device_automounter.desktop

The Removable Device Automounter service will be running after a reboot.

Edit

solid-device-automounter Port to KF5: https://git.reviewboard.kde.org/r/124730/

Review Request #124730 - Created Aug. 13, 2015 and submitted 8 months ago

Is part of the Plasma desktop 5.5 or later.