Results 1 to 5 of 5

Thread: Prevent mouse from deactivating locked screen

  1. #1
    Join Date
    Feb 2007
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Prevent mouse from deactivating locked screen

    I recently installed Karmic Koala (desktop edition) on an old PC. Most of the time, the PC is expected to be running in locked screen (i.e. blank screensaver), unless I need to fiddle with something.

    However, I keep hitting the mouse accidentally.

    Therefore, I would like to prevent the mouse from deactivating the locked screen and presenting the unlocking dialog. I.e. only direct keyboard press should invoke this action.

    Any idea?

  2. #2
    Join Date
    Oct 2009
    Location
    Springfield, IL
    Beans
    796

    Re: Prevent mouse from deactivating locked screen

    Quote Originally Posted by chewearn View Post
    I recently installed Karmic Koala (desktop edition) on an old PC. Most of the time, the PC is expected to be running in locked screen (i.e. blank screensaver), unless I need to fiddle with something.

    However, I keep hitting the mouse accidentally.

    Therefore, I would like to prevent the mouse from deactivating the locked screen and presenting the unlocking dialog. I.e. only direct keyboard press should invoke this action.

    Any idea?
    Unplug your mouse? As long as it is part of the system it will be active.
    HP s5710f, 2x AMD Athlon II 250 @ 3.2Ghz 3GB RAM 640GB HD
    Saline OS 1.6 2.6.32 AMD64 Xfce
    SolusOS Beta-1 3.0.0 solus kernel i686 Gnome 2.3
    Xubuntu 12.04 Precise Pangolin 3.2.0-15-generic

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

    Re: Prevent mouse from deactivating locked screen

    hi
    i haven't tried it but what do you think about a little script wich looks like
    modprobe -r your_mousmodule
    screensaver
    insmod your_mousemodule

    ciao
    "What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht

  4. #4
    Join Date
    Feb 2007
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Prevent mouse from deactivating locked screen

    Quote Originally Posted by bobcollard View Post
    Unplug your mouse? As long as it is part of the system it will be active.
    That sounds like a possible fix, but the mouse is PS/2, not exactly plug'n play (it an old PC with old peripherals ). There is a slight risk of damaging the port if I unplug too many times while it's powered.

  5. #5
    Join Date
    Feb 2007
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Prevent mouse from deactivating locked screen

    Quote Originally Posted by rnerwein View Post
    hi
    i haven't tried it but what do you think about a little script wich looks like
    modprobe -r your_mousmodule
    screensaver
    insmod your_mousemodule

    ciao
    Thanks for the suggestion.

    Thinking more about it, I happened to have a wireless mouse with a manual on/off switch on the bottom. Looks like a direct hardware change is the most straight forward fix.

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
  •