Results 1 to 2 of 2

Thread: disable the keyboard in the mouse

  1. #1
    Join Date
    Apr 2007
    Beans
    82

    disable the keyboard in the mouse

    Lenovo N700 mouse have a smart design: it has a Windows key on it. I constantly trip over it and have HUD over my face. It also randomly produce letter c, so c my ctext looks cpretty cmuch like this c cwith c all over cthe cplaces.c I believec that cthis c letter has a specific meaning to Windows but it just anoys me.

    Is there a way to disable the little keyboard that comes within the mouse?

    I tried to disable it in xorg.conf by this

    Code:
    Section "InputClass"
       Identifier     "Bluetooth Mouse"
       MatchIsKeyboard "on"
       MatchProduct   "Lenovo Mice N700"
       Option "Ignore" "True"
    EndSection
    But to my surprise it disabled the mouse too. So it seems to be the same Xorg device that produces both keyboard and mouse event.
    Last edited by zhangweiwu; January 13th, 2017 at 12:06 AM.

  2. #2
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: disable the keyboard in the mouse

    One way to ignore the "Windows" key on everything (including keyboard) is to install compizconfig-settings-manager package (search "compiz" in Software Center). Then when you run Compiz Config Settings Manager under "Ubuntu Unity Plugin" > Launcher tab, where is says "Key to show the Dash, Launcher and Help Overlay" click on the button that says <Super> and uncheck enabled. Or change it to a key combination that is easy to remember. That may also help if you accidentally hit the Windows key on the keyboard while gaming. Not sure if you also need to change "Key to start the Launcher Application Switcher.

    I had a somewhat similar issue with a Logitech MX Master mouse which has a hidden button in the foot under your thumb that does Ctrl+Alt+Tab (which switches windows) which was sort of annoying when it would switch windows in the middle of an intense online game. In that case under the Switcher tab I changed "Key to start the Switcher for all viewports" from Ctrl+Alt+Tab to Ctrl+Alt+Home (easy enough to remember) and also Disabled whichever of the 3 buttons under that was enabled.

    A more complicated way to disable that, only on the mouse, might be to look into xinput. You could create a file in your home dir called .xsession (beginning with dot) and put any xinput command(s) in that.
    Last edited by efflandt; January 14th, 2017 at 05:12 AM.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

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
  •