LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2008, 09:10 AM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
How to add a "Reboot to Windows" option to KDE logout menu?


Hello!
I've recently found out about "lilo -R" (I've always hated waiting for Lilo after reboot but never thought that a solution could exist :-) ), but I would like to avoid typing it in a shell windows. It would be easier if I just had a "Reboot to Windows" option in the KDE logout menu.
The question is: do I have to recompile KDE or there is a simpler way (i.e. scripts)?
Thanks!
 
Old 12-31-2008, 09:45 AM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 308

Rep: Reputation: 39
script it:

Code:
lilo -R whatever
sudo init 0
 
Old 12-31-2008, 12:49 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by arckane View Post
script it:

Code:
lilo -R whatever
sudo init 0
init 0 is halt, he probably wants init 6 (reboot). Most distros offer a way to reboot without using init, though. A "reboot" command. You could also use "shutdown -r now".

Besides that, I guess he's asking about HOW to modify the kde menu, and not how to do this (since he already says he knows about lilo -R on the first post of the thread).

simopal6, do you use kde 3.x or 4.x? I guess this will be different in either version. I haven't kde installed right now so I can't test. It should be something that you can configure in a .desktop file or something like that.

However, if you can't figure out how you can try a couple of things:
  • suse does this I think, with grub, but it can be worth it to check how kde is configure in suse to do that
  • use a desktop icon or a button in the panel, and link your script to that
 
  


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
How to add shut down option to kde logout menu sirius57 SUSE / openSUSE 2 07-17-2007 03:52 AM
How to add Gnome style "drawer" (ie sub-menu) to KDE 3.1 kicker (aka KDE Panel) quaestor Linux - Software 7 10-17-2006 09:55 AM
ShutDown/Reboot using "KDE graphical logout" and GDM ? tsiMental Ubuntu 2 08-08-2005 10:54 AM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 08:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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