Tag Archives: Ubuntu

Computer operating system based on the Debian Linux distribution

Gtk-WARNING Default font does not have a positive size

As “Gtk-WARNING Default font does not have a positive size” suggests, this arises from a font size specified incorrectly, or not at all in some cases. This problem annoyed me for a while after using a few different window managers with Linux (Ubuntu in particular). I believe it came about after changing some font settings and changing themes a few times, particularly with LXappearance. I’m guessing if you are looking at this you have also made a few changes and are now also being annoyed by this message!

The Problem

You will see this annoying message, repeated numerous times in the terminal, when launching applications from a terminal:

Gtk-WARNING **: Default font does not have a positive size

How to clone a partition or hard drive in Ubuntu (Linux)

Cloning a hard drive can be useful for backing up (byte for byte) or moving data to a new hard drive. In Ubuntu this is pretty simple, though it is important to pay attention!

We’re going to use a few tools:

  • fdisk to create the partition
  • mkfs to create the filesystem
  • dd to clone bytes