LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2011, 07:29 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
Shutdown button on the xfce Desktop


hi

I have Debian Squeeze with xfce installed.
Howto create a "Shutdown" button on xfce Desktop?
 
Old 03-16-2011, 11:10 AM   #2
Wellesly
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 6
  1. Right click on a panel, or right click one of the items on your desktop's panel.
    1. If you right click on a panel item, choose "Panel" from the list that appears.
  2. Click "Add New Items..." to open the "Add New Items" dialog.
  3. Select "Action Buttons" and click "Add". A new icon will appear on the panel. You may now close the "Add New Items" dialog.
  4. Right click on the icon that has appeared.
  5. Click "Properties" in the list that appears.
  6. Set the "First Button" option to "Shutdown".
 
1 members found this post helpful.
Old 03-16-2011, 11:35 AM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Thx a lot, but howto copy this "Action Button" from Panel to the Desktop?
 
Old 03-16-2011, 03:10 PM   #4
Wellesly
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 6
I'm sorry; I don't know a way to do that without editing /etc/sudoers to permit ordinary users to run shutdown, and I feel like there must be an easier way, as the Xfce shutdown menu doesn't need that kind of configuring. Unless someone more knowledgeable gives you an answer, I'll need to do some more research.
 
1 members found this post helpful.
Old 03-17-2011, 11:26 AM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
I solved this problem.

I have created a desktop launcher with this command:
Code:
/usr/bin/xfce4-session-shutdown.sh
and I'm using this shutdown script:
Code:
# cat /usr/bin/xfce4-session-shutdown.sh

#! /bin/sh
sudo /sbin/shutdown -h now $*
and here some tips to shutdown under xfce:

http://wiki.xfce.org/tips

Last edited by cccc; 02-25-2012 at 05:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XFCE logout button michaelinux Linux - Desktop 2 06-28-2009 05:24 AM
XFce and Compiz : xfce doesn't manage the desktop naaman Linux - Desktop 0 07-16-2008 01:39 AM
shutdown button Rita G. Debian 8 02-02-2008 10:45 AM
Xfce logout button in FC6 Hitboxx Fedora 1 11-20-2006 06:51 PM
trying xfce: where's the start button? walterbyrd Linux - Software 3 07-08-2005 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration