Author Archives: admin

4k Screen and Other Linux Woes

I’ve had my gorgeous 4k screen replaced twice since August, both times because of dead pixels. It’s what they call a premium screen, so apparently one dead pixel is enough. Still, that sort of thing will happen and I’m not terribly upset.

Far worse is the mediocre support for 4k screens in Linux. The new Ubuntu version, 15.10, is a prime example. For example, there’s a Unity bug where the display scaling setting is not respected when drawing the mouse pointer over Unity components, shrinking it to its original, unscaled HiDPI size. Forcing the scaling of the pointer had to be done in 15.04, too, by adding Xcursor*size: 48 last in /etc/X11/Xresources/x11common, but in 15.10, it’s no longer enough. Unity has to be reloaded before the pointer size is on par with the rest of the desktop.

There are also GUI components and other software that still ignore the scaling altogether: the scroll bars are ridiculously thin, and, of course, most Java components, from toolbars to radio buttons and menus, remain tiny. I’m not a software developer so I don’t know what is required to handle something like that properly, but what I do know is that it all works in Windows 10 and it all works in OS X.

To make matters worse, Ubuntu 15.10 upgrades the kernel to 4.2. This would normally be a good thing, but apparently there has been some small change in the kernel that breaks the Nvidia Optimus support: the Nvidia DKMS build fails, stating that the kernel is not supported.

So here I am, making do with the Nouveau drivers while waiting for updates, and reloading Unity after every reboot. I much prefer Linux to the alternatives, but I am a bit disappointed. I went from being a dist-upgrade junkie running Debian Unstable to a vanilla Ubuntu user because the bleeding edge sometimes bleeds a bit too much and I simply wanted to run Linux as my production environment using recent hardware.

I’m not giving up, though; a Windows session is enough to remind me why.

The Downsides of a 4k Screen

Having spent time using my shiny new Dell in a professional setting, I am now discovering the downsides of the fabulous 4k screen when running Ubuntu.

  • Ubuntu 15.04 is sort of ready for HiDpi, but there are some glaring problems that require attention, from the incredible shrinking popups to minuscule mouse pointers in some contexts.
  • Worth a special mention are the scroll bars and some of the LibreOffice controls, both of which are tiny by default. The former is fixable by reverting to “classic” mode but I have not been able to solve the latter yet.
  • Checkboxes are no fun either. They remain tiny, despite my best efforts.
  • Most Java apps have issues with UI scaling. The toolbars in particular are a pain.
  • Hooking up a projector for a presentation will mess things up after disconnecting it. See any of the above, plus some additional problems having to do with drastically resized app windows.

Don’t get me wrong; I don’t regret buying the Dell. I just wish Linux would catch up more quickly.

Balisage 2015

It’s the first day of Balisage (I missed the pre-conference symposium, sadly), and it’s a lot like a markup holiday. It’s great meeting old friends and new, and the two talks so far promise another great conference.

Ubuntu

I reverted back to Ubuntu after testing Mint 17.2 and deciding that while it looks good, I actually do prefer Unity these days. I really thought I would stick with Mint, you know.

New Laptop, New Linux Distro

Having returned to running my own company, I decided it was time to retire my 5-yo MacBook Pro and get something modern to run Linux in. After careful consideration I decided on a Dell Precision M3800 since it’s actually being sold by Dell with Ubuntu 14.04 pre-installed. The M3800 is thin and light, in spite of the 15.6″ screen, robustly built and includes a 4k screen. Simply put, it is gorgeous.

I didn’t order the Ubuntu version, though, partly since I actually need Windows every now and then, but mostly because there’s the “free” Windows 10 upgrade once it becomes available, and I’m curious. Instead, I added a second hard disk for the Linux install. The extra disk can be fitted if opting for a smaller battery, and the installation didn’t void the warranty, since Dell actually accepts that people will want to tinker with their machines (beat that, Apple!).

After careful consideration, a few live USB sticks and one test install of Ubuntu, I have now set up Linux Mint 17.2 as my primary OS. It handles the HiDPI 4k screen beautifully, except for some older apps with hard-coded font sizes and such (shame on you, Skype!) and most Java-based programmes I have tried so far. oXygen is pretty much the only Java app I really need, so for now I’ve doubled every font size in the preferences, which makes oXygen usable. The toolbars are still tiny, but I am now able to work.

All in all, I’m really pleased.

John Nash Killed in Crash

The American mathematician and Nobel Prize for Economics winner John Nash was killed in a car crash yesterday. Most people probably know the name from Ron Howard’s 2001 film A Beautiful Mind, but those of us with an interest in mathematics are more likely to remember him as one of the foremost minds in game theory.

Today is a sad day.

Mr Smith Goes to Washington

My paper submission to this year’s Balisage conference was accepted. It’s about an eXist implementation I did for the Swedish Federation of Farmers (LRF), and while I may not be completely objective, I think the system is very cool. From the conference blurb:

The Federation of Swedish Farmers (LRF) provides its 170,000 members with a web-based service to check compliance with state and EU farming regulations. These checklists are also produced nightly both as generic checklists with more than 130 pages and as individualised checklists for registered members. The system consists of an eXist database coupled with oXygen Author. The checklists and their related contents are edited, stored, and processed, published as PDFs, and exported to the SQL database which stores member registration, feeds the website, and does various other tasks. The system uses XQuery, XSLT, XInclude modularization, an extended XLink linkbase, and other markup technologies. It currently handles more than 40,000 PDF documents a year and many more than that in the web-based forms.

This is the second version of the LRF system. The first, presented at XML Prague in 2013, was XProc-based and represented my somewhat naive trust in the state of XProc in eXist, The new one I rewrote in XQuery, having tested (and failed miserably at using) the XProc module that is now available. XProc in eXist, sadly, is not yet ready for prime time.

Be as it may, I’m really pleased about both the system and my paper. and hope to see you there.

LinkedIn Spam

LinkedIn seems to be testing new ways to make money after their recent revenue forecast cuts. My inbox had a “sponsored message”, something I don’t recall having seen before.

Sorry, LinkedIn, but you’ll have to come up with something else. I’d rather delete my account.