Code Monkey home page Code Monkey logo

keychron-bt-connect's Introduction

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"

keychron-bt-connect's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.