Make sure you have these files under /etc/fonts/conf.d
10-autohint.conf
10-sub-pixel-rgb.conf
11-lcdfilter-default.conf
/usr/share/fontconfig/conf.avail
sudo ln -fs /usr/share/fontconfig/conf.avail/10-autohint.conf /etc/fonts/conf.d
sudo ln -fs /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
sudo ln -fs /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
gsettings set org.gnome.desktop.interface font-hinting 'slight'
Add the following to /etc/dnf/dnf.conf
max_parallel_downloads=20
fastestmirror=True
deltarpm=True
Add the following to ~.zshrc
# Key Bindings
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
bindkey "^[[3~" delete-char
By default, Microsoft Fonts are available in Fedora 36’s repository. To begin the installation, use the following command.
sudo dnf install mscore-fonts -y
Alternatively, you can install a much more extensive range of fonts such as bc, edwin fonts, gootville, leland, musejazz, and more using the following command.
sudo dnf install mscore-fonts-all -y
Then install the rest:
sudo dnf install curl cabextract xorg-x11-font-utils fontconfig
sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
Edit grub config:
sudo vi /etc/default/grub
Upgrade grub:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Update initramfs:
dracut -f
This requires a TPM 2.0 compatible chip. Check with cat /sys/class/tpm/tpm*/tpm_version_major
, this should return 2
.
First ensure tpm2-tools
are installed. Then run lsblk
to see which disk/partition contains the luks mount. In my case it was /dev/nvme0n1p3. Run system-cryptenroll then append ,tpm2-device=auto
to /etc/crypttab
. Finally update the boot image via dracut
sudo dnf install tpm2-tools
lsblk
sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7+8 /dev/nvme0n1p3
sudo sed -ie '/^luks-/s/$/,tpm2-device=auto/' /etc/crypttab
sudo dracut --regenerate-all --force
Tested on Fedora 37.
Add to ~/.tmux.conf:
# Make mouse useful in copy mode
setw -g mouse on
# Allow mouse to select which pane to use
set -g mouse on
# Scroll History
set -g history-limit 30000
# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50
# Make home & end keys work
bind -n End send-key C-e
bind -n Home send-key C-a
First install swtpm-tools if not already installed:
sudo dnf install swtpm swtpm-tools
Find your VM:
$ virsh list
Id Name State
-----------------------
3 win10 running
Edit the VM:
$ virsh edit win10
Add the following to the devices part:
<tpm model='tpm-tis'>
<backend type='emulator' version='2.0'/>
</tpm>
Then restart your VM.