[SOLVED] Xfce 4.10 log out + shutdown buttons no longer work

Forum rules
Before you post please read this

[SOLVED] Xfce 4.10 log out + shutdown buttons no longer work

Postby RytronII on Sat Oct 27, 2012 8:56 am

Hi.

I am running LM 13 Xfce.

In Xfce 4.10, the log out and shutdown buttons no longer work. I can force a log out with 'Ctrl Alt Backspace' and do a shutdown from the terminal alright though. I did install and remove the MATE DE - maybe that is the cause?

Thanks.
Last edited by RytronII on Fri Nov 02, 2012 7:16 am, edited 1 time in total.
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Linux Mint is funded by ads and donations.
 

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby cwsnyder on Sat Oct 27, 2012 1:26 pm

Have you tried opening a terminal and typing?:
Code: Select all
sudo shutdown now
If this works, you may want to look at the code behind your shutdown button. I have noticed in LMDE Xfce and Debian Wheezy Xfce that the buttons which used to shutdown or restart the computer now just log off, because the code called by the button has been changed.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Sun Oct 28, 2012 5:16 am

cwsnyder wrote:Have you tried opening a terminal and typing?:
Code: Select all
sudo shutdown now
If this works, you may want to look at the code behind your shutdown button. I have noticed in LMDE Xfce and Debian Wheezy Xfce that the buttons which used to shutdown or restart the computer now just log off, because the code called by the button has been changed.


That terminal shutdown command works fine. How do I sort the button code?

Update:
I logged in with a new Xfce session and chose that as default. It solved the button problem re logging out. The power off problem is there still when I hit the power button on my keyboard (strangely it interferes with the numlock light).
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby cwsnyder on Sun Oct 28, 2012 6:26 am

I am using LMDE Xfce, so I can't give you exact directions, maybe someone else can chime in who is actually using LM 13. In Debian, I right-clicked the button and changed the properties of the button. On LMDE, right-clicking the button/panel informed me that the button I was using was the session-menu.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Sun Oct 28, 2012 11:41 am

I should clarify -- when I say power off button, I refer to the keyboard power button. (not my keyboard) http://www.quickonlinetips.com/archives ... r-keys.jpg
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby cwsnyder on Sun Oct 28, 2012 6:49 pm

Try this. Open the Xfce menu, select Settings >> Keyboard >> Applications Shortcuts tab >> +Add button. In the resulting popup box, type: sudo shutdown now, which we know works, select the OK button, then when the next box opens, press the power button on your keyboard. This should put the keyboard scan code for your power button in your keyboard operations box and allow you to shutdown after entering your password.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Mon Oct 29, 2012 5:02 am

cwsnyder wrote:Try this. Open the Xfce menu, select Settings >> Keyboard >> Applications Shortcuts tab >> +Add button. In the resulting popup box, type: sudo shutdown now, which we know works, select the OK button, then when the next box opens, press the power button on your keyboard. This should put the keyboard scan code for your power button in your keyboard operations box and allow you to shutdown after entering your password.


Hi cwsnyder. That would work fine but is there a method to shutdown without using my password?
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby Flemur on Mon Oct 29, 2012 6:55 am

This'll let users run "shutdown" (as they should be able to w/o this screwing around...):
Code: Select all
# chmod u+s /sbin/shutdown


There's also ways of adding a user to "sudoers" ...
Mint 17/Xfce/fluxbox & Mint 16/Xfce/fluxbox
User avatar
Flemur
Level 5
Level 5
 
Posts: 804
Joined: Mon Aug 20, 2012 9:41 pm

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Mon Oct 29, 2012 10:13 am

Thanks guys.

Update: That's odd! The keyboard power button works again (I dont know what fixed it as I changed nothing). :?:
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby SantaFe on Mon Oct 29, 2012 11:56 am

RytronII wrote:Thanks guys.

Update: That's odd! The keyboard power button works again (I dont know what fixed it as I changed nothing). :?:

The same reason any appliance starts working again when the repairman comes by! The machines are out to get us! ;)

Glad it's working though! :D
User avatar
SantaFe
Level 1
Level 1
 
Posts: 8
Joined: Mon Mar 07, 2011 9:00 pm

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Mon Oct 29, 2012 4:09 pm

SantaFe wrote:The same reason any appliance starts working again when the repairman comes by! The machines are out to get us! ;)

Glad it's working though! :D


Thank you my friend.

Perhaps gremlins were at work then got bored and left. :?
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Tue Oct 30, 2012 4:28 am

No!

I spoke too soon, it no longer works (keyboard power button). I hit it and the numlock light goes off. The code provided earlier in the thread will do.
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Xfce 4.10 log out and shutdown buttons no longer work

Postby RytronII on Thu Nov 01, 2012 3:08 pm

The keyboard power button works again. I did noting. :?
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 293
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 4 guests