notetoself - Setup Linux Computer

2025-04-15

~/.config/gtk-3.0/gtk.css

.terminator-terminal-window separator {
  background: #ff8800;
}

https://www.reddit.com/r/framework/comments/1n2o4uh/fw_desktop_incredibly_slow_boot/ https://github.com/FrameworkComputer/SoftwareFirmwareIssueTracker/issues/112 https://extensions.gnome.org/extension/8589/save-my-windows/ https://extensions.gnome.org/extension/5353/window-state-manager/ https://extensions.gnome.org/extension/4833/all-windows-saverestore-window-positions/

sudo dnf install rpmfusion-free-release-tainted sudo dnf -y install libdvdcss

https://www.reddit.com/r/archlinux/comments/14bnnsh/how_to_make_home_and_root_btrfs_subvolumes_post/

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.37.2026011903/vspackage

https://github.com/VSCodium/vscodium/discussions/1487
/usr/share/codium/resources/app/product.json

Copilot Chat version:
    - https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
    - 0.37.2026011903
    - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.37.2026011903/vspackage
    - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.31.0/vspackage
    - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.36.0/vspackage

Copilot version:
    - https://marketplace.visualstudio.com/items?itemName=GitHub.copilot
    - 1.388.0
    - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot/1.388.0/vspackage
https://github.com/settings/copilot/features

Keyring problem
~/.vscode-oss/argv.json
https://askubuntu.com/questions/1557152/vscode-throws-os-keyring-error-on-ubuntu-25-10

todo 🔗

11 cp -r ~/_RUMPEL/home/frans/.gnupg .

Signal 🔗

from projects/frans/sources.yaml

cp -r <OLD>/.var/app/org.signal.Signal ~/.var/app
flatpak install flathub org.signal.Signal

/etc/dnf/dnf.conf

[main]
gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=False
max_parallel_downloads=10
fastestmirror=True
  653  git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/All-Users" && (cd "All-Users" && mkdir -p `git rev-parse --git-dir`/hooks/ && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.lan.tribe29.com/tools/hooks/commit-msg && chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
  850  #git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config" && (cd "Config" && mkdir -p `git rev-parse --git-dir`/hooks/ && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.lan.tribe29.com/tools/hooks/commit-msg && chmod +x `git rev-parse --git-dir`/hooks/commit-msg)
  851  git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config"
  852  git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config-Data"
 1399  git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/check_mk" cmk-3
 4357  git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/checkmk_ci" cmkci
 5010  git clone https://github.com/jenkinsci/jenkins
 5014  git clone https://github.com/jenkinsci
 5015  git clone https://github.com/jenkinsci/executors-plugin
 5018  git clone https://github.com/moby/moby/issues/18054
 5019  git clone https://github.com/moby/moby
 5379  git clone https://github.com/jenkinsci/docker-plugin
 5382  git clone https://github.com/jenkinsci/docker-workflow-plugin
 6243  git clone https://github.com/moby/buildkit
 9547  git clone git@projects.om-office.de:frans/wrap-11ty.git
 9656  git clone https://github.com/aspect-build/rules_ts rules_ts.git
 9657  git clone https://github.com/aspect-build/rules_js rules_js.git
 9688  git clone https://github.com/bazelbuild/examples bazelbuild_examples.git
 9744  git clone https://github.com/bazel-contrib/rules_nodejs bazel-contrib/rules_nodejs.git
cp /etc/xdg/autostart/gnome-keyring*.desktop ~/.config/autostart/

Hidden=true
echo -e "vpn.secrets.cert-pass:irrelevant\nvpn.secrets.password:$(pass show ubuntu/primary|head -1)$(ykman oath accounts code -s 'Checkmk VPN:frans.fuerst@vpn')" | nmcli con up 'Checkmk' passwd-file /dev/fd/0

Rumpelkiste 🔗

# cryptsetup luksDump /media/<USER>/<DEVICE>/backup
cryptsetup luksOpen $(losetup --find --show /media/<USER>/<DEVICE>/backup) mycontainer
#vgdisplay 
#vgscan
#vgchange -ay
#ls /dev/mapper/
mkdir -p /mnt/tempmount
mount /dev/mapper/ubuntu--mate--vg-root /mnt/tempmount/
rsync -r /mnt/tempmount/ /home/<USER>/_BACKUP/

