Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In eog (Eye of Gnome) 2.30.2, I found no way to specify size unit in mm in Print... and Page Setup dialogs:

custom size dialog

So I have to convert these sizes in inches to sizes in mm.

I'm using CUPS as the print backend. Should I configure CUPS to switch to use mm as the default size unit?

The same problem occurred in Google Chrome 17.0 and many other applications, when I want to custom paper sizes in the system print dialog:


share|improve this question
What application is this dialog from? – Gilles May 28 '12 at 1:37
Eye of GNOME 2.30.2. The dialog comes from system print dialog. – Xiè Jìléi May 28 '12 at 1:56
I don't use a GNOME, but in KDE are settings of measure units in the dialog of localization of system (Language, currency, etc...). Can you check, if there is similar dialog in the GNOME and try to search, if there is not a settings of measure units? – Jan Marek Jul 23 '12 at 20:08

Change your Region Settings to a place that uses the metric system instead of Imperial system units (or US standard units).

How to change your 'Region and Language' settings in GNOME 3.3: http://library.gnome.org/users/gnome-help/3.3/session-formats.html.en

share|improve this answer

Don't know how to fix it, but ....

If you install AutoKey-gtk, a keyboard macro processor (and if you know just a little python), it should be relatively easy to write a macro that lets you input in mm and have it convert it to inches on the form/dialog. This could be triggered by a custom hot key that would work in almost any application or could be restricted to only work in certain windows. You'd probably want to do the input inside the macro (python script) and have the macro send the converted result as if it came from the keyboard.

Although this is clearly not a fix, it does show a way to modify many programs to do things "your way" without having modify the programs themselves which often requires a lot of time and knowledge (and redoing it whenever the programs get updated).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.