Skip to content

unclechu/xinput-restore

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

xinput-restore

Saving and restoring xinput devices properties utility.

Usage

Find the ID of your device in the list:

$ xinput list

Save properties of your device (replace %ID% to ID number of your device from xinput list):

$ xinput-restore --save %ID%

It will save properties of your device to file with name as device name to ~/.xinput-saved-props/.

You can specify custom file name:

$ xinput-restore --save %ID% red-mouse

You can change some properties in ~/.xinput-saved-props/

Restore properties for specific device by file name:

$ xinput-restore --restore red-mouse

Or by device product id:

$ xinput-restore --restore '1452, 781'

Restore properties by all saved properties files:

$ xinput-restore

Also you can redefine saved properties files directory:

$ env XINPUT_RESTORE_PROPS_DIR="$HOME/.custom-saved-xinput-props-dir" xinput-restore

About

Saving and restoring xinput devices properties utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages