All posts by Peter Ridge

Peter is a product development and management professional whose career has spanned from computer hardware and software engineering to product packaging, print advertising and user experience design. He is a published author and has applied his skills to a variety of businesses from start up ventures to top-10 media companies.

Firefox Fonts Too Big or Small on Kubuntu 9.10

So you’ve recently installed or upgraded Kubuntu to 9.10 Karmic Koala and installed Firefox. To your horror, you find that all the menus and labels in the browser’s interface are either HUGE or tiny relative to the included KDE applications. Here’s the quick fix.

  1. Click on the K menu
  2. Select System Settings
  3. In the Look & Feel section, click the Appearance icon
  4. In the left panel, click the Fonts icon
  5. At the bottom of the Fonts settings, the Force fonts DPI drop down list control is set to Disabled by default
  6. If you want to make Firefox’s fonts smaller, select 96 DPI; to make them larger, select 120 DPI
  7. Click the Apply button
  8. Restart Firefox

If you’re using Ubuntu with the Gnome desktop and run into this problem, there should be a similar DPI setting for either fonts or the display. Let me know how you resolved it on Gnome.

Delete Items in Firefox’s Form Auto-Complete History

There are many articles about completely clearing Firefox’s form auto-complete history. However, I’ve often mistyped something into a form and then either had to live with those typos always showing up or lose my complete form history by clearing it. There is a better way!

Although you can’t easily edit or modify the characters that are stored, you can remove individual items in the form history with just a few keystrokes.

  1. Go to the form that has the field with the auto-complete history entry that you want to delete
  2. Type the first few characters of the value you want to remove. You’ll see the value appear in the drop down list below the form field as usual. In this example, I want to remove the misspelled entry, “knwoledge”.
  3. Use the down-arrow key to highlight the history item to be deleted. Don’t click it with the mouse.
    Select the entry to be removed
  4. Press the Delete (Del) key, instead of Enter, and the item will be gone
    Press the Delete key to remove the item

Yea! No more garbage in your form auto-complete history.

This method is also useful for security and privacy purposes to selectively remove data, such as credit card, Social Security, bank account and other identification numbers, that you don’t want lying around in Firefox’s form history.

Update: From the comments, use Shift+Delete on Mac OS X.

Can’t Save PDF Form in Acrobat Reader

Have you downloaded a PDF form that enables you to fill in the fields using Acrobat Reader? Many government forms such as federal and state tax return documents have this feature. Have you ever filled one in only to find that you can’t save all of the data you just typed in? That’s got to be one of the worst “features”, ever. What’s the point of being able to save the file without the data? Here’s a workaround.

The next time you see a PDF form that shows a message such as,

“You cannot save data typed into this form. Please print your completed form if you would like a copy for your records.”

do the following:

  1. Install a PDF printing tool such as the one included with the full Adobe Acrobat package or a free one such as PDFCreator.
  2. Fill in the PDF form as you normally would
  3. When you’re done with the form, print it
  4. Rather than using your default printer, select the one from the PDF tool you installed in step #1

Voila! Now you’ll have a PDF of the filled-in form to save for your records.

Ubuntu 9.04 Screen Resolution/Monitor Out of Range (nVidia Driver 180)

After installing Ubuntu 9.04 Jaunty and enabling the nVidia 180 driver (onboard video is a nVidia GeForce 6150 LE), I restarted the system and was greeted by the normal login screen. However, after logging in, my screen (Dell 2407WFPHC) went blank with a monitor message that the resolution was out of range. It appears that many people are running into this problem. The following fixed it for me.

  1. Open a terminal window
  2. Go to the X11 directory (cd /etc/X11)
  3. Make a backup of the current xorg.conf file (e.g., sudo cp xorg.conf xorg.conf.backup)
  4. Use your favorite editor to open xorg.conf (e.g., sudo vim xorg.conf)
  5. In the section “Device”, add the following line:
    Option “UseEdid” “False”
  6. The “Device” section should now look like the following:
    Section “Device”
    Identifier “Default Device”
    Driver “nvidia”
    Option “UseEdid” “False”
    EndSection
  7. Save the xorg.conf file
  8. Log off and restart the X server (from the login screen, click on Menu and select Restart X server)

That’s it. Now, when I log in, I’m able to see the screen and select a resolution using the nVidia X Server Settings tool.

Note: In the nVidia X Server Settings tool, if when you click the Save to X Configuration File button, you get an error message that it can’t save, run nvidia-settings from a terminal window using gksudo (for Gnome, e.g., gksudo nvidia-settings) or kdesudo (for KDE, e.g., kdesudo nvidia-settings). If, instead, you get a “can’t parse xorg.conf”, just rename /etc/X11/xorg.conf to something else so nvidia-settings can create a new file.

Can’t set your screen to the native resolution of your monitor? See the companion post, Ubuntu 9.04 nVidia Driver Screen Resolution Problem.

Ubuntu 9.04 nVidia Driver Screen Resolution Problem

Many people running Ubuntu 9.04 are having trouble with the proprietary nVidia driver (nvidia-graphics-driver-180 in my case) including getting it to go to high resolutions that fit the native resolution of widescreen monitors. I had the same problem with an nVidia GeForce 6150 LE and Dell UltraSharp 2407WFPHC monitor.

I was able to get all the resolutions, including 1920×1200, for my monitor as well as have the nVidia driver recognize the monitor as a 2407WFPHC, by doing the following:

(If you can’t see your screen at all after enabling the nVidia driver, first read the companion post, Ubuntu 9.04 Screen Resolution/Monitor Out of Range (nVidia Driver 180).)

  1. Open a terminal window
  2. Go to the X11 directory (cd /etc/X11)
  3. Make a backup of the current xorg.conf (e.g., sudo cp xorg.conf xorg.conf.backup)
  4. Run nvidia-xconfig with root permission (sudo nvidia-xconfig). If you get a parsing error, delete xorg.conf so nvidia-xconfig can create a fresh one.
  5. Open xorg.conf with your favorite editor (e.g. sudo vim xorg.conf)
  6. You’ll see a lot of extra settings now
  7. Look for Section “Monitor”. Mine defaulted to the following settings:
    Identifier “Monitor0”
    VendorName “Unknown”
    ModelName “Unknown”
    HorizSync 28.0  – 33.0
    VertRefresh 43.0 – 72.0
    Option “DPMS”
  8. Change the HorizSync and VertRefresh values to the correct ones for your particular monitor. For my 2407WFPHC, I put the following:
    HorizSync 30.0 – 83.0
    VertRefresh 56.0 – 76.0
  9. Save the xorg.conf file
  10. Log out and restart the X server (at the login screen, select Menu, then Restart X server)
  11. Log in and run the NVIDIA X Server Settings tool. You should now have a whole bunch of resolutions from which to choose. I selected 1920×1200.

The reason that this works is that the nVidia driver needs to know the frequency ranges for your monitor in order to know what resolutions are safe to use. Setting the HorizSync and VertRefresh in xorg.conf provides this necessary information.