Results 1 to 3 of 3

Thread: Need gimicky (but fun) shutdown script

  1. #1
    Join Date
    Sep 2008
    Beans
    51

    Red face Need gimicky (but fun) shutdown script

    Does anyone know how I'd make the computer shutdown if someone presses a button other than 'k' or moves the mouse?

  2. #2
    Join Date
    Jun 2009
    Location
    Land of Paranoia and Guns
    Beans
    194
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Need gimicky (but fun) shutdown script

    You'd probably need to write an application for that. Something like xscreensaver, that sits on top of the desktop as an overlay and captures input. I have no idea how to do this or why you'd want to do this, but duckduckgo is your friend here.
    Don't use W3Schools as a resource! (Inconsequential foul language at the jump)
    Open Linux Forums (More foul language, but well worth it for the quality of support and good humor.)
    If you want to discuss W3Schools, please PM me instead of posting.

  3. #3
    Join Date
    Dec 2009
    Location
    germany
    Beans
    1,020
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need gimicky (but fun) shutdown script

    Quote Originally Posted by J-E-N-O-V-A View Post
    Does anyone know how I'd make the computer shutdown if someone presses a button other than 'k' or moves the mouse?
    hi
    i think "shutdown" isn't funny. why not just logout ??
    but here is a hint for your solution ( but no fun without work ). have a look at "
    XScreenSaverQueryExtension and /dev/input.
    the rest is your home-work
    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •