Things I wished I'd written down if I have to wipe and reinstall.
sudo dnf install fedora-workstation-repositories
sudo dnf config-manager --set-enabled google-chrome
sudo dnf install google-chrome-stableIf chrome crashes, then won't launch again:
rm -rf ~/.config/google-chrome/Singleton*
If you can't update Chrome through the browser, then update through dnf:
sudo dnf update google-chrome-stable
Get full vim install, not just minimal:
sudo dnf install vimGet legacy color schemes:
git clone https://github.com/vim/colorschemes.git
cd colorschemes/legacy_colors/
mkdir -p ~/.vim/colors
cp elflord.vim ~/.vim/colors/Get my vimrc:
Title function, and shorten terminal cmd prompt.
Add this to top of bashrc:
# Set title to arg passed, or to current dir.
# Attribution:
# https://stackoverflow.com/a/75144186
function ttl() {
if [ $# -eq 1 ]; then
str=$1
else
str=$(pwd | awk -F '/' '{print $NF}')
fi
if [[ -z "$ORIG" ]]; then
ORIG=$PS1
fi
TITLE="\[\e]2;$str\a\]"
PS1=${ORIG}${TITLE}
}
# Shorten cmd prompt.
export PS1="[\u \W]\$"Set scaled background image:
gsettings set org.gnome.desktop.background picture-options scaledSee options:
gsettings range org.gnome.desktop.background picture-optionsReferences:
Git aliases
git config --global alias.co checkout
git config --global alias.br branchGit global user config
git config --global user.name "John Doe"
git config --global user.email johndoe@example.comGit credential store. This will save credentials plaintext:
git config --global credential.helper store
sudo dnf install kernel-devel-$(uname -r)Installs kernel src tree to:
$ls /usr/src/kernels/$(uname -r)
arch drivers ipc Makefile.rhelver samples tools
block fs Kconfig mm scripts usr
certs include kernel Module.symvers security virt
crypto init lib net sound vmlinux.h
Documentation io_uring Makefile rust System.map vmlinux.id
sudo dnf install autoconf
sudo dnf install automake
sudo dnf install libtool
sudo dnf install perl
sudo dnf install libasan
sudo dnf install flex bison
sudo dnf install elfutils-libelf-devel
sudo dnf install pcre2grep
sudo dnf install patch
sudo dnf install valgrind
sudo dnf install openssl
sudo dnf install openssl-devel
sudo dnf install qemu
sudo dnf install dracut
sudo dnf install expect
sudo dnf install clang
sudo dnf install clang-devel
sudo dnf install glibc
sudo dnf install glibc-static
sudo dnf install busybox
sudo dnf install shellcheck
sudo dnf install cppcheck
sudo dnf install check
sudo dnf install check-devel
sudo dnf install sensors
sudo dnf builddep systemd #systemd dependencies
sudo dnf install libgcrypt
sudo dnf install libgcrypt-devel
sudo dnf install libevent
sudo dnf install libevent-devel
sudo dnf install libpsl-devel # for building libcurl
sudo dnf install cmake # needed for west zephyr builds
sudo dnf install ninja-build # needed for west zephyr builds
pip3 install pyelftools # needed for west zephyr builds
sudo dnf install libpcap-devel # for testing lwip
install:
sudo dnf install openssh-server
start:
systemctl start sshd.service
sudo dnf install meld
sudo dnf install lm_sensors
sudo dnf install arm-none-eabi-gcc-cs
May also require:
sudo dnf install ncurses-compat-libs
sudo dnf install arm-none-eabi-newlib
sudo dnf install gcc-powerpc64-linux-gnu
sudo dnf install qemu-system-ppc virt-install libvirt-daemon-kvm
Set date and time:
sudo service ntpdate onestart
Enable time sync:
sudo sysrc ntpd_enable="YES"
sudo service ntpd start
nalika gzdoom seems to be well supported:
sudo dnf copr enable nalika/gzdoom
sudo dnf install gzdoomtodo