There’s a driver for this series of printer on Lexmark’s web site. The software provides both the print drivers and printer and wireless set up utilities as well as a management interface to see ink status and perform some operations (Those operations can be performed using the menu on the printer as well).

The installation is pretty straight-forward. However there are some issues:

  • On Ubuntu, System/Administration/Lexmark Printer Toolbox brings up the management interface. However, the ink levels are not seen. This is because the administration interface is not running as root, however the original setup is done as root. Before we figure out which script/app needs to have its permissions fixed or which group your username should be in, the quick and dirty way to see the ink levels is to manually run the printer utility as root.

    sudo /bin/bash /usr/lexinkjet/lxk09/bin/.scripts/lexijtools

  • Wireless setup will fail because the printer will not detect any wireless networks. You cannot manually connect to one (like you would when the ESSID is not broadcast) either. Here’s the issue. There’s a utility wsulist which takes the usb device name as a parameter. On my system it was using /dev/usb/lp which does not exist. The correct device is /dev/usb/lp0. Also, this utility wants to run as root so you have to start the main utility like in the above issue too. (Do not manually run wsulist. While it won’t hurt, it won’t help either. The utility has to run it and use it to provide you a list of available networks).

    Create a symbolic link to the actual device and start the utility:

    sudo ln -s /dev/usb/lp0 /dev/usb/lp
    sudo /bin/bash /usr/lexinkjet/lxk09/bin/.scripts/lexijtools

    The wireless setup icon is at the top right corner. You can’t miss it. It should show you a list of wireless networks and let you set one up. Follow the rest of the prompts. There are actually some pretty neat things going on there. One of them is adding a separate print queue for the WIFI (separate from the same printer being connected via USB) which it then adds as another available option in the printer utility dropdown.

  • Scanner only works as ‘root’. Edit /lib/udev/rules.d/50-udev-default.rules and find the line that reads SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664". Change 0664 to 0666. Remove usb cable and reconnect it. It should now work. (Please note that this setting effectively allows EVERYBODY access to ALL USB DEVICES. I actually see nothing wrong with that at my home computer, so I will keep this workaround until I find a proper fix. This used to be handled by the ‘scanner’ group but that was apparently removed in karmic with nothing in its stead.)

Hint: If you select the name of the wireless printer queue in the Lexmark Printer Toolbox, the ink levels are shown there as upposed to the USB queue which requires root access.

Hint: At the end of the setup the network connections will be printed. Find the Address: line. You can put this on your browser and connect to your network print server. Please tell me if you find ‘print queue’ status information there.

PS: The installation utility actually asks for the ‘root’ password when it needs it. But a default Ubuntu install does not have a password set for ‘root’. So I opted to run the app with ‘sudo’. This might have caused some of the issues but I can’t think how.

Quickly mass update the PO-Revision-Date header in gettext archives (.po files).

sed 's/PO-Revision-Date:.*/PO-Revision-Date: 2010-02-14 10:09+0000\\n"/g' filename.po

This finds all occurrences (there should only be one) of PO-Revision-Date will sets the date to 2010-02-14 and 10:09 am.

From there one can employ find/xargs etc to repeat the same thing for a great number of files.

-i causes an inline edit (edits the same file in place without a backup). Without the -i flag output it sent to STDOUT from where you can redirect to another file

When you set up the ST780WL in bridge mode it uses its own IP (192.168.1.254) as the default gateway. If your real network gateway is at some other IP (192.168.1.1) then the ST780WL will not have internet connectivity.

I could not find a way to set the default gateway for the main interface on this device using the web interface, so I used the console. [How to access the console (telnet 192.168.1.254) is described in detail elsewhere on the web.]

Once logged in type

:ip rtadd dst=0.0.0.0 gateway=192.168.1.1

where 192.168.1.1 is our default gateway.

To test type

:ip rtlist

This should show

0.0.0.0/0 192.168.1.1 LocalNetwork 0 [UP]

at the bottom.

Ping an Internet host to test. (I think this can be done on the web interface too).

:ip ping proto=ip 8.8.8.8

8.8.8.8 is one of google’s new public DNS servers. The other is 8.8.4.4. It’s easy to remember and likely to be up. You can’t use a domain name because the ping command expects an IP. Also you don’t know if DNS is working at this point anyway.

If that works type

saveall

to save your configuration and type

reboot and later repeat the rtlist command above to make sure the configuration sticks.

When you compose an email with Thunderbird (all versions) and hit SEND, the compose window will remain open until the email is sent. This is annoying, especially when you’re sending big attachments.

I wanted the compose window to disappear as soon as possible since Thunderbird will warn me if there is an error anyway.

So Click Edit/Preferences/Advanced and select the General tab. Click the Config Editor button and accept the warning (which should really be removed, it is worthless). In the Filter box enter ‘sendinback’ which will filter the list so that only

mailnews.sendInBackground will be visible. Double click it so the boolean Value becomes ‘true’.

Restart thunderbird. Now when you click send after composing an email, the Compose Window will disappear as soon as possible (still not as soon as I’d like).

For google:
How to disable the compose window. How to hide the compose window. How to make the compose window disappear. Thunderbird. Shredder.

Cheers.

Some of the software in FreeBSD‘s Ports provide a menu based interface to configure the package. For instance, when you’re trying to install the curl package by typing make in the ports directory, the install has an option to use GNUTLS which you can select.

However if you do this without disabling OpenSSL, the port will fail to compile since these two options are mutually exclusive.
Continue reading »

© 2010 safsata.org / thatissopunkrock.org Please enjoy responsibly. Suffusion WordPress theme by Sayontan Sinha