Skip to content

bitscher/wayland-push-to-talk-fix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wayland-push-to-talk-fix

This fixes the inability to use push to talk in Discord when running Wayland

NOTE: by default the left Meta (Windows) key is used for push to talk. In order to use a different key, change the push-to-talk.sh and push-to-talk.cpp files accordingly.

Requirements

Nothing special.

  • C++ compiler & Makefile
  • libevdev
  • xdotool shell tool
  • bash

Approach

Read specific key events via evdev (needs sudo) and then pass them to xdotool to inject key presses to all X apps.

Installation

Optimally we would install this as a user systemctl service (contributions welcome) but for now you will need to build this and run in the background with the & background operator.

make
./push-to-talk.sh &

License

MIT

About

This fixes the inability to use push to talk in Discord when running Wayland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.3%
  • Makefile 12.2%
  • Shell 6.5%