[D-BUS Service] # Plasma's session screen, made unstartable. # # The third and last layer over Ctrl+Alt+Delete, and the one that does not # depend on knowing which key is bound to what. # # Ctrl+Alt+Delete does not draw anything itself. It asks D-Bus for # org.kde.LogoutPrompt, and D-Bus starts ksmserver-logout-greeter, which # is the screen with Log Out, Restart, Shut Down, Sleep and Hibernate on # it. Unbinding the chord in kglobalshortcutsrc takes away the caller; # this takes away the callee, so any other caller — a Plasma release that # binds the prompt to something new, an applet that ends up on the panel # by accident, a script — finds nothing to start either. # # The same shadowing mechanism the classroom already uses for the old # notification daemon: the session bus searches XDG_DATA_DIRS in order and # /usr/local/share comes before /usr/share, so no file belonging to # plasma-workspace is touched and Plasma can be upgraded underneath this # without anything here changing. # # What this does NOT do: end a session. Logging out, restarting and # shutting down are all still there for anyone with an account on the # machine, through systemctl and loginctl, which is how a technician does # it already. The greeter is a teacher-facing screen in a room that has no # other teacher-facing way to do any of it, and that is the only thing # taken away. Name=org.kde.LogoutPrompt Exec=/bin/false