The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page


Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

A beautiful screenshot

Ubuntu

On Ubuntu, the default is to simply hit the PtrScr key. The screenshot of the entire screen will be taken and saved in your Pictures folder.

However, in many cases you may need a special screenshot. Maybe just a small area or a window.

I do not know the defaults exactly, but I think that for a window you want to select the window and then hit Alt-PtrSrc.

On my end, I love to be able to select what I want to screenshot instead of a whole window or screen. I use Ctrl-Shift-PtrSrc which changes the cursor to a cross and then I can select an area on the screen which gets saved ...

A Blank Invite... Why is Thunderbird not seeing that content?

Microsoft has a special format that Outlook (at least) uses to generate an invitation that you can add to your calendar.

However, under Linux with default Thunderbird, that looks like an empty email (well... in general, just the signature of the person sending the invite).

Looking around for the issue, I actually found out that you could just install the Lightning AddOn to Thunderbird and voilà! You'll now see the invite as expected. Actually, the funny thing is that you won't see the signature anymore.

Warning: For the AddOn to work as expected you'll be required to ...

Many of the examples in fail2ban make use of ^ at the start and $ at the end. In other words, the entire line is expected to match.

In many cases, though, it's not really useful to match the entire line when only a few things can be matched. That means you can't use have " $" at the end of the regular expression. (or even " +$" if one or more spaces are expected).

Instead you have to resort to a different way to allow for a space.

Note that I wrote these two regex example in double quotes to make it clear that there is a space at the start, but you actually ...

Settings for you NVidia video cards

NVidia provides a neat graphical interface that allows you to see and change various values that the GPU makes available.

This interface is opened when you start nvidia-settings.

The problem is that at times you probably would like to set a parameter to a value as defined in that interface. The cool thing is that the nvidia-settings tool actually lets you do that.

How that works exactly, you can use the --help command line option for details. The main two are -a to assign a new value and -q to list existing values. The values are defined per GPU, per screen, per display (monitor), and a ...

An empty hourglass or sandclock—just like a broken NTP, an empty hourglass is done showing you time.

Click to get your own sand clock.

Introduction

Today I noticed a problem with one of my computer which clock was behind.

My main server NTP server somehow closed down (or was never started?) and so the time was not available to that slave.

In my ntp.conf I change the default URLs to time servers and use my own like so:

pool 10.10.0.1 iburst

This means this computer will make use of the time on server 10.10.0.1 and not some random (public) time servers.

Why would you do that you ask?

This way the computers are in close sync. between each others, especially if you are on an ...

Gopher admiring a flower

The Alpine docker, which is used for golang, removed bzr so you have to remove it from your RUN apk command line.

Here is a copy of the error I was getting:

Beep Brake -- you get distracted, we don't!

I installed a new Wordpress website and I was getting this error when trying to save pages and also when trying to go to a page once I switched the permalink to "Post name".

This is not a very clear error. Plus all the admin functionality was working like a charm so it took me close to forever to fix this one. (like a good 6 hours!)

The fact is I've got three a domain name with three different TLDs:

When I create the configuration file for Apache, I used another one which I just created ...

A group

Once in a while I want to add my user to a group and then right away make use of that group.

Unfortunately, in general Unix kind of forces you to re-log in for the new group to be attached to your account.

However, a command has been added, a while back, to do just that on the fly. Not something you would want to use in a script, but at least, it works for me when doing a few things here and there.

In my case, I wanted to run QEMU, which I hadn't done in a while, and the system told me that it could not open the KVM, the error: kvm permission denied.

The problem was that I was not ...

Twin Apples

Using BIND as a Master and a Slave simultaneously

I got BIND on two servers (the named service). Each server is at the same time a master and a slave depending on the domain name. For instance, I host http://www.alexishouses.com on my server and http://www.m2osw.com on my company's server.

Up to here, easy.

The slaves are expected to update themselves whenever the master emits a change in a zone.

Somehow, one of my domain names would not work at all on the slave (company's server). I searched and searched and I just couldn't find out why it was not working. Finally, I ...

An Axe to Cut Trees

The <!--break--> comment has been used by Drupal to seperate the part of the text to show as a summary of your post and the rest.

That summary is often used on your front page, list views, etc.

The problem is that at times it breaks the editor. Something goes wrong and you just can't edit the post anymore.

To fix the problem, remove the break. Oh! But...

Effectively, you can't edit the post if it has a break so you can't edit the post to remove the break. At least not easily. That is, you could copy the part before the break and then edit and then paste. If you have ...

Thank you for visiting my website.