track 🔗

cp ~/old/location/.track/category_rules.json ~/.track/
git clone git@github.com:frans-fuerst/track.git
uvx poetry install
uvx poetry run ./track-cli

Basic system config 🔗

disk encryption 🔗

https://wiki.lan.checkmk.net/display/ANYCMK/Linux+Disk+Encryption

sudo cryptsetup luksChangeKey /dev/{partition}

apps 🔗

apt install curl zsh terminator pass meld htop gdu gedit vim tmux git tig ddrescue gparted
dnf install git gdu nvtop htop btop podman ansible distrobox zsh pass terminator pipx syncthing-tools gnome-tweaks meld \
  strace \
  syncthing \
  wine-desktop wine-alsa wine-dxvk wine-dxvk-d\* winetricks
pipx install uv

dev dependencies 🔗

apt install libpng-dev libcairo-dev libpango1.0-dev libkrb5-dev libldap-dev libsasl2-dev gettext

Basic applications 🔗

🔗

curl -Ls https://astral.sh/uv/install.sh | bash
uv self update

docker 🔗

sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
  sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg

# Set up the Docker APT repository
echo \
  "deb [arch=$(dpkg --print-architecture) \
  signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce

syncthing 🔗

curl -s https://syncthing.net/release-key.txt | sudo gpg --dearmor -o /usr/share/keyrings/syncthing-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | \
  sudo tee /etc/apt/sources.list.d/syncthing.list

sudo apt update
sudo apt install syncthing

systemctl --user enable syncthing
systemctl --user start syncthing
systemctl enable syncthing@$USER.service
systemctl start syncthing@$USER.service

config sys 🔗

bash / zsh config 🔗

pass 🔗

Security (syncthing) 🔗

authenticator 🔗

sudo apt install flatpak
flatpak install flathub com.yubico.yubioath
flatpak run com.yubico.yubioath

or via https://developers.yubico.com/yubioath-desktop/Releases/

sudo apt install yubioath-cli
yubioath-cli list
yubioath-cli code <ID>

pycharm 🔗

https://www.jetbrains.com/de-de/pycharm/download/?section=linux

flatpak install flathub com.jetbrains.PyCharm-Community

flatpak 🔗

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/home/fransfuerst/.local/share/flatpak/exports/share

groups 🔗

hostname 🔗

sudo hostname <hostname>

startup: gedit, signal, terminal (solaar)

tlp (battery safer) 🔗

sudo dnf install tlp
sudo vi /etc/tlp.conf 
#START_CHARGE_THRESH_BAT0=60
#STOP_CHARGE_THRESH_BAT0=90
sudo systemctl enable tlp.service
sudo systemctl start tlp.service

test hardware (to compare) 🔗

🔗

util-linux-user sqlite

Browser 🔗

python 🔗

gedit 🔗

terminator 🔗

zsh / oh-my (syncthing) 🔗

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chsh -s $(which zsh)

config sharing (syncthing) 🔗

ln -s ~/_SHARED/config.sys/terminator.config  ~/.config/terminator/config
ln -s ~/_SHARED/config.sys/gitconfig .gitconfig 

Gnome 🔗

Fonts 🔗

