Wisen Tanasa | ceilfors

Ramblings and musings on software development

Debian Interchange

20 January 2014

This post contains all of the ritual I had done during my distro installation. I’m using HP DV3-2111TX laptop. Though this laptop is not a Ubuntu Desktop certfied hardware, I don’t encounter much firmware issues.

Switch distribution

It didn’t take me long to switch to testing distribution after some of the packages I need are not available or outdated in squeeze e.g. gradle, android-tools-fastboot, android-tools-adb, etc.

During my way to find the fastest Debian mirror, I found that apt-spy doesn’t work OOTB like before. It is looking for some mirrors txt file to no avail. Maybe it’s not mainted anymore. I was using netselect-apt to find the festest mirror instead. Works like charm.


As usual, I need to cure my loyal patient, PulseAudio. This guy is ill on the current stable and testing distributions. ArchLinux’s Wiki is always my best friend here. It has a long list of well maintained PulseAudio troubleshooting guide. Just look at that fat table of contents!

On squeeze, I had crackling / buzzing sound when an audio starts playing. I fixed this by turning off the timer-based scheduling.

After switching to jessie (the testing distribution as of now), my audio volume is randomly jumping to 100%! Thanks to ArchWiki again, disabling the flat-volumes fixes this issue.

Environment variables

Setting environment variables in KDE is quite simple. Just add a file in the exactly same location that look like this:

○ → cat ~/.kde/env/path.sh
export PATH=/opt/bin:$PATH
export JAVA_HOME=/opt/jdk1.6.0_45

East Asian Fonts

All of the ttf-* fonts are replaced with fonts-* in testing distribution. As of this post, most of the articles out there are outdated. I found most of the right fonts to be installed in the Debian fonts subsection page.

These are the fonts that I install:

sudo aptitude install fonts-arphic-uming fonts-wqy-zenhei fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core


Ok, I have forgotten the role of each of these files again. I was having a hard time configuring bash-it for my non-login shell. This is the best answer I have found so far. I end up sourcing .bashprofile from .bashrc to make this work.