From: Hans on
On 29/03/10 04:13, noi ance wrote:
> On Sat, 27 Mar 2010 18:11:58 -0400, LSMFT typed this message:
>
>> On 03/27/2010 01:39 PM, David Bolt wrote:
>>> On Saturday 27 Mar 2010 16:49, while playing with a tin of spray paint,
>>> LSMFT painted this mural:
>>>
>>>> How do you add a shutdown widget to the panel?
>>>
>>> KDE4?
>>>
>>>> I only have logout, suspend, switch user and no shutdown.
>>>
>>> The only times I've seen that was when I accidentally removed it, or
>>> when KDE4.0 decided to get rid of all the widgets in a fit of "AI is
>>> overrated" :)
>>>
>>>> I have to log out and use the login shutdown button.
>>>
>>> Since I'm going to assume you're talking KDE4, you need to right-click
>>> on the panel and select "Add Widget". Then, from the selection, drag
>>> "Lock/Logout" onto the panel where you want to place it. Finally, close
>>> the "Add Widget" dialogue box.
>>>
>>>
>>> Regards,
>>> David Bolt
>>>
>>>
>> Yes, KDE4. It was an 11.2 install with Gnome as default. I downloaded
>> KDE4 afterward and got nothing but a white screen after. Next time I
>> tried it I got the default background but nothing else. I had to create
>> everything else, taskbar, icons etc.
>> Ok, I didn't see that Lock/logout widget. I was looking for shutdown.
>> The Leave/logout on right click did not shutdown.
>
> When I accidently lost my shutdown
> I created a command line apps that
>
> CODE:
> --------------------
> sudo shutdown -h now
>
> sudo shutdown -Fr now.
> --------------------
>
> Then I added the 2 apps to my Applications menu. These worked for me,

Try:
sudo init 6