[GH-ISSUE #778] Setting Hotkeys via GUI creates invalid config file #615

Closed
opened 2026-05-05 06:47:12 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @aoikato on GitHub (Jul 4, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/778

Operating Systems

Server: Arch Linux

Client: Ubuntu 18.04.01 LTS

Barrier Version

2.3.2

Steps to reproduce bug

  1. Open 'Barrier' GUI application.
  2. Select 'Configure interactively' if not, and click 'Configure Server.'
  3. Create a hotkey of 'keystroke(Control+,)' for any action such as 'switchInDirection(up).'
  4. Click 'OK' and 'Start.'
  5. Barrier never starts, and log says 'cannot read configuration.'
  6. After a while, dialog appears and says 'Program can not be started.'

Other info

  • work around:
  1. After the step 6 above, save current nonfunctional configuration as a file by clicking 'Barrier' and 'Save configuration.'
  2. Substitute keystroke(Control+comma) forkeystroke(Control+,) in that file.
  3. Load this file, and <C+,> can be used as a hotkey properly.
Originally created by @aoikato on GitHub (Jul 4, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/778 ### Operating Systems ### Server: Arch Linux Client: Ubuntu 18.04.01 LTS ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### 1. Open 'Barrier' GUI application. 2. Select 'Configure interactively' if not, and click 'Configure Server.' 3. Create a hotkey of 'keystroke(Control+,)' for any action such as 'switchInDirection(up).' 4. Click 'OK' and 'Start.' 5. Barrier never starts, and log says 'cannot read configuration.' 6. After a while, dialog appears and says 'Program can not be started.' ### Other info ### * work around: 7. After the step 6 above, save current nonfunctional configuration as a file by clicking 'Barrier' and 'Save configuration.' 8. Substitute `keystroke(Control+comma)` for`keystroke(Control+,)` in that file. 9. Load this file, and <C+,> can be used as a hotkey properly.
Author
Owner

@zeorin commented on GitHub (Sep 17, 2020):

Thanks, this really helped me out.
I was trying to bind a key using Super, which it put in the config as Meta. Following your steps, but changing Meta to Super made it work.

<!-- gh-comment-id:694188553 --> @zeorin commented on GitHub (Sep 17, 2020): Thanks, this really helped me out. I was trying to bind a key using `Super`, which it put in the config as `Meta`. Following your steps, but changing `Meta` to `Super` made it work.
Author
Owner

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

Fixed in #916, thanks for reporting the issue.

<!-- gh-comment-id:757503928 --> @p12tic commented on GitHub (Jan 10, 2021): Fixed in #916, thanks for reporting the issue.
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#615
No description provided.