FOSSPicks
bcal
This is another brilliantly useful tool that performs one simple job extremely well – bcal converts between storage formats and performs various calculations. This is important because there's plenty of confusion over what certain numbers represent and how they're valued. GiB is a good example, as this is often used as a replacement for GB representing gigabytes, which itself gets confused for all kinds of values for data across a network. Typing dcal 50 gib
will give the canonical answer – 52428800 KiB, 51200 MiB, 50 GiB, or 4.8828125000e-02 TiB, as represented by the IEC standard (base 2). The SI standard (base 10) is also output, alongside decimal and hexadecimal address values plus both LBA offsets. These details are obviously going to be handy for anyone working with storage, but it's also useful for anyone worried about space or who wants to work out exactly what they're paying for with their latest SSD purchase.
Additionally, bcal can be used for all kinds of representation and conversion. You can show the binary, decimal, and hex representations of a number, for example, using the -c
argument followed by the number. You can convert between logical block addressing (LBA) and cylinder-head-sector (CHS) with -f
, and you can work out storage capacity by adding -s
, followed by a sector size, such as bcal 0xaabbcc kb -s 4096
. Because the values are output all at once, the tool makes it easy to see what the differences are and why there's so much confusion around their use.
Project Website
Screen capture
Peek 1.0
You can't seem to scroll down a news site in peace these days without being bombarded by animated GIFs. These little low-res movies often start without prompting and run on short loops until you either close the tab or relent and watch the full thing. But animated GIFs are an ancient technology, and they can't be all bad if they've lasted this long. They're small, resource light, and supported by almost every platform, from the Commodore Amiga to the iPhone 7, which is what makes their ubiquity part annoyance and part a handy addition to static websites – when used cautiously. And that doesn't mean as a vehicle for memes and the emergence of a meme dialect that will one day supplant traditional languages.
In other places, however, these little low-quality movies are genuinely useful, and one example is as a way to quickly show something happening on screen. This could be because you're writing documentation for a piece of software or sharing a tutorial on how something is accomplished. Or, it could simply be the way you share discoveries on your website. Either way, creating short animated GIFs of your mouse or keyboard interacting with something is often much easier to understand than writing 200 words to do the same thing – which is exactly what Peek does so well. It opens a small window that is used to grab a section of your screen at a predefined frame rate. It's simple, easy to use, and generates an animated GIF instantly. The latest version will even generate WebM and MP4 files too, which makes Peek far more useful as a general purpose screen grabber. If you need a quick and easy tool to grab your screen, much like animated GIFs themselves, Peek is perfectly suited to the task.
Project Website
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
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.
-
OpenELA Releases Enterprise Linux Source Code
With Red Hat restricting the source for RHEL, it was only a matter of time before those who depended on that source struck out on their own.
-
StripedFly Malware Hiding in Plain Sight as a Cryptocurrency Miner
A rather deceptive piece of malware has infected 1 million Windows and Linux hosts since 2017.
-
Experimental Wayland Support Planned for Linux Mint 21.3
As with most Linux distributions, the migration to Wayland is in full force. While some distributions have already made the move, Linux Mint has been a bit slower to do so.
-
Window Maker Live 0.96.0-0 Released
If you're a fan of the Window Maker window manager, there's a new official release of the Linux distribution that champions the old-school user interface.