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

Articles found in "Tutorials" category:

Scripting a fancy chooser for recently used files

By

I recently scripted a GUI dialog that lists my 10 most recently modified files in reverse chronological order and allows me to choose more than 1 file for opening. The dialog is launched with a keyboard shortcut and is shown here with 2 files selected: The script is in copy-and-paste form at the…

Read Article

Gnumeric: a filter-and-export script

By

My wife likes to organise and store information in Gnumeric spreadsheets. Every now and then she needs to filter her data and save the result to a new spreadsheet. Gnumeric doesn't have a simple way to do that. It has a complicated way to do it ('Advanced Filter'), but nothing so straightforward as…

Read Article

How to insert code snippets on the command line without executing them

By

You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the…

Read Article

How to read a file N lines at a time in BASH: 3 methods

By

The file I'll be using for this demonstration is called demo and looks like this: demo is plain text with 2 tab-separated columns. The first column is sorted alphabetically, but the second column isn't sorted. What I want to find out is how many different letters are in the second column for each…

Read Article

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

Linux, HP and the avoidance of Windows

By

Having a TL;DR day? In a nutshell, I just replaced a 2011 HP Mini netbook with a 2014 HP mini-notebook. Both run Linux. Thank you, HP. The netbook I bought a 2011 HP Mini 110-3744TU in early 2012 (specs below). It came with Windows 7 'starter', which I replaced with CrunchBang Linux. The Mini is…

Read Article

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

News Elsewhere

Linuxtoday.com

Transform an Android Device into an Open Source Camera

 scribblesandsnaps: Transforming an Android device into an open source-based camera is actually easier than you might think.

Linux workstation security checklist

This is a set of recommendations used by the Linux Foundation for their systems administrators.

Lennart Poettering merged “su” command replacement into systemd: Test Drive on Fedora Rawhide

With this pull request systemd now support a su command functional and can create privileged sessions, that are fully isolated from the original session

Hardened Linux stalwarts Grsecurity pull the pin after legal fight

The Register: Multi-billion company accused of ripping off name and code, still doing security wrong

Container Myths Debunked at OpenStack Silicon Valley

Datamation: In Alex Polvi's view there are four primary myths when it comes to containers

OpenStack Continues to Push Cloud Integration Vision

eWEEK: At the OpenStack Silicon Valley event, the head of the OpenStack Foundation announces new nonprofit status and developer initiatives.

GNOME Developers Discuss Codenames, GNOME 3.18 Might be Dubbed "Gothenburg"

GNOME 3.18 is due for release on September 23, 2015

Ubuntu 15.04 LAMP server with Apache 2.4, PHP 5.6 and MariaDB (instead of MySQL)

 HowToForge: A LAMP setup is the perfect basis for CMS systems like Joomla, Wordpress or Drupal.

GamingOnLinux.com Latest Articles

The Bug Butcher, A Fun Early Access 2D Shoot Em Up

With all the big titles coming to Linux, it is easy to miss the smaller ones. You do not always want to invest hours of your life building an empire…

Vulkan Looks Impressive Against OpenGL In A New Intel Demo

Intel are now showing off a new benchmark they created to test Vulkan against OpenGL, even though it's running on Windows it's pretty impressive.…

BlazeRush Is A Fantastic Combat Racer On Linux, It’s Actually Hilarious

I’m not always a fan of combat racers, but wow BlazeRush is quite a surprise to find.My thoughts After the utter disgrace that MadOut was, I…

Road Redemption Could See A Linux Release In The Next Two Weeks

Exciting news! Road Redemption is a title I've really wanted to play since I saw it on Kickstarter, as a spiritual successor to Road Rash which I…

MadOut Is A Pretty Terrible Combat Racer On Linux

Here I am pointing out another game you should probably avoid on Linux. This time it’s the turn of MadOut, a combat racer that’s just not…

Psychological Horror Adventure Game 'Fran Bow' Released On GOG And Steam, Has Demo

Fran Bow is the creepy point-and-click adventure game about a young girl, who is sent off to a mental institution for children after her parents are…

Attention, Comrades! We Have A Livestream At 5 PM UTC!

The high command wishes to relay to you a message about today's livestream which is indeed happening as it usually does on Fridays. And because we…

Sol, A Cute And Mod-Friendly Platformer, Goes Even Further With Providing Accessibility Options

The charming little platformer, noteworthy for its advanced accessibility options and its copyleft license, was recently updated. It now features a…

GTX 760 Vs R7 370 4G In Company Of Heroes 2

Liam has done his initial port reports and such so it's my turn to feed you some information. I'm once again putting my GTX 760 against the R7 370 to…

Cossacks 3 RTS Shows Off Ukraine In A New Video

I am especially excited to have Cossacks 3 on Linux, and this new teaser video is short and sweet, but it's keeping me excited.About the game…

Solar Shifter EX Looks Like A Pretty Good Bullet Hell Space Shooter

Solar Shifter EX will release for Linux on Steam on the 11th of September, and I must say it looks pretty impressive. Their Steam page isn't up yet,…

I Can't Escape: Darkness, A New Horror Game Coming September For Linux

I Can't Escape: Darkness is a pretty interesting looking horror game that has a confirmed Linux release this September. I look forward to giving it a…

Rocket League Officially Coming To Linux/SteamOS, Rocket League & Portal 2 Free With Steam Hardware

Rocket League is massively popular right now, and we are happy to confirm it's heading our way! You even get a free copy with Steam Hardware. The…

Company Of Heroes 2 Released For Linux, Port Report & Thoughts Included

Feral Interactive have ported yet another excellent game, and this time we are graced with Company Of Heroes 2! It’s yet another game I've been…

No Need For Clinical Trials In 'Big Pharma' Now On Linux, Get Making Some Drugs

Big Pharma is a game about creating a factory to build useful drugs, and making money while you do so. I managed to play a build before release, and…