The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: cli

How to tidy copied PDF text with a CoPa script

By

The image below shows a small, demonstration PDF: When I highlight the text in the PDF, only the paragraphs and their internal spaces go to the X, or primary clipboard: When I middle-click-paste from the primary clipboard into a text editor, each line of text in the PDF appears on a new line,…

Read Article

Sorting numbers inside text strings

By

I have a script that compiles and sorts museum collection data. One of the data fields is for museum registration codes, and a plain sort doesn't understand that humans expect "KS.99", for example, to come before "KS.100": My script instead uses the magic "-V" option…

Read Article

AWK and a rainfall time series - Part 2

By

In part 1 of this article I showed how I used AWK on the command line to work up daily rainfall data for my home town, Ulverstone in Tasmania. I wasn't ready to analyse the data, because there were quite a few missing-data days. Some were part of accumulated-total series, where the rainfall total…

Read Article

AWK and a rainfall time series - Part 1

By

AWK is my tool of choice for processing plain-text data, so when I wanted to look closely at daily rainfall data for my home town, I fired up a terminal. In this two-part article I explain how the rainfall data were beaten into shape, mainly with AWK, so I could do my analysis. The commands shown…

Read Article

BASH a block of bytes

By

I was preparing a slide presentation and wanted to show a block of random 8-bit bytes, like this: Naturally I didn't just type out that block of text on a slide, which would have taken maybe 10 minutes, or copy and modify some byte-text I found online. Of course not. Instead I spent hours dreaming…

Read Article

Canonical Reboots Convergence; Introduces the No Desktop Environment

By

Just mere days after the news broke that Canonical would be using the GNOME desktop environment in the default release of the Ubuntu operating system, following the news of the company also dropping the Unity desktop and the greater goal of "convergence", newly re-appointed Canonical CEO…

Read Article

How to build and edit LibreOffice dictionaries

By

When writing or editing scientific-type text in LibreOffice Writer, I rely a lot on its spellchecker. Unfortunately, the scientific terms I'd like to check aren't in the default dictionaries behind LibreOffice's spellchecking routine. There are two ways out of this dilemma. The first is to deal…

Read Article

The buttons of YAD

By

I use the YAD dialog program quite a lot in my shell scripts. Written and maintained by Victor Ananjevksy, YAD is easy to use and has dozens of handy options. In previous Linux Rain articles demonstrating YAD (here, here and here), I used only the default YAD buttons, "Cancel" and…

Read Article

grep vs AWK vs Ruby, and a uniq disappointment

By

In my data-cleaning work I often make up tallies of selected individual characters from big, UTF-8-encoded data files. What's the best way to do this? As shown below, I've tried grep/sort/uniq, AWK and Ruby, and AWK's the fastest. The trials also revealed an unexpected problem with the uniq program…

Read Article

Compiling Kodi 18 Leia (git) on OpenSUSE Tumbleweed

By

Being a rolling release distribution that touts the ability to have the latest stuff, you'll often find the very latest software in OpenSUSE Tumbleweed. In the official repos, anyway. Certain software that is procured from external repositories such as Packman, however, this is not always the case.…

Read Article

News Elsewhere

Linuxtoday.com

How to Configure Mouse Settings in Ubuntu

LEARN how to configure mouse settings in Ubuntu 18.04 LTS.

Nuvola: Linux Desktop Music Player for Streaming Services

itsFOSS: Take a look at features and installation of Nuvola Music Player, a music player for Linux desktop that plays streaming music services.

Nvidia 418.56 Linux Graphics Driver Rolling Out with GeForce MX230/MX250 Support

The Nvidia 418.56 graphics driver updates the nvidia-settings control panel to more accurately indicate the current availability of G-SYNC and G-SYNC-compatible display settings

Ubuntu 19.04 Updates: 7 Things To Know

A new cleaner, crisper looking Ubuntu is coming your way.

How to Backup and Restore Firefox Profile On Linux

Learn how to backup and restore a Mozilla Firefox profile on Linux

