r-c-f / waynergy

A synergy client for Wayland compositors
MIT License
394 stars 17 forks source link

Input backend kde not supported #78

Closed Sciroccogti closed 1 year ago

Sciroccogti commented 1 year ago

Hi there! I just installed Manjaro with kde, and installed waynergy from AUR, and libxkbcommon, libressl, wlroots as required.

I also set export XDG_CONFIG_HOME=/home/$USER/.config

Here is the log:

$ waynergy  -c 192.168.0.102 --loglevel 5 -b kde
uinput fd open failed (this is normal if not using uinput backend): Permission denied
0.000000099: [DEBUG] Section log not found in INI
0.000004124: [INFO] Log initialized at level 5
0.000005837: [INFO] waynergy version 0.0.16
0.000009924: [DEBUG] Property syn_raw_key_codes not found in INI
0.000012773: [DEBUG] requiring wait() on SIGCHLD
0.000291211: [WARN] Child died: PID 9846, Status 127
0.000299136: [DEBUG] not requiring wait() on SIGCHLD
0.000302101: [WARN] wl-clipboard not found, no clipboard synchronization support
0.000304428: [DEBUG] Section wayland not found in INI
0.005015935: [DEBUG] Got idle manager
0.005334821: [DEBUG] Seat has pointer
0.005352807: [DEBUG] Seat has keyboard
0.005362108: [DEBUG] Seat name is 
0.005369823: [DEBUG] Got current mode: 2560x1600@59994
0.005376466: [INFO] Not using preferred mode on output -- check config
0.005382656: [DEBUG] Mutating output...
0.005389486: [DEBUG] Got scale factor for output: 2
0.005399162: [DEBUG] Mutating output...
0.005412231: [DEBUG] Mutating output...
0.005419391: [DEBUG] Got output at position 0,0
0.005427517: [INFO] Output updated: 2560x1600 at 0, 0 (scale: 2)
0.005435326: [DEBUG] All outputs updated, triggering event
0.005444226: [INFO] Geometry updated: 2560x1600
0.005452726: [DEBUG] Got xdg output position: 0, 0
0.005468304: [DEBUG] Mutating output from xdg_output event
0.005480072: [DEBUG] Got xdg output size: 1463x914
0.005490250: [DEBUG] Mutating output from xdg_output event
0.005519247: [DEBUG] Got xdg output name: eDP-1
0.005526625: [DEBUG] Mutating output from xdg_output event
0.005534866: [DEBUG] Got xdg output desc: LG Display eDP-1-unknown
0.005542958: [DEBUG] Mutating output from xdg_output event
0.005551626: [INFO] Output name: eDP-1
0.005558552: [INFO] Output description: LG Display eDP-1-unknown
0.005570435: [INFO] Output updated: 1463x914 at 0, 0 (scale: 2)
0.005576716: [DEBUG] All outputs updated, triggering event
0.005583061: [INFO] Geometry updated: 1463x914
0.005882479: [DEBUG] Property wl_keyboard_map not found in INI
0.006000918: [DEBUG] Current keymap updated
0.006064092: [INFO] Compositor seems to be kwin_wayland_wr
0.006072818: [DEBUG] Trying KDE fake input protocol for input
0.006078682: [DEBUG] Fake input not supported
0.006089043: [ERROR] Input backend kde not supported

I think maybe I missed something. Should I try uinput?

r-c-f commented 1 year ago

You may have luck starting it from the desktop menu rather than the terminal itself; if not I'll need to look into whether the scheme to request privileged interfaces has changed

Sciroccogti commented 1 year ago

It does work! Thanks so much!

BTW, I think the config example should be shown on the README, so that new users can learn how to write the config.ini easily.