Re: [kde] copnfiguring KDE shutdown to be immediate
and alternatively, script this via 'dbus-send' : dbus-send --print-reply --session --dest=org.kde.ksmserver \ /KSMServer org.kde.KSMServerInterface.logout \ int32:${ShutdownConfirm} \ int32:${ShutdownType} \ int32:${ShutdownMode} (See Below for enums for the Shutdown{Confirm,Type,Mode} values) e.g.: dbus-send --print-reply --session --dest=org.kde.ksmserver \ /KSMServer org.kde.KSMServerInterface.logout \ int32:0 int32:1 int32:2 will invoke a forced reboot immediately without prompting. You can bind that to a key/combo as others have suggested. btw, a developer going by the moniker 'nowardev' has some interesting plasma stuff, including a better Logout widget scheme than the plasma Lock/Logout widget. Instead, use the plasma "Application Launcher" widget and only enable Switch User Save Session Lock Screen Restart Shut down Log out icons in the "View" tab. In options, specify to use the Actions->'system-shutdown' icon. it's much nicer (IMHO) than using the plasma Lock/Logout widget, though it doesn't change the behavior of prompting/waiting 30 seconds (default), by itself. --stephen - For: ShutdownConfirmDefault="-1" ShutdownConfirmNo="0" ShutdownConfirmYes="1" ShutdownTypeDefault="-1"# Select previous action or the default if it's the first time. ShutdownTypeNone="0"# Only log out. ShutdownTypeReboot="1" # Log out and reboot the machine. ShutdownTypeHalt="2"# Log out and halt the machine. ShutdownTypeLogout="3" # ? Same as ShutdownTypeNone/0 ? ShutdownModeDefault="-1"# Select previous mode or the default if it's the first time. ShutdownModeSchedule="0"# Schedule a shutdown (halt or reboot) for the time all active sessions have exited. ShutdownModeTryNow="1" # Shut down, if no sessions are active. ShutdownModeForceNow="2"# Force shutdown. ShutdownModeInteractive="3" # Pop up a dialog asking the user what to do if sessions are still active. # Default Operations ShutdownConfirm=${ShutdownConfirmNo} #ShutdownConfirm=${ShutdownConfirmYes} #ShutdownMode=${ShutdownModeForceNow} ShutdownMode=${ShutdownModeTryNow} #ShutdownMode=${ShutdownModeSchedule} This all gleaned from: http://api.kde.org/4.4-api/kdebase-workspace-apidocs/libs/kworkspace/html/kworkspace_8h_source.html --stephen -- Stephen Dowdy - Systems Administrator - NCAR/RAL 303.497.2869 - sdo...@ucar.edu- http://www.ral.ucar.edu/~sdowdy/ ___ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.
Re: [kde] copnfiguring KDE shutdown to be immediate
On Saturday 08 March 2014 18:16 Kevin Wilson wrote: > Hello, > > When I go to the shutdow menu of KDE an press it, it waits 30 seconds > (counting backwards) > How can I copnfigure KDE so that shutdown will be immediate? Eh. click on "Turn off computer" in the popup? Or you will have to be more specific. I guess you mean something like System Settings=>Startup and Shutdown=>Session Management. You know you can open System Settings and search for the settings. A search for "Shutdown" would have highlighted the entry. -- Med venlig hilsen / Best Regards Thomas Tanghus ___ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.
Re: [kde] copnfiguring KDE shutdown to be immediate
Kevin Wilson posted on Sat, 08 Mar 2014 18:16:16 +0200 as excerpted: > When I go to the shutdow menu of KDE an press it, it waits 30 seconds > (counting backwards) > How can I copnfigure KDE so that shutdown will be immediate? kde system settings, system administration, startup and shutdown, session management. At the top under general, UNCHECK confirm logout. Alternatively, setup a keyboard shortcut for it. That /should/ be in kde system settings, shortcuts and gestures, global keyboard shortcuts, I think under session manager or the like, but I'm running kde4-live- sources, which ATM is what will be 4.13, and I don't seem to see it there ATM and I can't find it under options like kwin either. But from memory that's where it is. There should be a "without confirmation" or "without delay" option there. Here I set that to ctrl-alt-del quite some time ago, but I believe the default is ctrl-alt-shift-del, and ctrl-alt-del is I think the default shortcut for logout /with/ confirmation. Anyway, tho I can't find the config for it ATM, my setting still works, and that's what I normally use instead of the menu option. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ___ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.
[kde] copnfiguring KDE shutdown to be immediate
Hello, When I go to the shutdow menu of KDE an press it, it waits 30 seconds (counting backwards) How can I copnfigure KDE so that shutdown will be immediate? regards, Kevin ___ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.