Skip to content

Instantly share code, notes, and snippets.

2022 Zephyrus G14 Fedora Silverblue Setup

GPU Naming

Most applications in Linux will report the names of the two GPUs as follows.

  • Dimgrey Cavefish is dGPU
  • Yellow Carp is iGPU

Boot Hotkeys

@vsnthdev
vsnthdev / clean.sh
Created March 25, 2021 12:44
Lenovo P11 Pro (TB-J706L) Bloatware Removal Script
#!/usr/bin/env bash
# DEFINE THE BLOATWARE APPLICATIONS WHICH
# ARE SAFE TO BE REMOVED
declare -a bloatware=(
# Google Bloatware
"com.google.android.apps.subscriptions.red" # Google One
"com.google.android.apps.googleassistant" # Google Assistant
"com.google.android.apps.docs" # Google Docs
"com.google.android.apps.docs.editors.docs" # Google Docs
@andrebrait
andrebrait / keychron_linux.md
Last active November 7, 2024 08:48
Keychron keyboards on Linux + Bluetooth fixes

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

Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.

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 (NOT FOR QMK-BASED BOARDS)

Older Keychron keyboards (those not based on QMK) use the hid_apple driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.