git clone https://github.com/adobe-fonts/source-code-pro.git
mkdir -p ~/.local/share/fonts
cp source-code-pro/OTF/*.otf ~/.local/share/fonts/
fc-cache -f -v

xorg / x11 🔗

sudo nano /etc/gdm3/custom.conf
WaylandEnable=false
echo $XDG_SESSION_TYPE

tweaks 🔗

https://askubuntu.com/questions/1249107/cant-increase-the-number-of-recent-documents-in-gedit

system monitor 🔗

 sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor chrome-gnome-shell

- https://extensions.gnome.org/extension/3010/system-monitor-next/

Media 🔗

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

gsettings set org.gnome.desktop.interface enable-hot-corners false
sudo dnf install \
  https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install \
  https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

dnf group upgrade --with-optional Multimedia
dnf install gstreamer1-plugins-bad-\*
dnf install gstreamer1-plugins-good-\*
dnf install gstreamer1-plugin-openh264 mozilla-openh264

Suspend 🔗

# cat /usr/lib/systemd/system-sleep/disable-some-devices
#! /bin/bash
# https://askubuntu.com/questions/1395148/pc-wakes-up-immediately-after-suspend
# https://ubuntu-mate.community/t/ubuntu-wakes-up-immediately-after-suspend-how-to-fix-it/26848
case $1 in
    pre)
        declare -a devices=(GPP0 GPP8 XHC0 PTXH)

        for device in "${devices[@]}"; do
            if $(grep -qw ^${device}.*enabled /proc/acpi/wakeup); then
                echo ${device}
                echo ${device} > /proc/acpi/wakeup
            fi
        done
    ;;
esac

trouble shooting 🔗

long boot time on framework desktop 🔗

boot error 🔗

RDSEED32 is broken

usb errors 🔗

games not starting 🔗

llms not starting 🔗

[ 144.889675] amdgpu: init_user_pages: Failed to get user pages: -1 [ 251.903445] dw-apb-uart AMDI0020:00: failed to request DMA

sudo dnf install fedora-repos-archive
sudo dnf --enablerepo=updates-archive downgrade amd-gpu-firmware-20251111
sudo dracut -f
common_init_result: fitting params to device memory, for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on
Memory access fault by GPU node-1 (Agent handle: 0x346a3060) on address 0x7f3e1939c000. Reason: Page not present or supervisor privilege.
[1]    14145 IOT instruction (core dumped)  llama-server --host 0.0.0.0 --port 9000 -m 
[  128.605737] amdgpu 0000:c2:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:153 vmid:8 pasid:32771)
[  128.605745] amdgpu 0000:c2:00.0: amdgpu:  Process llama-server pid 14145 thread llama-server pid 14145
[  128.605748] amdgpu 0000:c2:00.0: amdgpu:   in page starting at address 0x00007f3e1939c000 from client 10

Read 🔗

https://fosspost.org/things-to-do-after-installing-fedora-37/ https://www.reddit.com/r/linuxaudio/comments/id62ul/fluidsynth_restart_hangs_jack/

https://www.reddit.com/r/thinkpad/comments/zvlefe/installing_fedora_on_carbon_x1_gen_10/ https://forum.level1techs.com/t/fedora-23-oh-no-something-went-wrong-unable-to-recover/98542

Page source `~/.config/gtk-3.0/gtk.css` ``` .terminator-terminal-window separator { background: #ff8800; } ``` https://www.reddit.com/r/framework/comments/1n2o4uh/fw_desktop_incredibly_slow_boot/ https://github.com/FrameworkComputer/SoftwareFirmwareIssueTracker/issues/112 https://extensions.gnome.org/extension/8589/save-my-windows/ https://extensions.gnome.org/extension/5353/window-state-manager/ https://extensions.gnome.org/extension/4833/all-windows-saverestore-window-positions/ sudo dnf install rpmfusion-free-release-tainted sudo dnf -y install libdvdcss https://www.reddit.com/r/archlinux/comments/14bnnsh/how_to_make_home_and_root_btrfs_subvolumes_post/ ``` https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.37.2026011903/vspackage https://github.com/VSCodium/vscodium/discussions/1487 /usr/share/codium/resources/app/product.json Copilot Chat version: - https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat - 0.37.2026011903 - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.37.2026011903/vspackage - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.31.0/vspackage - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot-chat/0.36.0/vspackage Copilot version: - https://marketplace.visualstudio.com/items?itemName=GitHub.copilot - 1.388.0 - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/GitHub/vsextensions/copilot/1.388.0/vspackage https://github.com/settings/copilot/features Keyring problem ~/.vscode-oss/argv.json https://askubuntu.com/questions/1557152/vscode-throws-os-keyring-error-on-ubuntu-25-10 ``` ### todo 11 cp -r ~/_RUMPEL/home/frans/.gnupg . ## Signal from `projects/frans/sources.yaml` ``` cp -r <OLD>/.var/app/org.signal.Signal ~/.var/app flatpak install flathub org.signal.Signal ``` * [ ] Calibre / Syncthing * [ ] Signal import * [ ] config.sys * [ ] pass * [ ] Syncthing-ordner cleanup https://linuxcapable.com/increase-dnf-speed-on-fedora-linux/ `/etc/dnf/dnf.conf` ``` [main] gpgcheck=True installonly_limit=3 clean_requirements_on_remove=True best=False skip_if_unavailable=False max_parallel_downloads=10 fastestmirror=True ``` * [ ] swap FN/F-keys * [ ] setup kagi * [ ] go through config.sys/install.md * [ ] disable history / privacy settings * bazel / gcc / build-essential / clang * [ ] setup backup * [ ] setup check-script * [ ] setup ~/bin * [x] git config * [ ] vim config * [ ] setup and establish git repos ``` 653 git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/All-Users" && (cd "All-Users" && mkdir -p `git rev-parse --git-dir`/hooks/ && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.lan.tribe29.com/tools/hooks/commit-msg && chmod +x `git rev-parse --git-dir`/hooks/commit-msg) 850 #git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config" && (cd "Config" && mkdir -p `git rev-parse --git-dir`/hooks/ && curl -Lo `git rev-parse --git-dir`/hooks/commit-msg https://review.lan.tribe29.com/tools/hooks/commit-msg && chmod +x `git rev-parse --git-dir`/hooks/commit-msg) 851 git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config" 852 git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/Config-Data" 1399 git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/check_mk" cmk-3 4357 git clone "ssh://frans.fuerst@review.lan.tribe29.com:29418/checkmk_ci" cmkci 5010 git clone https://github.com/jenkinsci/jenkins 5014 git clone https://github.com/jenkinsci 5015 git clone https://github.com/jenkinsci/executors-plugin 5018 git clone https://github.com/moby/moby/issues/18054 5019 git clone https://github.com/moby/moby 5379 git clone https://github.com/jenkinsci/docker-plugin 5382 git clone https://github.com/jenkinsci/docker-workflow-plugin 6243 git clone https://github.com/moby/buildkit 9547 git clone git@projects.om-office.de:frans/wrap-11ty.git 9656 git clone https://github.com/aspect-build/rules_ts rules_ts.git 9657 git clone https://github.com/aspect-build/rules_js rules_js.git 9688 git clone https://github.com/bazelbuild/examples bazelbuild_examples.git 9744 git clone https://github.com/bazel-contrib/rules_nodejs bazel-contrib/rules_nodejs.git ``` * [ ] disable keyring ```sh cp /etc/xdg/autostart/gnome-keyring*.desktop ~/.config/autostart/ Hidden=true ``` * [ ] ssh via yubikey * [ ] bitwarden for firefox / brave * [ ] blueproximity * [ ] browserlinks jira wiki ci https://wiki.lan.checkmk.net/display/public/ISMS/How+to+report+phishing+and+spam https://wiki.lan.checkmk.net/display/DEV/Git+setup https://wiki.lan.checkmk.net/display/CON/Chris+Onboarding+strategy+for+new+employes#ChrisOnboardingstrategyfornewemployes-Basiclaptopsetup.1 https://wiki.lan.checkmk.net/display/public/ISMS/Cryptography+policy https://wiki.lan.checkmk.net/pages/viewpage.action?pageId=106333717 https://wiki.lan.checkmk.net/display/PM/Introduction https://chatgpt.com https://notetoself.om-office.de/ * [ ] setup vpn script ```sh echo -e "vpn.secrets.cert-pass:irrelevant\nvpn.secrets.password:$(pass show ubuntu/primary|head -1)$(ykman oath accounts code -s 'Checkmk VPN:frans.fuerst@vpn')" | nmcli con up 'Checkmk' passwd-file /dev/fd/0 ``` * [ ] track (migrate) Mi: 7.55 - 17:00 Mo: 8:00 * [ ] signal * [ ] .venv/bin/python src/find_in_build_logs.py * [ ] src/build_history.py * [ ] sauron.py * [ ] history database * [ ] factorio ### Rumpelkiste ``` # cryptsetup luksDump /media/<USER>/<DEVICE>/backup cryptsetup luksOpen $(losetup --find --show /media/<USER>/<DEVICE>/backup) mycontainer #vgdisplay #vgscan #vgchange -ay #ls /dev/mapper/ mkdir -p /mnt/tempmount mount /dev/mapper/ubuntu--mate--vg-root /mnt/tempmount/ rsync -r /mnt/tempmount/ /home/<USER>/_BACKUP/ ``` ### track * needs uvx, git, build-essential, clang ```sh cp ~/old/location/.track/category_rules.json ~/.track/ ``` ``` git clone git@github.com:frans-fuerst/track.git uvx poetry install uvx poetry run ./track-cli ``` ## Basic system config ### disk encryption https://wiki.lan.checkmk.net/display/ANYCMK/Linux+Disk+Encryption ``` sudo cryptsetup luksChangeKey /dev/{partition} ``` ### apps ```sh apt install curl zsh terminator pass meld htop gdu gedit vim tmux git tig ddrescue gparted ``` ```sh dnf install git gdu nvtop htop btop podman ansible distrobox zsh pass terminator pipx syncthing-tools gnome-tweaks meld \ strace \ syncthing \ wine-desktop wine-alsa wine-dxvk wine-dxvk-d\* winetricks pipx install uv ``` ### dev dependencies ```sh apt install libpng-dev libcairo-dev libpango1.0-dev libkrb5-dev libldap-dev libsasl2-dev gettext ``` ### Basic applications * keyboard layout - "English US (intl. with AltGr dead keys) * adblock ublock ### ``` curl -Ls https://astral.sh/uv/install.sh | bash uv self update ``` ### docker ```sh sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg # Set up the Docker APT repository echo \ "deb [arch=$(dpkg --print-architecture) \ signed-by=/etc/apt/keyrings/docker.gpg] \ https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt update sudo apt install -y docker-ce ``` ### syncthing ``` curl -s https://syncthing.net/release-key.txt | sudo gpg --dearmor -o /usr/share/keyrings/syncthing-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | \ sudo tee /etc/apt/sources.list.d/syncthing.list sudo apt update sudo apt install syncthing systemctl --user enable syncthing systemctl --user start syncthing ``` * `dnf install syncthing` ``` systemctl enable syncthing@$USER.service systemctl start syncthing@$USER.service ``` * http://localhost:8384/ * set name * set default root * http://zentrale:8384/ ### config sys ### bash / zsh config * [ ] ohmyzsh `sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"` * bash-history via `config.sys` ### pass * [ ] pass (syncthing > zsh/bash) ## Security (syncthing) * requires syncthing for gpg key sharing * ssh-keygen -t ed25519-sk -C "yubi-ssh" * [ ] ssh key -> github gitlab netcup * ssh-keygen -t ed25519 * [ ] gpg / pass ### authenticator ``` sudo apt install flatpak flatpak install flathub com.yubico.yubioath flatpak run com.yubico.yubioath ``` or via https://developers.yubico.com/yubioath-desktop/Releases/ ``` sudo apt install yubioath-cli yubioath-cli list yubioath-cli code <ID> ``` ### pycharm https://www.jetbrains.com/de-de/pycharm/download/?section=linux ```sh flatpak install flathub com.jetbrains.PyCharm-Community ``` ### flatpak flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/home/fransfuerst/.local/share/flatpak/exports/share ### groups * `docker` `dialout` `adm` `cdrom` `sudo` `dip` `plugdev` `lpadmin` * `sambashare` `vboxusers` * `input` `audio` `jackuser` `pulse-rt` * `sudo usermod -aG tty,dialout,cdrom,audio,video,render $USER` ### hostname ``` sudo hostname <hostname> ``` * wrap-11ty * bash / zsh / ohmyzsh * Python / uv * uvx / meld / * ide / jetbrains / intellij / wing * signal / copy history * [ ] track * bazelisk * (solaar) startup: gedit, signal, terminal (solaar) ## tlp (battery safer) ``` sudo dnf install tlp ``` ``` sudo vi /etc/tlp.conf #START_CHARGE_THRESH_BAT0=60 #STOP_CHARGE_THRESH_BAT0=90 ``` ``` sudo systemctl enable tlp.service sudo systemctl start tlp.service ``` ## test hardware (to compare) * [x] Sound * [x] GraCa * [x] Camera ## util-linux-user sqlite ## Browser * setup duckduckgo * disable history * adblocker ## python * requires syncthing (because of `.zshrc`) * sudo dnf install gcc gcc-c++ openssl-devel bzip2-devel sqlite-devel zlib-devel xz-devel tk-devel ncurses-devel readline-devel ## gedit * [x] tabs / spaces * [x] color * [x] autosave * [x] `dnf install gedit-plugins` * [ ] auto-complete ## terminator * [x] infinite scrollback * [x] titlebar * [ ] selection delemiter * ## zsh / oh-my (syncthing) * https://fedoramagazine.org/set-zsh-fedora-system/ * https://ohmyz.sh/#install * `dnf install util-linux-user` ``` sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" chsh -s $(which zsh) ``` ## config sharing (syncthing) ```sh ln -s ~/_SHARED/config.sys/terminator.config ~/.config/terminator/config ln -s ~/_SHARED/config.sys/gitconfig .gitconfig ``` ## Gnome * [gTile](gTile https://extensions.gnome.org/extension/28/gtile/) * [material-shell (not available for 46.x)](https://extensions.gnome.org/extension/3357/material-shell/) ### Fonts ```sh git clone https://github.com/adobe-fonts/source-code-pro.git mkdir -p ~/.local/share/fonts cp source-code-pro/OTF/*.otf ~/.local/share/fonts/ fc-cache -f -v ``` ### xorg / x11 ``` sudo nano /etc/gdm3/custom.conf WaylandEnable=false ``` ``` echo $XDG_SESSION_TYPE ``` ### tweaks * install gnome-tweaks * mono-font * clock (berlin, weekday, weeknumbers) * maximize/minimize buttons * install gnome-browser-connector * set document history https://askubuntu.com/questions/1249107/cant-increase-the-number-of-recent-documents-in-gedit * no hot corner / side bar ### system monitor ```sh sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor chrome-gnome-shell ``` - https://extensions.gnome.org/extension/3010/system-monitor-next/ ## Media sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm * mplayer mpv * ffmpeg * yt-dlp ``` gsettings set org.gnome.desktop.interface enable-hot-corners false ``` ``` sudo dnf install \ https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install \ https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm dnf group upgrade --with-optional Multimedia dnf install gstreamer1-plugins-bad-\* dnf install gstreamer1-plugins-good-\* dnf install gstreamer1-plugin-openh264 mozilla-openh264 ``` * gimp ## Suspend ``` # cat /usr/lib/systemd/system-sleep/disable-some-devices #! /bin/bash # https://askubuntu.com/questions/1395148/pc-wakes-up-immediately-after-suspend # https://ubuntu-mate.community/t/ubuntu-wakes-up-immediately-after-suspend-how-to-fix-it/26848 case $1 in pre) declare -a devices=(GPP0 GPP8 XHC0 PTXH) for device in "${devices[@]}"; do if $(grep -qw ^${device}.*enabled /proc/acpi/wakeup); then echo ${device} echo ${device} > /proc/acpi/wakeup fi done ;; esac ``` ## trouble shooting ### long boot time on framework desktop ### boot error RDSEED32 is broken ### usb errors ### games not starting ### llms not starting [ 144.889675] amdgpu: init_user_pages: Failed to get user pages: -1 [ 251.903445] dw-apb-uart AMDI0020:00: failed to request DMA * https://github.com/ROCm/ROCm/issues/5724 ``` sudo dnf install fedora-repos-archive sudo dnf --enablerepo=updates-archive downgrade amd-gpu-firmware-20251111 sudo dracut -f ``` ``` common_init_result: fitting params to device memory, for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on Memory access fault by GPU node-1 (Agent handle: 0x346a3060) on address 0x7f3e1939c000. Reason: Page not present or supervisor privilege. [1] 14145 IOT instruction (core dumped) llama-server --host 0.0.0.0 --port 9000 -m ``` ``` [ 128.605737] amdgpu 0000:c2:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:153 vmid:8 pasid:32771) [ 128.605745] amdgpu 0000:c2:00.0: amdgpu: Process llama-server pid 14145 thread llama-server pid 14145 [ 128.605748] amdgpu 0000:c2:00.0: amdgpu: in page starting at address 0x00007f3e1939c000 from client 10 ``` ## Read https://fosspost.org/things-to-do-after-installing-fedora-37/ https://www.reddit.com/r/linuxaudio/comments/id62ul/fluidsynth_restart_hangs_jack/ https://www.reddit.com/r/thinkpad/comments/zvlefe/installing_fedora_on_carbon_x1_gen_10/ https://forum.level1techs.com/t/fedora-23-oh-no-something-went-wrong-unable-to-recover/98542 </hostname></ID></USER></DEVICE></USER></DEVICE></USER></OLD>