Archive for October 19th, 2012
The continuing saga of trying to run a Linux desktop with two monitors (one rotated in portrait mode), separate X sessions, two trackballs, and a Wacom graphics tablet continue with Xubuntu 12.04. KDE continues to not work quite right with dual monitors, Gnome seems to be dead in the water, Unity wants to be a touch-screen UI when it grows up, and Linux Mint introduces yet another not-quite-baked UI. The breathtaking churn in Linux infrastructure continues, rendering everything I’d figured out with respect to FDI / HAL / udev configuration lagely irrelevant.
For lack of a better alternative, I’ve installed Xubuntu, which is now a deprecated (available, but unsupported) version of Ubuntu. Configuring separate X sessions on two monitors requires the proprietary nVidia driver. The XFCE display configurator falls over dead when confronted with two screens and the
xrandr extension seems unworkable. Fortunately, I’d left a bit of commented-out cruft in the
xorg.conf file that worked in Xubuntu 10.10 and could copy the whole file over with only one change:
Section "Screen" Identifier "Portrait" Device "GF9400_1" Monitor "Dell2005FP" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-1: 1680x1050 +0+0" Option "NoLogo" "Off" # Option "RandRRotation" "On" Option "Rotate" "CCW" SubSection "Display" Depth 24 EndSubSection EndSection
Swapping buttons 2 and 3 on the Wacom stylus poses a bit more of a challenge. Doing it on a per-session basis seems straightforward:
xsetwacom set "Wacom Graphire3 6x8 stylus" button 2 3 xsetwacom set "Wacom Graphire3 6x8 stylus" button 3 2
You’d put those into a script and tell XFCE to auto-run it when you sign in, but that doesn’t handle hotplugging. I don’t hotplug the tablet, but random static glitches knock the USB hub into a tailspin and cause the same effect, so I jammed the lines that used to be in
Section "InputClass" Identifier "Wacom class" MatchProduct "Wacom|WACOM|Hanwang|PTK-540WL|ISD-V4" MatchDevicePath "/dev/input/event*" Driver "wacom" Option "Button2" "3" Option "Button3" "2" EndSection
I’m certain there’s a different location for those that fits in with whatever the overall design might be these days, but I’m kinda tired of figuring this stuff out.
The Wacom drivers in Ubuntu 12.04 no longer permit restricting the tablet’s range to a single X session (
xsetwacom set ... MapToOutput "HEAD-0" assumes you’re using
xinerama with a single X session across two monitors), which sprawls the tablet’s limited resolution across both screens and leaves a big unusable rectangle in the lower third of the left side. This is not progress in a positive direction, but there’s no workaround.
That workaround for the
upstart Pachinko machine also applies to this box. The minute-long pause while NFS hauls itself to its feet isn’t attractive: you see VT 1 with the bare white-on-black command-line login prompt, but if you actually log in, things get very ugly, very quickly.
Restoring the usual verbose Unix-oid startup messages requires tweaking
/etc/default/grub to set
noquiet nosplash, then running
Search the blog with the obvious keywords to get my earlier posts on all these topics…