Rush / wayland-push-to-talk-fix

This fixes the inability to use push to talk in Discord when running Wayland
MIT License
51 stars 12 forks source link

Error: DISPLAY environment variable is empty #11

Closed WangRyan408 closed 6 months ago

WangRyan408 commented 6 months ago

What I typed: sudo push-to-talk -k KEY_SCROLLLOCK -n Scroll_Lock /dev/input/by-id/usb-Glorious_Series_One_PRO_Wireless_000000000000-if01-event-kbd &

Using openSUSE tumbleweed

Input device name: "Glorious Series One PRO Wireless Keyboard" Input device ID: bus 0x3 vendor 0x258a product 0x2031 Error: DISPLAY environment variable is empty. Is there an Xorg or other X server running? You can try setting 'export DISPLAY=:0' and trying again. Failed to initialize xdo lib

WangRyan408 commented 6 months ago

nvm its cause i ran as sudo