refactor: update titles and descriptions to use double quotes for consistency
fix: add newlines and formatting improvements in blog posts refactor: update import paths to use alias for better readability style: update global CSS to use double quotes for consistency chore: update tsconfig to include path aliasing for cleaner imports
This commit is contained in:
parent
05dfaed605
commit
33083907fb
22 changed files with 618 additions and 490 deletions
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: 'Remap Infinix Air Pro+ Copilot Key in Linux'
|
||||
description: 'Re-using Copilot key for something else more useful'
|
||||
title: "Remap Infinix Air Pro+ Copilot Key in Linux"
|
||||
description: "Re-using Copilot key for something else more useful"
|
||||
date: 2025-03-01T22:41:32+07:00
|
||||
draft: false
|
||||
tags:
|
||||
|
|
@ -10,15 +10,17 @@ tags:
|
|||
- tweak
|
||||
---
|
||||
|
||||
> Since I'm moving to Linux, my Copilot key becomes useless.
|
||||
> Since I'm moving to Linux, my Copilot key becomes useless.
|
||||
|
||||
Let me rephrase that! Even when I was using Windows, I never using this Copilot shortcut key in my keyboard 😬. Fortunately, using Linux I can remap this key for something else ~~more useful~~.
|
||||
|
||||
# Requirements
|
||||
|
||||
- A laptop (I'm using Infinix Air Pro+) with a working keyboard.
|
||||
- [keyd](https://github.com/rvaiya/keyd)
|
||||
|
||||
# Finding what this Copilot key do
|
||||
|
||||
- Open your favorite terminal and execute `sudo keyd monitor`. This command will print what events are triggered when a particular key is pressed.
|
||||
- Press the Copilot key and read the output. In my laptop, it print out this:
|
||||
|
||||
|
|
@ -31,13 +33,14 @@ AT Translated Set 2 keyboard 0001:0001:70533846 f23 down
|
|||
- Now I know that my copilot key triggers `leftmeta`, `leftshift`, and `f23`. It's seem legit combination of modifier keys and a function key. But unfortunately when I tried to use it in my desktop environment (I use KDE) to bind a shortcut, it only detect the modifier `meta` and `shift`.
|
||||
|
||||
# `keyd` for the rescue
|
||||
|
||||
Edit `/etc/keyd/default.conf` file and I added these lines:
|
||||
|
||||
```plaintext
|
||||
[ids]
|
||||
0001:0001:70533846
|
||||
|
||||
[main]
|
||||
[ids]
|
||||
0001:0001:70533846
|
||||
|
||||
[main]
|
||||
f23 = f13
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue