Using a Sun Type 7 USB keyboard in KDE

Submitted by Falken on Mon, 09/07/2020 - 18:47

If you look around, everyone make it complicated. It isn't.

* Settings > Hardware > Keyboard
Select the correct keyboard modal, then on the Layouts tab add a new one for your language, layout, and select the 'type 7' variant.
Move it to the top of the list so it's default.
Enable nothing in the 3rd Advanced tab

* Reboot - you should find the volume and power keys work


Monitoring TP-Link Powerline speeds on a TL-WPA8630P

Submitted by Falken on Sun, 12/29/2019 - 10:37

Firstly, you'll need to use your web browser's network debug panel to intercept a login request to the access points web GUI.
You'll want to find the 'Basic admin' cookie.

That done, just replace both 'x.y.z.w' with your devices IP address, and put the key in 'PUT YOUR KEY HERE'.

The script requires the standard 'curl' command, and also the 'jq' command to understand the output. If you don't have them. they'll be in your standard repositories.

Raspbian and media keys

Submitted by Falken on Sun, 03/06/2016 - 18:49

Just got a Raspberry Pi3 and a bluetooth keyboard and annoyed that the media keys for doing things like change the column don't work ?
Just add these to ~/.config/openbox/lxde-pi-rc.xml after all the other <keybind> before the </keyboard>

Epson XP-312 ink status script

Submitted by Falken on Sat, 01/24/2015 - 14:29

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 !

Linux (Kubuntu) on Dell Latitude E5430

Submitted by Falken on Thu, 04/25/2013 - 21:50

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 Wed, 12/19/2012 - 10:03

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.

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

Submitted by Falken on Mon, 01/23/2012 - 19:24

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"

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

Submitted by Falken on Fri, 06/17/2011 - 19:33

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.