Showing posts from 2015

Midori browser font rendering

I was having issues with Midori not rendering fonts the way I thought it should in aptosid XFCE. I set a default.css in ~/.local/share/midori/styles/default.css:
* { font-smooth:always !important; -webkit-font-smoothing: subpixel-antialiased !important; text-rendering: optimizeLegibility !important; } but that didn't fix what appeared to be wonky antialiasing. So I had a look in my ~/.Xresources and lo!:
Xft.dpi: 96 Xft.antialias: true Xft.hinting: true Xft.rgba: rgb Xft.autohint: false Xft.hintstyle: hintslight Xft.lcdfilter: lcddefaul !!! Typo here !!! Should be "lcddefault". Things are much improved now. I'm not 100% certain that it's 100% right, but it's definitely mostly right.

The takeaway for you, dear reader, is not to ignore your display configuration in  ~/.Xresources.

Broken Netbeans C++ code completion in Debian sid

When I use the workaround I wrote about for Netbeans crashing on startup in Debian sid, I notice that some C++ code completion doesn't work as expected. In several classes I've tried writing, code completion isn't picking up stuff declared in the header file.

When I use a copy of Oracle Java downloaded just for NB (i.e., netbeans_jdkhome="/home/me/opt/oracle-java/jre1.8" in /home/me/opt/netbeans/etc/netbeans.conf), things work as expected.

Whether this is a different or related bug I can't say, but I thought it worth mentioning in case anyone else is having the same problem.

Workaround for Netbeans crashing in Debian sid

A short while ago, my local install of Netbeans 8.0.2 started refusing to start with OpenJDK on my aptosid  box. I got around the problem by downloading Oracle Java and pointing Netbeans at that via my netbeans.conf:
... # netbeans_jdkhome="/usr/lib/jvm/default-java" netbeans_jdkhome="/home/mithat/opt/oracle-java/jre1.8" ...
Today I found Debian bug #798924 that suggests a workaround that allows using OpenJDK. In /etc/java-7-openjdk/, comment out the line:


So far so good.

Fixing Qt5 themes in Xfce

A lot of my Qt apps (e.g., qpdfview, VLC) recently stopped respecting my GTK theme. I did some checking, and it turns out they are all Qt5 apps. Google led me to the QT5 apps don't obey GTK theme settings post at the Manjaro Linux forum, which has some interesting things to say (generally applicable to all distributions).

What I eventually did was add:

# Workaround for Qt5 app theming.

to the end of my my .profile, logout and log back in. Works now.

Looking for a new RSS news reader

Tiny Tiny RSS is a very decent if not glamorous self-hosted, FOSS news reader. A while back the developer decided to make the install and update process git-based. In addition, "shared hosting accounts, windows and other alternative OSes, free tiers of PaaS services of any kind, is not supported. Not supported in this case meaning: it may work in your particular case but if you have problems you are on your own."

I don't know with any certainty if the deprecation of shared hosting support has anything to do with some weirdness I'm experiencing on the shared hosting account where I have my TT-RSS installed. So, I am preparing for the worst.

I want a self-hostable and FOSS solution if at all possible. The solution also needs to play well with mobile (Android), either through really good Web site design or a dedicated app. I also insist on keystroke article navigation (next and previous).

I'll update this list as I try things.

FOSSownCloud sports a news module. I…

Debian Jessie


KB3033929 - or the joys of dual booting

I have been bitten by the bug described in Microsoft's KB3033929.

What I did to fix it:
Dug around and found my Windows 7 install disc. Luckily I had one. Woe be to you if your computer came without one.Started my computer with the  Windows 7 install in the CD drive. Did the obvious things until I got to a dialog that gave me the option to Repair your computer--which I selected.In the following window, I selected Command Prompt and ran Bootrec.exe /FixMbrThat seemed too easy, so I also ran the option to check for and correct startup issues.Removed the Windows 7 install disc media After the automatic reboot (into Windows--bye, bye GRUB), then manually rebooted.Prompted windows to try (again!) to install the offending update.Rebooted to confirm that the update took.Reinstalled GRUB using Rescatux. So far, no drama.

Ubuntu phone?

It looks like an Ubuntu phone is going to see the light of day. While I really want to see this launch be a success, the description of the phone by BBC News has me less than blisteringly hopeful. And not because the offering is a low-end device. Rather, it's because the phone won't have the most valuable distinctive feature promised by the platform--conversion to desktop mode when hooked up to external devices--and it will place front and center a largely app-less Scopes UI--which seems to try to be different mostly for the sake of creating some kind of distinction.

I think history has shown that different for different sake doesn't work out well in crowded, high-tech consumer markets. Different in and of itself doesn't offer the user value. In fact, different in and of itself represents friction for the user, a friction that something of greater value must overcome--be it improved performance, better usability, increased visceral appeal (with longevity), or useful n…

Samba and mtp automatic mountpoints with gvfs

Apparently, if you browse to a Samba share using gvfs (e.g., from Gnome's file manager, Thunar, etc.), it has a good chance of appearing as a mounted volume in /run/user/{your-user-number}/gvfs/.

It seems to work for mtp devices as well. I hooked up my Android phone, and I got a /run/user/1000/mtp:host... directory. I tried a couple command line operations in there, and while it was slow as snails, it worked. Now I can write scripts that operate on data stored on my phone!