Skip to content

Instantly share code, notes, and snippets.

View jdssl's full-sized avatar
🍵
Tea temp 99°C

balu jdssl

🍵
Tea temp 99°C
View GitHub Profile
@jdssl
jdssl / keychron_linux.md
Created April 20, 2023 22:19 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

@jdssl
jdssl / README
Created February 20, 2023 12:25 — forked from cstrahan/README
Terminfo config for xterm-256color
# Install:
#
# mkdir ~/.terminfo # optional; can also install to $HOME/share/terminfo
# infocmp screen-256color > screen-256color.terminfo.original # backup
# mkdir dry-run
# tic -o dry-run screen-256color.terminfo
# infocmp -A dry-run screen-256color > screen-256color.terminfo.new
# diff -u screen-256color.terminfo.{original,new}
# tic screen-256color.terminfo # overwrites the old terminfo
#
@jdssl
jdssl / tmux_italic.md
Last active February 20, 2023 18:32 — forked from gyribeiro/tmux_italic.md
enable italic font on tmux
@jdssl
jdssl / duplicate_line_xcode.md
Created July 19, 2021 17:39 — forked from emotality/duplicate_line_xcode.md
Xcode - Duplicate Line key binding

Xcode line duplicate

Bind keys to duplicate lines in Xcode

  1. Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/