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?

More than 1 year has passed since last update.

Linux 備忘録

Last updated at Posted at 2022-09-30

USBフォーマット

$ udo mkfs.ext4 /dev/sdb1 -L "USB Drive"
$ sudo mkfs.exfat /dev/sdb1 -n "USB Drive"

USBマウント

$ lsblk
$ sudo mount /dev/sdc1 /mnt

USBアンマウント

$ sudo umount /dev/sdc1 /mnt

起動用USB作成(iso)

$ sudo dd if=/home/username/Downloads/archlinux.iso of=/dev/sdc bs=512k

CtrlキーとCaps Lockキーの入れ替え

$ sudo pacman -S xorg-xmodmap
$ xmodmap -ke > ~/.Xmodmap
$ vi ~/.Xmodmap

.Xmodmapファイルの末尾に以下を追加

.Xmodmap
 :
clear lock
clear control
keycode 66 = Control_L
add control = Control_L Control_R

以下のコマンドで適用する。

$ xmodmap ~/.Xmodmap

入れ替えたはずなのに、Caps Lockキーを押してもCtrlの動作をしない場合は再度上記コマンドを実行してみる。

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?