LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reboot Icon? (https://www.linuxquestions.org/questions/linux-newbie-8/reboot-icon-137890/)

Corallis 01-23-2004 03:04 PM

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.

ranger_nemo 01-23-2004 03:21 PM

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.

Corallis 01-23-2004 03:36 PM

Wow, thats pretty easy... I was expecting to have to script something or write a C program. Thanks :D


All times are GMT -5. The time now is 04:54 AM.