shutdown icon

Questions about applications and software
Forum rules
Before you post please read this

shutdown icon

Postby phatsteve on Mon Apr 21, 2008 11:52 am

I use a quick shutdown icon on my Kubuntu 7.10 installation with the command "shutdown = dcop ksmserver ksmserver logout 0 2 0" which works perfectly.
Unfortunately it doesn't on my KDE Mint 7.10 installation. Does anyone have any idea why?
Thankyou
phatsteve
Level 1
Level 1
 
Posts: 6
Joined: Sat Mar 01, 2008 5:12 am

Linux Mint is funded by ads and donations.
 

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 12:05 pm

Personally I use:
Code: Select all
sudo shutdown now -P -q

...btw what is wrong with the button in the menu!? :?:
Last edited by Zwopper on Mon Apr 21, 2008 12:32 pm, edited 1 time in total.
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: shutdown icon

Postby phatsteve on Mon Apr 21, 2008 12:19 pm

too many clicks man...........life's too short!
btw I tried your suggestion, same result, bouncing icon then.........nothing.
Perhaps i should explain better. I have created a link to application on desktop and and given the command
"shutdown = dcop ksmserver ksmserver logout 0 2 0" This works fine on Kubuntu.
I changed the command to what you suggested "shutdown now -P -q"
but still no go
Thanks for reply
phatsteve
Level 1
Level 1
 
Posts: 6
Joined: Sat Mar 01, 2008 5:12 am

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 12:32 pm

...hmmm...
How about adding the buttons to the panel by right click adding "quick buttons for shutdown" or whatever they might be called in English, I run the Swedish version, so I don't know the exact name for it... :(
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 12:35 pm

Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 12:39 pm

btw this worked for me:
Code: Select all
dcop ksmserver ksmserver logout 0 2 0

Make sure you're the owner and that the file is executable.
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: shutdown icon

Postby phatsteve on Mon Apr 21, 2008 12:58 pm

Zwopper, that worked perfect!
(ksmserver ksmserver logout 0 2 0).
Many thanks.
What should I use for restart?
Again, this works in Kubuntu "restart = dcop ksmserver ksmserver logout 0 1 0" but not in Mint(KDE)
phatsteve
Level 1
Level 1
 
Posts: 6
Joined: Sat Mar 01, 2008 5:12 am

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 1:09 pm

phatsteve wrote:Zwopper, that worked perfect!
(ksmserver ksmserver logout 0 2 0).
Many thanks.
What should I use for restart?
Again, this works in Kubuntu "restart = dcop ksmserver ksmserver logout 0 1 0" but not in Mint(KDE)

...well Iguess:
Code: Select all
dcop ksmserver ksmserver logout 0 1 0
:?: :wink:
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: shutdown icon

Postby phatsteve on Mon Apr 21, 2008 1:52 pm

Spot on, works like a charm.
Many thanks.
phatsteve
Level 1
Level 1
 
Posts: 6
Joined: Sat Mar 01, 2008 5:12 am

Re: shutdown icon

Postby Zwopper on Mon Apr 21, 2008 4:25 pm

No problems! 8)
Really glad I could help out! :)
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 13.10
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 11 guests