plasma-applet-tiledmenu
plasma-applet-tiledmenu copied to clipboard
Don't show "confirm" dialog on shutdown
Hello,
currently when I press the shutdown button in the lower left of the menu and select shutdown in the popup, I get another confirmation dialog like this:
Since I already selected shutdown in the popup, it's a bit annoying to have to press yet another button to confirm the action after I already pressed two buttons. Is there a way to disable this and have my computer shutdown after the second click?
https://userbase.kde.org/Plasma/Tips#disable-logout-shutdown-confirmation
I guess I could document where the toggle is in the widget's config.
Or I could add a toggle that duplicates the function of that System Setting toggle. I would need to read ~/.config/ksmserverrc
[General] confirmLogout=true
. I'd need to confirm if writing directly to that file with kwriteconfig5
will apply the setting.
https://github.com/KDE/plasma-desktop/blob/master/kcms/ksmserver/smserversettings.kcfg#L6-L11
I guess I could document where the toggle is in the widget's config.
Or I could add a toggle that duplicates the function of that System Setting toggle. I would need to read
~/.config/ksmserverrc
[General] confirmLogout=true
. I'd need to confirm if writing directly to that file withkwriteconfig5
will apply the setting.https://github.com/KDE/plasma-desktop/blob/master/kcms/ksmserver/smserversettings.kcfg#L6-L11
I just tested this - and can confirm that simply editing the file and changing confirmLogout takes effect immediately.