Syntax highlighting

I’ve been writing a text document, where I want to paste an excerpt of a shell script. I want to put it in a frame as a separate “figure”, referred to in the text as “Box ##”. To make it clearer to the reader, I want to have the appropriate syntax highlighting. How to do it?
Read the rest of this entry »


XFS duplicate UUID

During my disk cloning exercises, I stumbled upon an issue when cloning a partition formatted as XFS. Cloning with dd went fine, however, when trying to mount the newly created partition in Thunar, I would get an error (sorry no screenshot). Then, I tried to mount in manually and investigate what the problem was.
Read the rest of this entry »


Disk cloning

About half a year ago, I needed more space for my ThinkPad x230 laptop. I had a 256 GB SSD, running Slackware 14.2, so I bought a new SSD of 1 TB. I did not want to go through all the hustle of repartitioning, reinstalling and reconfiguring, therefore I also bought a Fujitech Clone Dock 2. It is fairly simple to use, just place the disks in the correct order: Disk 1 (256 GB) to be cloned onto Disk 2 (1 TB), turn it on and click the Clone button twice. However, there is no way to tell the device to clone a specific partition only.
Read the rest of this entry »


Electricsheep save directory

I have Electricsheep installed and have selected it via XScreenSaver. However, my /home is on a SSD and I decided that maybe it is not a good idea to have the constantly evolving sheep stored in ~/.electricsheep. Therefore I looked for a way to specify a different directory.
Read the rest of this entry »


Freetype hinting mode

I just upgraded to -current, which should become Slackware 15.0 at some point. I immediately noticed that hinting was awful. I tried changing the settings in Xfce, but there was no improvement. Finally, I realised that it should be set up elsewhere.
Read the rest of this entry »