Skip to content

A quickly written shellscript (and desktopfile and icon and sudoers-file) to allow simple connection of keychron keyboards via bluetooth.

License

Notifications You must be signed in to change notification settings

RoepLuke/keychron-bt-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Keycron bt connect

A simple shell script that allows the user to connect his Keychron Bluetooth Keyboard with a Linux powered machine. This - alt least for me - is sometimes a problem. The device does not want to reconnect and i have to manually unpair and re-pair the two devices. Because of this i created this script and if you want you can use it too.

In no way affiliated with Keycron! Use at your own risk!

HowTo

replace any metion of USER in these instructions and in the files from this repository with your own user logon name (see /home/USER/)

  1. Create a new group using ~# groupadd keychron (as root or sudo)
  2. Add yourself to the group using ~# usermod -a -G keychron USER (as root or sudo)
  3. Copy /etc/sudoers.d/keychron (from this repository) into the same folder on your device (as root or sudo)
  4. Set the needed File-Permissions on the copied File with ~# chmod 400 /etc/sudoers.d/keychron (as root or sudo)
  5. Logout and log back in once to let the group change take effect.
  6. Copy /home/USER/.local/bin/keychron-keyboard-connect.sh (from this repository) into the same folder on your device (as your unprivileged user)
  7. Make the File executable by the owner by using ~$ chmod u+x /home/USER/.local/bin/keychron-keyboard-connect.sh (as your unprivileged user)
  8. Copy "/home/USER/.local/share/applications/Keychron Connect.desktop"

About

A quickly written shellscript (and desktopfile and icon and sudoers-file) to allow simple connection of keychron keyboards via bluetooth.

Resources

License

Stars

Watchers

Forks

Languages