Problem persists even after substituting another keyboard and mouse. They work in BIOS and GRUB but not once Ubuntu GUI loads. Thanks to all X11 developers for awesome tools they created.Hi, my mouse and keyboard suddenly stopped working. Thanks to Linux Wacom Project developers for making it possible to use Wacom as input device on Linux. Thanks to Bruce Byfield for his Wacom-related articles for Linux Magazine. You can run add that command to autostart commands. Tip: autostartĪdd following command to autostart commands: bash -c 'cd /path/to/folder/with/config/ & /path/to/x11-input-supercharger & disown ' Tip: cursor speed xinput set-prop "Wacom Bamboo Pen stylus " "Device Accel Constant Deceleration " 1.6 However, different keyboard grabbing solution was used back then, which caused lags in Chromium-based programs. They used text parser instead of X11 API. If the program is unstable on your system, check out versions 0.2.x. KSysGuard shows the program uses 0-1% of CPU time on Intel i5 6300HQ. The code is ugly, and the program sometimes crashes on shutdown (but doesn't seem to leave the system in broken state). Konsole (terminal emulator) doesn't like having a key pressed when selecting. toml must be in current working directory when starting the program. Rust stable toolchain is required.Ĭonfig. Grab binary from Releases page, or build it yourself by copying the source and running cargo build -release, or have Cargo download the sources and put binary in PATH for you with cargo install x11-input-supercharger. Installationįirst, install GTK 3.18+ (default in Ubuntu 16.04 and newer), xdotool and xmodmap. You can check button IDs with xinput test -xi2 -root. Button IDs 4 and 5 are reserved for scroll events. I recommend using additional buttons if your mouse has these. Middle button ID is 2, but that requires you to unbind its pasting functionality somehow. "Gaming Mouse", and stylus_button_id with some button ID. Use config above, but replace xinput_grep with f.e. # **DO NOT USE TOGGLE BUTTON (CapsLock etc.)** key_unused2 = 63 # numpad * Example config - mouse # **DO NOT USE TOGGLE BUTTON (CapsLock etc.)** key_unused1 = 106 # numpad / # Key that will be used for temporary purposes. # **DO NOT USE TOGGLE BUTTON (CapsLock etc.)** key_rmb = 26 # E # Key that will be used for temporary purposes. # **DO NOT USE TOGGLE BUTTON (CapsLock etc.)** key_lmb = 25 # W # Key that emulates right mouse button. timeout_ms = 500 # Key that emulates left mouse button. subdevice = 0 # How much time must pass until keys go back to normal. device = "Wacom Bamboo Pen stylus " # Change it if you have many devices with the same name. Use # `xinput list` and `xinput test-xi2 -root` to determine. # Device that moves or has buttons, used to determine timeout. Remove/comment out # whole section if you don't want it. Active only until `timeout_ms` has passed since # the last time any of grabbed devices was used. button_id = 3 # Whether to show crosshair/indicator at cursor original position # (when the scrolling started) indicator = true indicator_size = 5 # Whether to stop scrolling when keyboard event occurs cancel_on_keypress = true # Click using keyboard. # Button 3 is upper button on Wacom Bamboo Pen. speed = 600000 # Which button toggles scrolling. Equation: `speed`×`distance` # ÷1_000_000_000 = emulated mouse wheel rolls. # Recommended to set `speed` to high value and decrease system-wide # scrolling speed as much as possible. Has different effect on different screen resolutions. # Recommended `false` on tablets, as it's annoying when you connectivity # while using `hold = true`. subdevice = 0 # `hold = false` means click once to enable, click once to disable. Use `xinput list` and `xinput test-xi2 -root` to # determine. Remove/comment # out whole section if you don't want it. The longer the distance between the # cursor and the starting point, the faster you scroll. Press `button_id` to start scrolling, # then move your mouse up or down. Example config - Wacom Bamboo tablet # Windows-like auto-scrolling. bind LMB to 2, and open link in a new tab by pressing Ctrl+2 (Ctrl+LMB), unbind Ctrl+2 in your browser settings beforehand. Since 0.3.0, keyboard shortcuts are not captured correctly. Scrolling mode requires selected button to be unbound ( example). clicking using keyboard keys, active only for x ms after selected input device was last usedĬan be used by mouse or graphics tablet users.auto-scrolling mode - click (middle) button and drag cursor to scroll, click again to leave the mode (can be customized to use different button or to require holding the button).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |