Archive for the ‘Linux’ Category

Running Clojure on Slackware

To run Clojure on Slackware you’ll want a few things: JDK (use the Slackbuild from /extra to build the latest version yourself) Leiningen (available from SlackBuilds.org) Create a command line wrapper to execute Clojure scripts (some examples for learning Clojure expect you to set this up, but don’t really tell you how to). Assuming you’ve […]

Posted on January 4, 2014 at 1:59 pm by Carlos Corbacho · Permalink · Comments Closed
In: Clojure, Linux, Slackware

Linux video acceleration

With the advent of open source UVD support for my HD5750 in Linux, I’ve been trying to understand what is needed for accelerating video under Linux, and how all the components work together. So I drew a diagram to try and make sense of it all: Sufficed to say, it’s not pretty. The key thing […]

Posted on June 24, 2013 at 9:49 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux

Psycopg2 and large result sets

Psycopg2 has a bit of a gotcha when it comes to fetching result sets that can catch out the unsuspecting developer. By default, it does not actually use cursors, but simply emulate them. In practical terms, this means that the entire result set of your query is fetched by the client into memory. It is […]

Posted on April 15, 2013 at 11:02 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux, Python

Linux Containers (LXC), libvirt and Slackware

I’ve spent the last few days getting very frustrated with trying to make a Linux Container (LXC) run via libvirt on Slackware – various weird and wonderful error messages about being unable to mount cgroups (LXC depends on cgroups to provide the networking and namespace isolation). The short answer is that by default, Slackware mounts […]

Posted on October 18, 2012 at 10:09 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux, Slackware

Slackware, Amarok and Transcoding

As I’ve recently been importing CDs in as FLAC, I want something that can transcode this for me when and manage my collection when working with my iPod. Amarok has now finally re-gained transcoding support as of 2.4: However, trying this in Slackware 14.0 RC3, it doesn’t work – trying to copy FLAC tracks to […]

Posted on August 27, 2012 at 11:09 am by Carlos Corbacho · Permalink · Leave a comment
In: KDE, Linux, Slackware

USB 3G Modem on Slackware – DNS

A follow up from last years post – clearly having not played around with the 3G card since last year, it’s only today I realised that DNS wasn’t actually working. PPPD was correctly requesting the nameservers from the remote peer, but by default, puts them into /etc/ppp/resolv.conf. This isn’t terribly helpful. PPPD will try to […]

Posted on August 24, 2012 at 11:02 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux, Slackware

USB 3G Modem for Vodafone on Slackware

In spite of having to spend too much of my work time getting various 3G dongles working, I’ve never had to do it at home. For Vodafone, it’s actually quite simple: 1) Install wvstreams 2) Install wvdial 3) Add the following to your /etc/wvdial.conf [Dialer vodafone] Init3 = AT+CGDCONT=1,”IP”,”internet” Phone = *99# Password = pass […]

Posted on September 4, 2011 at 2:33 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux, Slackware

Using a non-US keyboard with X server 1.9

In the brave new world of X server 1.9 (this is with Robby Workman’s latest Xorg packages, but it’s only a matter of time before Slackware picks them up), HAL is dead to X and we now have /etc/X11/xorg.conf.d However, I still want a UK keyboard layout, and these days, I want my Caps Lock […]

Posted on October 10, 2010 at 9:42 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux

KDE & Exchange support

I’ve been spending the last few weeks, on and off, trying to figure out the level of Microsoft Exchange support in KDE at the present moment and near future. From lots of digging around various sites, and poking at the source code, it seems that: 1) libmapi (from OpenChange) provides a library that can talk […]

Posted on January 19, 2010 at 9:25 pm by Carlos Corbacho · Permalink · Leave a comment
In: KDE, Linux

Using a non-US keyboard in X with Slackware -current (13.0) without xorg.conf

xorg.conf is dead – long live xorg.conf For a UK layout keyboard, stick the following in /etc/hal/fdi/policy/10-keymap.fdi (for other layouts, change gb and/ or add as appropriate). This is just enough to merge with the existing file & blat the keyboard layout (without having to resort to re-implementing the default Slackware FDI). <?xml version=”1.0″ encoding=”ISO-8859-1″?> […]

Posted on June 10, 2009 at 11:05 pm by Carlos Corbacho · Permalink · Leave a comment
In: Linux