waynergy icon indicating copy to clipboard operation
waynergy copied to clipboard

Clipboard sync only works 1-way in Gnome

Open mozram opened this issue 3 years ago • 1 comments

Server: Windows 10, latest Barrier Client: Arch Gnome 41, latest Waynergy Input: raw-keymap wl-clipboard installed

Startup log:

Dropping gid from 1001 to 1000
0.000000160: [INFO] Log initialized at level 4

0.000023211: [DEBUG] Property syn_raw_key_codes not found in INI
0.000038011: [DEBUG] requiring wait() on SIGCHLD
wl-clipboard 2.0.0
Copyright (C) 2019 Sergey Bugaev
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Child died:
81547
Status:
0
0.001138459: [DEBUG] Found wl-paste
wl-clipboard 2.0.0
Copyright (C) 2019 Sergey Bugaev
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Child died:
81548
Status:
0
0.002145195: [DEBUG] Found wl-copy
0.002157435: [DEBUG] not requiring wait() on SIGCHLD
Child died:
81549
Status:
1
0.029776427: [WARN] Could not kill lingering wlpaste instances: -1

0.030992427: [DEBUG] Mutating output...
0.031011237: [DEBUG] Got output at position 3072,194
0.031027627: [DEBUG] Got current mode: 2560x1440@144000*
0.031038647: [DEBUG] Mutating output...
0.031050968: [DEBUG] Got scale factor for output: 1
0.031060898: [DEBUG] Mutating output...
0.031066668: [INFO] Output updated: 2560x1440 at 3072, 194 (scale: 1)
0.031079848: [DEBUG] Mutating output...
0.031093048: [DEBUG] Got output at position 0,0
0.031110239: [DEBUG] Got current mode: 3840x2160@59996*
0.031121009: [DEBUG] Mutating output...
0.031132799: [DEBUG] Got scale factor for output: 2
0.031145379: [DEBUG] Mutating output...
0.031156789: [INFO] Output updated: 3840x2160 at 0, 0 (scale: 2)
0.031172150: [DEBUG] All outputs updated, triggering event
0.031181930: [INFO] Geometry updated: 5632x2160
0.031197120: [DEBUG] Got xdg output position: 3072, 194
0.031208420: [DEBUG] Mutating output from xdg_output event
0.031221600: [DEBUG] Got xdg output size: 2560x1440
0.031235221: [DEBUG] Mutating output from xdg_output event
0.031249791: [DEBUG] Got xdg output name: DP-2
0.031259871: [DEBUG] Mutating output from xdg_output event
0.031272701: [DEBUG] Got xdg output desc: LG Electronics 27"
0.031284621: [DEBUG] Mutating output from xdg_output event
0.031300732: [INFO] Output name: DP-2
0.031309652: [INFO] Output description: LG Electronics 27"
0.031319592: [INFO] Output updated: 2560x1440 at 3072, 194 (scale: 1)
0.031329512: [DEBUG] All outputs updated, triggering event
0.031336222: [INFO] Geometry updated: 5632x2160
0.031353833: [DEBUG] Got xdg output position: 0, 0
0.031362483: [DEBUG] Mutating output from xdg_output event
Watch mode requires a compositor that supports wlroots data-control protocol
0.031371623: [DEBUG] Got xdg output size: 3072x1728
0.031387233: [DEBUG] Mutating output from xdg_output event
0.031396693: [DEBUG] Got xdg output name: DP-3
0.031405013: [DEBUG] Mutating output from xdg_output event
0.031412843: [DEBUG] Got xdg output desc: BenQ Corporation 32"
0.031421884: [DEBUG] Mutating output from xdg_output event
0.031429334: [INFO] Output name: DP-3
0.031436014: [INFO] Output description: BenQ Corporation 32"
0.031445624: [INFO] Output updated: 3072x1728 at 0, 0 (scale: 2)
0.031455194: [DEBUG] All outputs updated, triggering event
0.031464464: [INFO] Geometry updated: 5632x1728
0.031474594: [DEBUG] Trying KDE fake input protocol for input
0.031481115: [DEBUG] Fake input not supported
Child died:
81550
Status:
1
0.031964882: [INFO] Using uinput
0.031979022: [INFO] Using uinput for virtual input
0.032004883: [DEBUG] Property xkb_keymap not found in INI
Watch mode requires a compositor that supports wlroots data-control protocol
Child died:
81551
Status:
1
0.037927188: [WARN] uinput does not support xkb keymaps -- use raw-keymap instead
0.037955098: [DEBUG] max key: 255
0.037994809: [DEBUG] max key update: 332
0.038013649: [DEBUG] max key update: 334
0.038031559: [DEBUG] max key update: 337
0.038048230: [DEBUG] max key update: 348
0.038063900: [DEBUG] max key update: 349
0.038083020: [DEBUG] Got value from INI: raw-keymap/offset: 8
0.038097260: [DEBUG] Using INI value for raw-keymap/offset: 8
0.038120571: [DEBUG] Property xkb_key_offset not found in INI
0.038148551: [DEBUG] Initial raw key offset: 8
0.038168572: [DEBUG] Property offset_on_explicit not found in INI
0.038192452: [DEBUG] set raw key map: 331 = 113
0.038207892: [DEBUG] set raw key map: 328 = 111
0.038223752: [DEBUG] set raw key map: 333 = 114
0.038238893: [DEBUG] set raw key map: 336 = 116
0.038254863: [DEBUG] set raw key map: 347 = 133
0.038270393: [DEBUG] set raw key map: 348 = 134
0.038285953: [DEBUG] set raw key map: 69 = 127
0.038301214: [DEBUG] set raw key map: 338 = 118
0.038316164: [DEBUG] set raw key map: 339 = 119
0.038331094: [DEBUG] set raw key map: 327 = 110
0.038355555: [DEBUG] set raw key map: 335 = 115
0.038371765: [DEBUG] set raw key map: 329 = 112
0.038387115: [DEBUG] set raw key map: 337 = 117
0.038402465: [DEBUG] set raw key map: 312 = 108
0.038418176: [DEBUG] set raw key map: 285 = 105
0.038433696: [DEBUG] set raw key map: 311 = 107
0.038452866: [DEBUG] got idle inhibit request
0.038467366: [WARN] Idle inhibit request, but no idle manager support
0.038483057: [INFO] Going to connect to 192.168.1.102 at port 24800
0.042534011: [INFO] Server is Barrier 1.6
0.042566922: [INFO] Connected as client "MYRDL17241L"
0.418941400: [DEBUG] Got CALV
0.420253811: [DEBUG] Got CALV
3.047435298: [DEBUG] Got CALV
6.048764714: [DEBUG] Got CALV
9.048696894: [DEBUG] Got CALV
Child died:
81558
Status:
0
12.049649831: [DEBUG] Got CALV
15.049868385: [DEBUG] Got CALV
18.050054200: [DEBUG] Got CALV
21.050075892: [DEBUG] Got CALV
24.050577003: [DEBUG] Got CALV

I can do clipboard sync from server to client just fine, but not the other way around. Is this expected for my configuration?

mozram avatar Feb 15 '22 03:02 mozram

As far as I can tell there isn't really a way to monitor the clipboard properly via Wayland for any unfocused application, though I'll leave this open as I think there might be a way to pull it off by abusing Xwayland. I should be able to get around to trying it in the near future.

r-c-f avatar Feb 15 '22 06:02 r-c-f