LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2004, 04:04 PM   #1
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
Reboot Icon?


Hi everyone,
I was wondering if someone here could help me come up with a script or something which I can put on my desktop which will allow me to reboot my machine simply by double clicking it. I am new to linux, so Im not sure how to go about doing this. If anyone can help me out with this Id greatly appreciate it.
 
Old 01-23-2004, 04:21 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
It will depend on what desktop environment you use...

I use KDE, and HAD a PowerOff icon on my desktop. I have KDE to respond to a single-click, and used to occassionally click the PowerOff by accident. I've since deleted it.

I created it by right-click on the desktop, and choosing Create New / Link to Application. In the General tab, I named it PowerOff, and chose a spiffy icon. In the Execute tab, the command was simply "poweroff". This, of course, depends on users being able to use the command. Replace poweroff with reboot, and it should work for you.

For GNOME, or others, I don't know, but the process would prob'ly be similar.
 
Old 01-23-2004, 04:36 PM   #3
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Original Poster
Rep: Reputation: 15
Wow, thats pretty easy... I was expecting to have to script something or write a C program. Thanks
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No keyboard/mouse after reboot. Requires second reboot to work. rottie Linux - Hardware 6 01-16-2006 06:04 AM
Icon ? dyserq Linux - Newbie 2 10-02-2005 08:12 PM
reboot when "reboot" command not responding? neocookie Linux - General 1 08-30-2005 05:59 AM
Icon help! bungle_42 Linux - Newbie 0 06-14-2004 07:55 AM
no icon ronss Linux - Software 0 04-13-2002 08:26 AM


All times are GMT -5. The time now is 05:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration