Debian活用/デスクトップ環境設定

提供: Medeshima wiki
ナビゲーションに移動 検索に移動

設定

GNOME

SSHパスフレーズの保存

GNOME Keyringにパスフレーズを保存するには、*.pubが必要である。

ログイン画面でのサスペンド無効

  • /etc/gdm3/greeter.dconf-defaults
sleep-inactive-ac-timeout=30
sleep-inactive-ac-type='blank'

GNOME Tweaks

Caps lock Ctrl入れ替え

LXDE

タッチパッド

  • 参考

https://wiki.debian.org/SynapticsTouchpad

  • /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
	Option "NaturalScrolling" "on"
EndSection

輝度

$ brightnessctl set 10%

ブルーライトカット

$ redshift
$ redshift-gtk

Emacs

(setq make-backup-files nil)
(global-display-line-numbers-mode t) (custom-set-variables '(display-line-numbers-width-start t))

pop-tag-mark

mew

M-x mew-summary-set-case

editor

$ sudo update-alternatives --config editor
$ sudo update-alternatives --set editor /usr/bin/vim.basic

EDITOR=/usr/bin/vi

ストレージのパスフレーズ

https://wiki.archlinux.jp/index.php/Dm-crypt/%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E3%81%AE%E6%9A%97%E5%8F%B7%E5%8C%96

$ dd if=/dev/random bs=32 count=1 of=/root/random_data_keyfile1
$ cryptsetup luksAddKey /dev/sda3 /root/random_data_keyfile1

/etc/crypttab

home    UUID=<UUID identifier>    /etc/mykeyfile

その他

$ LANG=C xdg-user-dirs-gtk-update

systemd タイマー
systemctl edit
systemctl --user
bluetoothctl
linter clang-tidy
clang-format emacs