Linux

Disable annoying xfce automatic maximise window feature

In xfce when you move a window around and it gets close to the top edge of the screen it suddenly jumps to maximised size – this is never what I want and so I find this feature really annoying.

The setting where this feature can be turned off is hidden in a somewhat counter intuitive location:

Yes, the setting is called ‘Accessibility – Automatically tile …’!

Recovery of scanned PDF corrupted by email transfer

Occasionally when my scanner is emailing me a PDF it gets corrupted along the way. Most of the time the individual scanned images in the PDF are either perfectly valid or at least can viewed, even though the PDF viewer refuses to open the corrupt PDF file.

The bash script below will extract the images and then combine them again into a valid new PDF file.

Continue reading Recovery of scanned PDF corrupted by email transfer

Certwatch SSL certificate expiry warning

If you have just received an e-mail similar to the one below, read on.

From: root@your.domain.org
To: sysadmin@your.domain.org
Subject: The certificate for server.your.domain.org will expire in 13 days
Date: yesterday (BST)
################# SSL Certificate Warning ################
  Certificate for hostname 'sws.hlan.laczik.org', in file (or by nickname):
     /etc/pki/tls/certs/localhost.crt
  The certificate needs to be renewed; this can be done
  using the 'genkey' program.
  Browsers will not be able to correctly connect to this
  web site using SSL until the certificate is renewed.
 ##########################################################
                                  Generated by certwatch(1)
Continue reading Certwatch SSL certificate expiry warning