Giter Club home page Giter Club logo

adamheinrich / i3-natural-scrolling-and-tap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxwell-bland/i3-natural-scrolling-and-tap

0.0 1.0 0.0 2 KB

The above is a script that uses an alternate method to enable natural scrolling and tap-to-click on machines running the i3 window manager. This was created after a realization that, for machines that do not use a synaptics touchpad, the easily googlable solutions to enable natural scrolling are not applicable: these include modifying .Xmodmap (not universal) and using synclient (also not universal).

Shell 100.00%

i3-natural-scrolling-and-tap's Introduction

i3-natural-scrolling and tap-to-click

The above are two scripts that use an alternate method to enable natural scrolling and tap-to-click on machines running the i3 window manager. This was created after a realization that, for machines that do not use a synaptics touchpad, the easily googlable solutions to enable universal natural scrolling and tap-to-click are not applicable: these include modifying .Xmodmap (not universal) and using synclient (also not universal).

IMPORTANT NOTE!

The above scripts may not work for your machine and may require modifications, but hopefully only minor ones. You may have to change the arguments to grep and the format of the cut commands to grab the proper fields. The hope is, however, that this is straight forward enough. It will certainly save you time if it works, and enable universal natural scrolling as well as the tap-to-click feature.

How to Use

Save the scripts to some easily accessible folder. For me it is "~/.scripts/", and then add the following lines to the end of your i3 configuration file: "exec (path to script folder)/inverse-scroll.sh" and "exec (path to script folder)/tap-to-click.sh"

Test the script before-hand! Make sure the values of $id, $natural_scrolling_id, and $tap_to_click_id are correct! This works on my computer but it may not work on yours out of the box!

And that's it. hopefully it is straight-forward enough and provides a nice fix for those without synaptics touchpad drivers.

i3-natural-scrolling-and-tap's People

Contributors

maxwell-bland avatar

Watchers

James Cloos 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.