TP-LINK TL-WN722N driver

I bought a TP-LINK TL-WN722N usb wireless adapter. Turns out it is not supported out-of-the-box on Slackware 14.2. The adapter box said that it is supported in Linux, so naively I put the CD provided and looked for the driver. In the Linux folder, there was a README file advising me to go download the drivers from http://www.tp-link.com/. I will not discuss the requirement to go online in order to obtain the drivers for a network adapter…
Read the rest of this entry »


Chrome broken fonts

I recently upgraded to Google Chrome 60.0.3112, using the script in Slackware 14.2 /extra. I immediatelly noticed a problem with fonts rendering, which affected not only web sites, but the browser itself. The same problem exists in Alien Bob’s Chromium package, version 60.3112.78.

Very annoying:
Read the rest of this entry »


Cleaning up with sed 2

I have a list of nucleotide sequences in fasta format, obtained from NCBI. I want to clean the sequences names, leaving only the accession numbers. Additionally, I want to extract the accession numbers to a separate list. I am not that familiar with sed, since I use it mainly in my SlackBuilds to fix small things. Therefore, for my fuuture reference, I decided to sum things up.
Read the rest of this entry »


FASTA syntax highlight

FASTA is among the most common text formats for nucleotide or amino acid sequences. I use medit and a feature that I have been looking for is a syntax highlighting for FASTA files. I want to have colour code for nucleotides and amino acids, similarly to how scripting or programming languages are displayed by the editor. I have been looking for this feature for a long time and all I found was the fasta.lang at GNOME’s wiki and the fastalang at git. Both projects are for Gedit and support only nucleotide sequences. Let’s say neither of these did the job for me, but I appreciate very much both projects. I decided to do things myself.
Read the rest of this entry »


xflock4: lock the screen

I am using XFCE and I want to have an entry in the menu that will lock the screen. The command that locks the screen in XFCE is

xflock4

yes… it took me some time to figure it out. Anyway, from here it is quite straightforward. I made the following xflock4.desktop file:
Read the rest of this entry »