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

Articles found under tag: sed

How to deal with NBSPs in a terminal

By

A non-breaking space (NBSP) is a special kind of whitespace. It's an invisible signal that tells a text-processing program to avoid replacing that space with a linefeed or carriage return. For example, if you wrote "2 kg" in LibreOffice Writer and didn't want the "2" to be at…

Read Article

BASH drivers, start your engines

By

There's always more than one way to do a job in the shell, and there may not be One Best Way to do that job, either. Nevertheless, different commands with the same output can differ in how long they take, how much memory they use and how hard they make the CPU work. Out of curiosity I trialled 6…

Read Article

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

Scottish Country Dancing stats

By

My wife has been in the same Scottish Country Dancing group for many years, and back in 2005 she began keeping a record of the dances done at each meeting. She lists a fair bit of information in her "dances done" spreadsheet (screenshot below). She recently asked me "Would it be…

Read Article

Scripting a DNA sequence viewer

By

SANITY WARNING: Please don't read this article unless you're a compulsive shell scripter, like me. Seriously. There are some excellent FOSS sequence viewers in the distro repositories, with great GUIs and lots of features. Why would you want to build a less capable viewer that only works in a…

Read Article

Hunting gremlin characters

By

When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

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

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…