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


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 »