FOSSPicks
cpupower-gui
When CPUs were single core and either expensive or directly soldered onto the main board, many of us actually cared about what our CPUs were doing. This was because they couldn't do much, and every cycle counted. The humble Commodore 64 CPU was running under a single megahertz in PAL-inflicted regions, for example, while the Amiga 500 only just broke the 7MHz barrier – while its rival, the Atari ST, gloated from the realm of 8Mhz. However, the Amiga did have an important advantage. You could swap out the scheduler for something more aggressive or more multitasking friendly, depending on whether you were accessing a BBS or number crunching a scene in LightWave 3D. Of course, now speed isn't everything. Whether your CPU is clocked at 2, 3, 4, or 5Ghz, it's likely you have more than one core to parallelize tasks, and a big part of your CPU management is now about keeping the temperature down and the battery life maximized rather than getting things done faster.
But sometimes you still need to get things done faster, and you still need that hands-on control over how things are prioritized. But rather than swapping out the process scheduler, the best approach in Linux is to control how aggressive its CPU management is. This is known as CPU scaling, and it allows you to set a minimum and maximum CPU frequency, either for each CPU, or for all of them at the same time. You may want maximum battery life, for instance, which means limiting them all to the lowest frequency. Or you may want maximum CPU speed all the time, or you may just want to tweak your distribution's default values. A common tool for setting these values is cpupower
, but it can be tricky to use. Try this, cpupower-gui
, instead. It's an easy to use portal to the same functionality where you can easily access the dark arts of CPU management while seeing the changes you're making.
Project Website
https://github.com/vagnum08/cpupower-gui
ls replacement
nat
It's a brave project that challenges the status quo, and few commands are as much a part of the status quo as the humble ls
. For most of us, ls
and its permutations have long been committed to command-line muscle memory. You type ls
to see what's going on in the current directory, type ls -l
to see file permissions and a little more detail, and type ls -l --time-style=full-iso
to show off. And yet, this isn't enough for the nat project, which boldly proclaims itself "the better ls" before you even get to the documentation. Nat is indeed an ls
alternative, written in the system language du jour, Rust. Typing natls
is intended to be a more fulfilling experience than typing ls
. Your terminal bursts with color (if your terminal supports it). There isn't just a different hue for the size, date, ownership, and file columns, there are also different colors for the user, group, and system permissions. It's like a psychedelic version of ls -l
.
Alongside the colorful output, natls
provides all the same functionality you'd expect from ls
. This includes output showing file permissions, file sizes, modification dates, and group and user ownership. These options are also well organized, with flags to disable them individually in the output, turn off sorting, and fit everything into as wide a space as your terminal can spare. It also uses a sensible time format, which can be easily changed with another argument. But the best thing about natls is that most of its Rust source code can be found in a single, manageable, file, which makes it incredibly easy to understand and modify. This makes the project much easier to modify than the original ls
, and it could be an ideal starting point to create your own perfect ls
replacement while also learning about a strong contender for the next standard system programming language.
Project Website
https://github.com/willdoescode/nat
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.