Archive for the ‘Ubuntu’ Category

Now on IPv6

Sunday, February 14th, 2010

I configured a bunch of IPv6 addresses on my GleSYS VPS and got it working after setting the proper route. After that I added AAAA records for the .se domains I buy through Loopia, including this one. Some of my domains are on easyDNS and they do not appear to support ...

Remote control of XBMC, but not too much

Saturday, January 23rd, 2010

Yesterday and today I have scripted a small web interface for remote control of XBMC using its HTTP API. (BTW, That API could really use a redesign!) It's actually just a page showing a screen shot and the name of the file that is currently playing, together with some commands to ...

Mark as junk in Evolution, train SpamAssassin on server

Monday, December 28th, 2009

Evolution has a feature for marking e-mail as junk. This will set an IMAP keyword "Junk" on those messages. On my mail server I run Dovecot as IMAP server and Spamassassin through Amavis to filter spam. How could I get Spamassassin to learn that all e-mails marked as junk in ...

PulseAudio support in Wine makes Spotify work better!

Monday, December 7th, 2009

For various reasons (see bottom of WinePulse – PulseAudio for Wine) the main branch of Wine does not support PulseAudio. This makes Spotify under Wine misbehave a bit, but fortunately there is a solution! A person called Neil Wilson has been kind enough to provide PPA packages of Wine with ...

Ubuntu upgrade behind firewall

Friday, November 6th, 2009

I'm currently upgrading my Ubuntu-in-VirtualBox at work from Jaunty to Karmic, but at first it didn't work at all. Update Manager got stuck when I clicked the "Upgrade" button. Due to the Big Corporate Firewall all Internet access must go through the the Enterprisey Proxy so I immediately suspected a firewall/proxy ...

Are you still using the old Java plugin for Firefox?

Wednesday, November 4th, 2009

In about:plugins, what's the filename of the Java plugin? Is it libjavaplugin_oji.so? If so, you should update to the new Java plugin. Run: sudo update-alternatives --config xulrunner-1.9-javaplugin.so Now select libnpjp2.so instead and restart Firefox. Source: Out of date java 6 plugin installed.

TaskFreak hacking part 2: date format

Monday, September 7th, 2009

My TaskFreak hacking goes on. In Sweden we often use ISO 8601 format for dates (year-month-day), but TaskFreak does not offer this out of the box. Most date formatting comes from the DATE FORMATS section in include/config.php but even after changing these date formats I still don't get all dates displayed ...

Facebook mail servers blacklisted by Spamhaus XBL!

Friday, September 4th, 2009

To be more exact, some Facebook mail servers are listed in the Composite Blocking List (CBL), including but probably not limited to these: outmail002.ash1.tfbnw.net - 69.63.184.102 outmail004.ash1.tfbnw.net - 69.63.184.104 outmail007.ash1.tfbnw.net - 69.63.184.107 outmail009.ash1.tfbnw.net - 69.63.184.109 outmail110.ash1.tfbnw.net - 69.63.184.110 CBL is not very informative, but writes: ATTENTION: If you are running IPSwitch Imail, or similar shared hosting software, ...

TaskFreak hacking: changing first day of week to Monday

Thursday, August 27th, 2009

I have two personal TaskFreak installations now: one at work and a personal one for everything else. Usually I run all my applications in English but the personal TaskFreak is in Swedish so the first thing I changed was a couple of things I didn't agree with in the Swedish translation. Then ...

Convert mailman translation to UTF-8

Monday, August 17th, 2009

Why is the Swedish translation in ISO8859-1? Sooooo 20th century! :-) Templates cd /usr/share/mailman/sv for f in *; do mv $f $f.old; iconv -f iso8859-1 -t utf-8 $f.old > $f done rm *.old Translations cd /var/lib/mailman/messages/sv/LC_MESSAGES mv mailman.po mailman.po.original iconv -f iso8859-1 -t utf-8 mailman.po.original > mailman.po msgfmt mailman.po -o mailman.mo /etc/mailman/mm_cfg.py DEFAULT_CHARSET = 'utf-8' def _(s): return s add_language('sv', ...