I recently installed the latest release of Fedora 26 from scratch on a brand new laptop. If you've been using Linux for a while, you may opt to do upgrades instead of fresh installs to keep your preferences and configurations intact. After all, who wants to go searching for customizations every time a new version of your favorite distribution (in my case, Fedora) comes out?
Every once in a while, however, I do a fresh Linux install to keep up with any new options and capabilities that may have been added. In this article, I will share how I configured the latest Fedora 26 on my laptop to meet my needs—and how you can, too.
The obvious tips and tricks
If you are new to Linux and looking for installation tips, you'll find plenty of information on apps such as these:
- gnome-tweak-tool to customize GNOME 3
- RPM Fusion repos to install drivers, media encoders, and decoders that may not be part of the distribution or applications like VLC media player
- Vim, which is part of the Fedora (and other Linux systems), but not on the default Fedora installation, to enhance the vi editor capabilities
- GIMP, to edit images (also part of many Linux systems, including Fedora)
- Google Chrome, the browser or its fully open source version Google Chromium (also available in the official Fedora repositories)
Many Linux users recommend at least two or three of these popular applications. Here are a few more customizations to consider for your Linux system:
Three fingers actions
You can swap between workspaces (virtual desktops) in GNOME 3 through keyboard shortcuts (Ctrl + Alt + Down or Ctrl + Alt + Up) or by clicking your mouse in the Activities corner and selecting a different workspace. You can also use the Windows key on your keyboard to get to the Activities, but I wanted to do it with the mouse—specifically, by sweeping three fingers up or down on my touchpad to switch between workspaces. To do that, install libinput-gestures packages and configure its behavior on /etc/libinput-gestures.conf.
I usually change the default configuration to make left- and side-swipes behave like the pinch-in and pinch-out predefined gestures. I also disable three-finger taps as paste via gnome-tweak-tool.
To add more functionality to your GNOME desktop, visit GNOME Extensions. The Fedora distribution comes with some packaged extensions, but to go beyond these, check out Top 9 GNOME shell extensions to customize your desktop Linux experience. Opensource.com has published articles about GNOME extensions before, so instead of covering these, I will discuss my three favorite GNOME extensions:
- Freon requires the lm_sensors package, but it lets you keep an eye on your fan speed and system temperature (also available packaged as an rpm in the distribution).
- System Monitor is a nice little graphical UI that gives you an overview of your system’s resources usage.
- Hide Top Bar is probably my favorite extension—it hides the GNOME top bar when you maximize an application, allowing you to get a full display of that application, and it's also very configurable.
The pre-packaged GNOME extension can be found on your system by running dnf search gnome-shell-extension. The extensions can be managed via gnome-tweak-tool.
To install extensions from Firefox, install the chrome-gnome-shell package and the Gnome Shell Integration Firefox add-on.
Scaling the display
My eyesight is not as strong as it used to be, and staring at computer screens for hours at a time can be tiresome. For that reason, finding a reasonable ratio between font size/scale, screen size, and resolution is important. My laptop’s display isn’t High Dots Per Inch (HiDPI), but it is small enough that a 1080p screen with default fonts will make me squint. So I use gnome-tweak-tool to change the Font Scaling Factor from 1.0 to about 1.15. I also change the config option layout.css.devPixelsPerPx in Firefox from -1.0 to 1.15. To get this option in Firefox, enter about:config in the address bar.
In Chromium, you can pass the parameter --force-device-scale-factor=1.15 to the chromium-browser command.
Performance tuning in Linux can reasonably be categorized as science: You literally can use mathematical formulas to decide which options a kernel-tunable parameter should take. I am not going to do that! Instead, I'll recommend two tools that I find improve the battery life and system performance of my laptop. (To learn more about exactly what these do to your system, read your system's documentation.)
PowerTOP helps diagnose various issues with power consumption and power management. It also has an interactive mode that lets you experiment with various power management settings. When invoked without arguments, PowerTOP starts in interactive mode (from the man pages).
To configure PowerTOP on your system, simply calibrate it, enable it, and start it:
- powertop --calibrate: This will take a while and do things such as change the brightness of your screen.
- systemctl enable powertop: This will enable PowerTOP the next time you reboot.
- systemctl start powertop: This will start PowerTOP in auto-tune mode.
Tuned is a dynamic adaptive system-tuning daemon that tunes system settings dynamically depending on usage (also from the man pages). To configure tuned on your system, simply enable it, start it, and pick a performance profile:
- systemctl enable tuned
- systemctl start tuned
- tuned-adm list (shows all the available profiles)
- man tuned-profiles (if you want to learn more about each profile)
- tuned-adm profile desktop (changes your system’s tuning profile to desktop)
I don’t always install Fedora from scratch, but when I do, I try to spend time looking for apps, features, and configurations that will help me polish my experience with my laptop and the operating system. What tweaks do you make to customize your Linux installs? Tell us about them in the comments.
Are you new to open source?
Browse our collection of resources.