5 IoT Projects You Can Do Yourself on a Raspberry Pi

If you own a Raspberry Pi and want to get involved with IoT projects

Quickly Go Back To A Specific Parent Directory Using bd Command In Linux

2DayGeek: bd command allow us to quickly go back to a specific parent directory in Linux.

How to Monitor Disk IO in Linux

iostat is used to get the input/output statistics for storage devices and partitions. i

Debian members afraid to make or propose change, says leadership contender

 ITwire: The Debian GNU/Linux project has a lack of leadership, veteran developer Martin Michlmayr says

GamingOnLinux Latest Articles

Linux Gaming News Punch - Episode 5

Tags: GOL PodcastThe Linux Gaming News Punch - Episode 5 is here once again! Another week, another ton of news and so here's your bite-sized take at…

In the puzzle game Flux Caves you will be pushing around blocks to play with large marbles

Tags: Puzzle, Indie Game, Unity, Alpha, Early Access, DemoIf you like puzzle games and marbles today is your lucky day as I came across Flux Caves,…

Cities: Skylines is another game having a free weekend on Steam right now

Tags: Steam, Game Sale, City BuilderIf XCOM 2 having a free weekend isn't your thing or the Tacoma giveaway on Humble Store then perhaps Cities:…

CodeWeavers have released CrossOver 18.5 pulling in Wine 4.0 and FAudio

Tags: Wine, AppsFor those who want to help with Wine development without contributing code, CodeWeavers host the Wine project and contribute to its…

In Deathbulge: Battle of the Bands, music is your weapon and it's coming to Linux

Tags: RPG, Crowdfunding, Coming Soon, Indie Game, UnityOne Kickstarter I completely missed is Deathbulge: Battle of the Bands, a musical themed…

Baba Is You is an excellent rule-breaking puzzle game, some thoughts

Tags: Puzzle, Indie Game, Humble Store, Itch.io, Steam, ReviewBaba Is You, a recent puzzle game release from Hempuli Oy offers a pretty different…

Epic Games new 'Epic Online Services' will support Linux and it's free for developers to use

Tags: Misc, Game DevHere's something interesting, Epic Games are launching their Epic Online Services and it will support Linux as well as multiple…

We. The Revolution sounds pretty awesome and it's out now

Tags: Humble Store, Steam, GOGSet in the blood-soaked and paranoid world of the French Revolution, We. The Revolution from Polyslash is officially…

2D indie platformer fighter 'Super Powered Battle Friends' looks interesting in the new trailer

Tags: Indie Game, Itch.io, Steam, Vulkan, Unreal Engine, Coming Soon, Early AccessOne thing we don't have enough of on Linux, is good platform…

Valve show off their new Steam Library design and a new Events page

Tags: Valve, SteamAt GDC today, Valve did their presentation and they finally showed off the new design coming for the Library page and more. For…

Humble Store are giving away Tacoma during their Indie Mega Week sale

Tags: Humble Store, Free Game, Game SaleHumble Store has another free game from you to grab with Tacoma, along with their Indie Mega Week sale now…

You can now try XCOM 2 free until March 25th, also on a big sale

Tags: Steam, Game Sale, Strategy, Feral InteractiveFiraxis Games have put their strategy game XCOM 2 up to play for free between now and March 25th,…

The GOG Spring Sale is now live, tons of titles discounted with flash deals each day

Tags: GOG, Game Sale, DRM-FreeSomeone please lock away my wallet, as the GOG Spring Sale is live and it's full of discounted Linux games. For this…

AMD have launched an update to their open source Radeon GPU Analyzer, better Vulkan support

Tags: Vulkan, AMD, Open Source, Game DevAMD are showing off a little here, with an update to the Radeon GPU Analyzer open source project and it…

Counter-Strike: Global Offensive now has much better queue times for Danger Zone

Tags: Steam, Valve, Free Game, FPS, Battle RoyaleFollowing on from the tweak to Danger Zone to focus more on duos, Valve are still tweaking their…