Announcement

Collapse
No announcement yet.

Anyone try out kshutdown?

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

    Anyone try out kshutdown?

    My daughter log's into my wife's laptop as a second user (rather than logging mom out first). Wouldn't be a problem except lappy in question is rather light-weight in the power/RAM department and said daughter doesn't log herself out. Short of it is mom complains about slow lappy, Dad's called into fix, logging out kid is only fix required,... you get the picture.

    I decided solution is to force inactive log-out of said daughter (MUCH easier than training involved family members if you catch my drift) so Mom isn't left unhappy.

    Kshutdown looks like the perfect solution: CLI script created with options: --init (removes initial GUI welcome). --hide-ui (no GUI at all), --inactivity 10 (invokes action after 10 minutes of no activity), -l (logoff rather than shutdown).

    Problem is the -i option isn't working at all. As soon as I run the script, it logs off my kid in about 10 seconds regardless of the time selected. Has anyone else used this utility without problems?

    Bug report forthcoming...

    Please Read Me

    #2
    Seems to work as expected here, although I only ran the --test action, and straight from konsole (not from a script):

    Code:
    kshutdown --inactivity 10 --test --init --hide-ui
    pops out test dialog after 10 minutes of inactivity.

    Version of kshutdown is 3.0~beta6-1ubuntu1 (from saucy salamander repos)

    EDIT: possibly this bug in your version:

    2013/02/12 3.0 Beta 6
    * NEW: Haiku OS support (see README.html for build instructions)
    * NEW: Qt 5 support
    * Disable drop shadow and input focus in progress bar and screen lock windows
    * KDE: Extras: Removed unreliable "Unlock Screen" action
    * KDE: Workaround for org.freedesktop.ScreenSaver.GetSessionIdleTime bug (causes wrong time calculations in the "Inactivity Detector")
    (http://kshutdown.sourceforge.net/releases/3.0beta6.html)
    Last edited by kubicle; May 02, 2013, 11:04 PM.

    Comment


      #3
      Thanks Kubicle, that sounds like my bug. At least the fix is in the queue.

      Please Read Me

      Comment

      Working...
      X