[GH-ISSUE #784] Sun Keyboard, special keys not recognized #621

Closed
opened 2026-05-05 06:47:49 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @fesc2000 on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/784

Operating Systems

Server: Linux, Ubuntu 16.04

Client: Macos 10.15

Barrier Version

2.3.2

Steps to reproduce bug

This might be more an enhancement request .. barrier would be the perfect tool to finally support the SunCopy/Paste/..etc keys under MacOs. However, when trying to define a hotkey for them they are simply not recognized.

Most other linux application either support them out of the box or allow keymapping.

xev gives:

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 885991, (511,389), root:(1282,409),
state 0x0, keycode 137 (keysym 0xff66, Redo), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 886615, (511,389), root:(1282,409),
state 0x0, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 887264, (511,389), root:(1282,409),
state 0x0, keycode 141 (keysym 0x1008ff57, XF86Copy), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 887928, (511,389), root:(1282,409),
state 0x0, keycode 143 (keysym 0x1008ff6d, XF86Paste), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 888544, (511,389), root:(1282,409),
state 0x0, keycode 145 (keysym 0x1008ff58, XF86Cut), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 1002540, (660,245), root:(1431,265),
state 0x0, keycode 140 (keysym 0x1005ff71, SunFront), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 1007244, (764,586), root:(1535,606),
state 0x0, keycode 142 (keysym 0x1008ff6b, XF86Open), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 1008933, (757,582), root:(1528,602),
state 0x0, keycode 144 (keysym 0xff68, Find), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 993371, (607,664), root:(610,684),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) "^M"
XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
root 0x4e0, subw 0x0, time 997820, (660,245), root:(1431,265),
state 0x0, keycode 136 (keysym 0xff69, Cancel), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

Other info

Originally created by @fesc2000 on GitHub (Jul 8, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/784 ### Operating Systems ### Server: Linux, Ubuntu 16.04 Client: Macos 10.15 ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### This might be more an enhancement request .. barrier would be the perfect tool to finally support the SunCopy/Paste/..etc keys under MacOs. However, when trying to define a hotkey for them they are simply not recognized. Most other linux application either support them out of the box or allow keymapping. xev gives: KeyRelease event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 885991, (511,389), root:(1282,409), state 0x0, keycode 137 (keysym 0xff66, Redo), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 886615, (511,389), root:(1282,409), state 0x0, keycode 139 (keysym 0xff65, Undo), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 887264, (511,389), root:(1282,409), state 0x0, keycode 141 (keysym 0x1008ff57, XF86Copy), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 887928, (511,389), root:(1282,409), state 0x0, keycode 143 (keysym 0x1008ff6d, XF86Paste), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 888544, (511,389), root:(1282,409), state 0x0, keycode 145 (keysym 0x1008ff58, XF86Cut), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 1002540, (660,245), root:(1431,265), state 0x0, keycode 140 (keysym 0x1005ff71, SunFront), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 1007244, (764,586), root:(1535,606), state 0x0, keycode 142 (keysym 0x1008ff6b, XF86Open), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 1008933, (757,582), root:(1528,602), state 0x0, keycode 144 (keysym 0xff68, Find), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 993371, (607,664), root:(610,684), state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES, XLookupString gives 1 bytes: (0d) "^M" XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x3000001, root 0x4e0, subw 0x0, time 997820, (660,245), root:(1431,265), state 0x0, keycode 136 (keysym 0xff69, Cancel), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False ### Other info ###
Author
Owner

@fesc2000 commented on GitHub (Jul 8, 2020):

I have a draft to add these keys, but i did not comprehend yet why i can't assign a mapping rule for them:
7a49ea600b

<!-- gh-comment-id:655580076 --> @fesc2000 commented on GitHub (Jul 8, 2020): I have a draft to add these keys, but i did not comprehend yet why i can't assign a mapping rule for them: https://github.com/fesc2000/barrier/commit/7a49ea600b0c9fdfe2fb5ff6bb7461e5b1ba8362
Author
Owner

@github-actions[bot] commented on GitHub (Sep 18, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:694596969 --> @github-actions[bot] commented on GitHub (Sep 18, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

Let's not close valid bug reports.

<!-- gh-comment-id:757535958 --> @p12tic commented on GitHub (Jan 10, 2021): Let's not close valid bug reports.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

Fixed in #790.

<!-- gh-comment-id:757536627 --> @p12tic commented on GitHub (Jan 10, 2021): Fixed in #790.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#621
No description provided.