A shutdown desktop icon

Eli Wapniarski eli at orbsky.homelinux.org
Wed Aug 1 21:47:55 UTC 2012


What about using the Lock/Logout Widget.

Eli

On Wednesday 01 August 2012 23:30:19 Marko Vojinovic wrote:
> Hi folks! :-)
> 
> I need to create a "shutdown" icon/button on the desktop. The user who is
> supposed to use it is too clumsy/visually impaired to use the "Leave" option
> in the menus, while clicking on the big red shutdown button at the middle
> of the desktop would do the job.
> 
> I have tried to create a shortcut which executes "shutdown -h now", but that
> doesn't work, since it requires root password.
> 
> I have tried right-clicking on the shutdown option in the menu, with the aim
> of using the "add to desktop" feature, but that also doesn't work ---
> clicking on it with either left or right mouse button produces the same
> effect (the shutdown gets started). There is no context menu for it.
> 
> I'm out of ideas.
> 
> The locally logged-in user doesn't (and shouldn't) need root password to
> shutdown the machine, and indeed the shutdown option in the menu doesn't ask
> for one. How do I get that executed from a desktop icon/shortcut/whatever?
> 
> Also, that desktop icon should not ask for a confirmation or a 30-second
> countdown, but should just start the shutdown process immediately, if
> possible.
> 
> What would be the most proper, KDE-way to do create this?
> 
> TIA, :-)
> Marko
> 
> 
> _______________________________________________
> kde mailing list
> kde at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/kde
> New to KDE4? - get help from http://userbase.kde.org

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the kde mailing list