Announcement

Collapse
No announcement yet.

Turn off problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Turn off problem

    I found script kpoweroff on kde-apps.org:
    http://kde-apps.org/content/show.php...?content=11875

    This script creates an item in Kmenu that make possible to shutdown your linux box without have to wait to close session.
    Its intenteded to be be used if your using GDM.
    Its my first script here in kde-apps.org.
    It was tested in fedora so please read the readme file if you use other distro.


    I can install it only tomorrow.
    What do you think, is there program that I need?

    Comment


      #17
      Re: Turn off problem

      It mentions GDM instead of KDM, go figure...
      Probably worth a try.

      Comment


        #18
        Re: Turn off problem

        Perhaps. I thought of installing it myself, but then I realized I could do just the same thing and still use the usual shutdown things.
        (Only difference is that it won't reboot, but shut down regardless of the operation requested.)

        Stick something like this in ~/.kde/shutdown:
        Code:
        #!/bin/bash
        /sbin/shutdown -h now
        ...and make it setuid root (i.e. sudo chown root, sudo chmod 4770).
        Now, every time you request a shutdown operation (shut down or reboot), it'll execute that script as root, shutting down your machine.
        For external use only.

        Comment

        Working...
        X