User Tools

Site Tools


linux

This is an old revision of the document!


Linux

Install per the manufacturer's instructions, then checkout the top tips at their community forum.

First Things

First installation notes from my AMD Ryzen 7040 Series Framework (32GB DDR5-5600, 1TB NVMe) Ubuntu 22.04 LTS:

sudo apt update && sudo apt upgrade -y
sudo apt install vim git
sudo apt install exuberant-ctags cscope moreutils

Now that you have vim and git:

git clone ssh://dblume@dlma.com/~/git/dotfiles.git
cd dotfiles
./setup.sh

Now that you can barely tolerate your terminal, get the rest:

sudo apt install tmux entr
tmux
sudo apt install curl jq tree expect gnuplot httpie visidata
sudo apt install python3-pip
python3 -m pip install matplotlib

Install Google Chrome.

Copy over the .ssh, .localrc, .gitconfig.local, .history files from the old computer. Export gpg keys from the old computer:

gpg -a --export david@dlma.com > david-dlma.com-public-gpg.key
gpg -a --export-secret-keys david@dlma.com > david-dlma.com-secret-gpg.key  # passphrase in secure

Once you've got them on the new computer,

gpg --import david-dlma.com-public-gpg.key
gpg --import david-dlma.com-secret-gpg.key
gpg --edit-key david@dlma.com
...
gpg> trust
Your decision? 5 (Ultimate trust)

Desktop

Learn Shortcuts

Consider vim leader (\), vim window (C-w), tmux leader (C-a)…

How to change workspaces? (Ctrl+Alt ← or →)

i3

Configuration

.config/i3/config
font pango:DejaVu Sans Mono 16
 
# bindsym all the jkl; to hjkl
 
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --color 101030 --nofork

Enable touchpad tap to click in i3.
xinput to find the name of the Touchpad (the id can change)
xinput list-props “PIXA3854:00 093A:0274 Touchpad” to see properties

.xsessionrc
xinput set-prop "PIXA3854:00 093A:0274 Touchpad" "libinput Tapping Enabled" 1
xinput set-prop "PIXA3854:00 093A:0274 Touchpad" "libinput Natural Scrolling Enabled" 1
xinput set-prop "PIXA3854:00 093A:0274 Touchpad" "libinput Tapping Drag Lock Enabled" 1

From HiDPI -> X Resources: (96dpi * 1.5 = 144dpi)

.Xresources
Xft.dpi: 144

I have the ridiculously tiny font problem where a commenter suggests “set the DPI in your xorg.conf”. HOWTO set DPI in Xorg.

The tiny Wi-Fi connection dialog is Dunst which has its own config reddit thread.

Gnome (Desktop Env) Usability Issues

Enable tap and drag lock:

gsettings set org.gnome.desktop.peripherals.touchpad tap-and-drag-lock true

Screen Resolution and Zoom

Resolution: 2256 x 1504
Zoom: 125%

Terminal Font: 16pt
Chrome Zoom: 110%

Other Questions

Unsatisfactorily Resolved

Using the fingerprint reader doesn't unlock keyring. Just use password.

How to change 2-finger touchpad scroll speed on Ubuntu 22.04. If you really want this, may have to compile libinput-config locally.

linux.1699430504.txt.gz · Last modified: 2023/11/08 00:01 by dblume