0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

zorin os(ubuntu)でcapslockにmac(emacs)ライクのショートカット設定

0
Last updated at Posted at 2026-01-11

capslockにhyperキーを割り当て、macのコントロールキーを目指す試みです。
keydを使います。k(行末まで削除)が実現できませんでした。

コマンドライン実行

gitインストール

sudo apt install git

keydに必要なパッケージをインストール

sudo apt install git build-essential

keydをクローン

git clone https://github.com/rvaiya/keyd
cd keyd

ビルド

make
sudo make install

keydサービスを有効化して起動

sudo systemctl enable keyd
sudo systemctl start keyd

動作確認

sudo systemctl status keyd

enabledと表示されたなら正常です。

設定ファイルの作成と編集

sudo nano /etc/keyd/default.conf

ここではnanoを利用します。

以下の内容を貼り付けてから、保存して終了

[ids]
*
[main]
capslock = layer(hyper)

[hyper]
f = right
b = left
n = down
p = up
a = home
e = end
d = delete
h = backspace

反映

sudo keyd reload

これ以降反映されたままになります。

終わりに

win10や古いmacから移行した方の参考になれば幸いです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?