Fedora 31 Setup Routine
Quick customization
Quick customization routine on a fresh Fedora 31 Gnome installation / updated after Fedora 32 Workstation released
1. Shell prompt quick customization
We’ll keep it simple here, I won’t take you around a full featured customization as the one you can get through Zsh.
Use any online tool to easily tweak your PS1 prompt, like: bashrcgenerator.com. Once again, I kept it simple:
$ export PS1="\[\033[38;5;0m\]\[\033[48;5;14m\][\u: \w]\[$(tput sgr0)\]: \[$(tput sgr0)\]"
2. Gnome Terminal padding
You’ll notice unusual margins on the previous Gnome-Terminal screenshot. To add margins to your terminal, dd the following code to ~/.config/gtk-3.0/gtk.css
or create the file if not already there by default:
VteTerminal,
TerminalScreen,
vte-terminal {
padding: 20px;
-VteTerminal-inner-border: 20px;
}
3. Prevent Gnome Shell from grouping windows on Alt-Tab
Rather than to rely on an outdated Gnome shell extension, learn to use Gnome dconf-editor:
$ sudo dnf install dconf-editor
- Open
dconf-editor
- Go to
org/gnome/desktop/wm/keybindings
- Move the value
'<Alt>Tab'
from:switch-applications
to:switch-windows
, then move'<Shift><Alt>Tab'
from:switch-applications-backward
to:switch-windows-backward
- For Alt-tab to work across desktops, go to
org/gnome/shell/window-switcher
and uncheckcurrent-workspace-only
- You can also set the
app-icon-mode
toapp-icon-only
4. Theming & fonts
Personal tastes here:
- GTK & Shell themes : I’m quite fan of the Adwaita theme, but always find myself going back to Adapta after a few days. It may be a souvenir of my Manjaro years.
$ sudo dnf install Adapta-gtk-theme
- Fonts: Roboto fonts is the best choice for a modern desktop
$ sudo dnf install Roboto
- Icons theme: once again I love the new Adwaita icon set, but until today nothing beats the Newaita icon theme: https://github.com/cbrnix/Newaita
- To adjust your settings:
$ sudo dnf install gnome-tweaks
Update / 2020.05
Update since Fedora 32 Workstation came out: Gnome 3.36 brings a huge improvement to the Shell and GTK themes, enough to beat any other theme in term of consistency and integration. So Adwaita is now my only theme for GTK, Shell and Cursors.
I’m sticking with Marwaita as Icon set though, as it is more complete than Adwaita and brings more coherence to the desktop experience.