Skip to content

katexochen/secondseat

main
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Secondseat - Have fun together on the same host

Secondseat lets you add a second keyboard and mouse to a new primary XInput, so you can use two dedicated pointers and type parallel in different windows at the same time. It is a small wrapper around the xinput CLI.

Demo

Prerequisites

  • Minimal XServer version 1.20
  • XInput must be installed
  • Go installed

Install

go install github.com/katexochen/secondseat@latest

Usage

  secondseat [command]

Available Commands:
  add         Add input devices for a second user
  remove      Remove second input user
  help        Help about any command
  completion  Generate the autocompletion script for the specified shell

Flags:
  -h, --help   help for secondseat

Use "secondseat [command] --help" for more information about a command.

Limitations

  • Curser flickering when moving the one of the pointers.
  • Sometimes the selection of windows doesn't work as expected.
  • Some applications don't support multiple pointers and won't differentiate between the different input devices. Applies to:
    • Firefox (Chromium works)

Further information

About

Use two mice and keyboards on the same host.

Topics

Resources

License

Stars

Watchers

Forks

Languages