Archive for May, 2007

Ubuntu versus Debian

So I keep swaying back and forth between whether I prefer ubuntu or debian. Every once in awhile I’ll say to myself - “Ubuntu is better” or “Debian is better”.

At the moment, I’m leaning towards debian for non-gui setups, and ubuntu for desktop / laptop setups. I was really into xubuntu for awhile, but I’m now leaning towards vanilla ubuntu.

jEdit In conjunction with Selenium

Today I used jEdit to write scripts to run with Selenium. In jEdit you basically write an html script telling Selenium what action to take and areas of the software to test. Selenium follows these instructions by reading html that is put into tables.

This is basically telling Selenium to open the page, type music in the search bar, click search, and then click on the link entitled Cruisin. I find that if im having trouble getting an action to work writing the HTML myself, I will actually perform the task using the IDE interface and then examine the html generated by the program. Next I am going to use selenium to use the refresh and pause commands.

I found this guide to be very useful in helping writing different functions for Selenium.

xfonts-scalable bug?




xubuntu fonts are all squares

Setting up xfonts-scalable (1.0.0-6) ...
Invalid string keyword: chassis-type
Valid string keywords are:
  bios-vendor
  bios-version
  bios-release-date
  system-manufacturer
  system-product-name
  system-version
  system-serial-number
  baseboard-manufacturer
  baseboard-product-name
  baseboard-version
  baseboard-serial-number
  baseboard-asset-tag
  chassis-manufacturer
  chassis-version
  chassis-serial-number
  chassis-asset-tag
  processor-manufacturer
  processor-version
usage error: unrecognized option
Usage: update-fonts-dir DIRECTORY ...
       update-fonts-dir { -h | --help }
This program is a wrapper for mkfontdir(1x) that is primarily useful to Debian
package maintainer scripts.  See update-fonts-dir(8) for more information.
Options:
    -h, --help                               display this usage message and exit
dpkg: error processing xfonts-scalable (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 xfonts-scalable
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could this error be related:

perl: warning: Setting locale failed.

Attempted fixes:
This completed without a problem:

locale-gen en_US

This also reported the same perl error, but generated a slew of locales:

dpkg-reconfigure locales

This link makes me believe that the error will eventually go away: Locale error - perl: warning: Setting locale failed.

Nope, its still not fixed. Found this tip on how to fix locale errors in ubuntu, but it didn’t work for me either. :-(

I had tried using gutsy gibbons, but now I’m using edgy eft. It appears that a newer version of openoffice was installed that might have been messing things up. I’ve removed it and am now trying a dist-upgrade.

Continue reading ‘xfonts-scalable bug?’

Boring Tech Announcements

Both Microsoft and Palm have failed to impress me with their announcements. After a lot of hype this past week, Palm unveiled foleo a small laptop, and Microsoft unveiled a piece of furniture.

ZZZZZZZZZZZZZZZZZZ….