Linux

Epson XP-312 ink status script

Submitted by Falken on

The following script outputs the percentage of each ink tank from an Epson XP-312 313 or 315 series WiFi enabled printer.

The output looks like

K:96 C:80 M:12 Y:34

which is perfect for feeding into Cacti or other monitoring systems. Guess I'd best go get some magenta ink !

Sections

Linux (Kubuntu) on Dell Latitude E5430

Submitted by Falken on

tl;dr important stuff all works. Minor stuff like finger print scanner easily fixable

The hardware is 'certified' by Canonical but this is meaningless because it doesn't say what of the many options Dell offer for the E5430 was used. It also doesn't list correct details for hardware such as Bluetooth, or even that the finger print scanner exists. And there is no way to submit fixes. And the contact us page is 404 compliant. So let's hope Google finds this for you instead :-)

Section (old Drupal 7 content)

ColdFusion forgets to use UTF-8 files after logs rotated

Submitted by Falken on

For a long time, it's been recommended to set up Linux's logrotate system to manage the size of cfserver.log, which can easily grow to be a very large size on production systems, and ColdFusion seems unable to manage itself, unlike the other logs.

I recently discovered however, that a restart of ColdFusion via logrotate was changing the way files were written and read.

Sections

Dell have abandoned Linux users, no matter what Ubuntu say about it

Submitted by Falken on

I got a Dell laptop a few years ago, and while scouting around for it's replacement I noticed the Ubuntu Linux folks are still proud to say their stuff not only runs on Dell kit still, but that it's available to purchase and have supported direct from Dell:

"purchase Ubuntu on Dell"
http://www.ubuntu.com/dell

Using your Amazon Web Services Summit 2011 card under Linux or MacOS #awssummit2011

Submitted by Falken on

For reason's best known to some brain dead marketing monkey, I got given a USB device that only works correctly on Windows. Have you ever seen a ghost in the machine open the run box, type in a web address and launch a browser with out asking ? Neither had I, and fortunately Linux and MacOS users don't have that problem. But how to get your free credit from the AWS Summit 2011 ?
I found a way.

Sections

Quick note on upgrading Fedora Core 12

Submitted by Falken on

I notice other people as well as me are getting an error when doing a 'yum' based upgrade (with distro-sync) from Fedora 12 (to 13 or 14).
The error is along the lines of "/lib64/libdb-4.7.so from install of compat-db4 conflicts with file from package db4-4.7.25-13.fc12".

For me, the fix was to upgrade just rpm and yum, then the rest. I couldn't upgrade rpm and yum without removing kudzu, but apperently the kernel does Kudzu's job now anyway.

Sections