Code Monkey home page Code Monkey logo

kensington-expert-trackball-linux-config's Introduction

kensington-expert-trackball-linux-config

This is a configuration script for the Kensington Expert trackball that remaps some of the buttons and edits some props.

This scripts dependancies are xinput grep and sed which should be installed on all distros by default.

There are comments in the script which should help you setup your own config.

Layout

If you run the script as is without changing anything this will be your layout:

______________   _________  ________________
| back       |   |       |  | right click  |
--------------   |       |  ----------------
______________   |       |  ________________
| left click |   |       |  | middle click |
--------------   ---------  ----------------

  1. Natural scrolling will be enabled. ( scrolling is smoother with this on )
  2. Ball acceliration will be disabled.
  3. Middle click + ball roll can also be used to scroll. ( very smooth and fast scrolling )

Usage

You can run the script simpy by calling the script ./Kensington_Expert_Setup.sh there is no need for root.

Or a better way is to put it in your desktop environment or window manager config, so that it runs when you login, the script also checks if the trackball is present before running any commands so its safe to use it like this.

I use i3 window manager so I put this in my i3 config exec_always --no-startup-id ~/scrips/Kensington_Expert_Setup.sh

Todo

I want to change the scroll speed without using any other external programs but this trackball is missing a property in xinput props to be able to do so.

The kensington software on windows allows you to press two buttons at once for a different input which is pretty cool, so I'm looking for a way to achieve this on linux too. It doesn't seem possible with xinput to my knowledge.

Video

Youtube

kensington-expert-trackball-linux-config's People

Contributors

artiomsu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.