Open a magnet URI from Google Chrome in Ubuntu 9.10 Karmic

It took more searching than it warranted but to open a magnet URI in Google Chrome/Chromium browser and have it open in Transmission you need to run the following so xdg-open can ask GNome how to handle the magnet link.

Open a terminal and for the current user:-

$ gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "transmission %s"
$ gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true

SliTaz Desktop, 33Mb at idle, nice

SliTaz at idle

SliTaz at idle

Keep in mind this is on a Intel Pentium III 500MHz / 192Mb RAM.

  • Boots from BIOS to login in 20 seconds
  • The system consumes about 30Mb of RAM at idle
  • Running Google Chrome browser and we’re still under 100Mb
  • It runs fast and responsive.

Very happy 😀

Fix locale complaints in SliTaz

seems the locale is not defined correctly in SliTaz 3.0

As root
First we check
root@toshiba:/home/ross# locale -a
If things are undefined we can do this
root@toshiba:/home/ross# localedef -i en_US -f UTF-8 en_US

Fix users that don’t login in SliTaz

I run a separate /home partition on the Toshiba (on all my installs) so I retain my data if/when I blow away the root / partitions. So in this case I installed SliTaz and added back my users with adduser but they couldn’t login with Slim with Slim reporting various errors in /var/log/slim.log

Fix as follows:-

You’ll need bash for this to handle the .config files etc.


$ su -
# cp /root/.xinitrc /home/<user>
# shopt -s dotglob
# cp -r /etc/skel/* /home/<user>
# chown -R <user>:<user> /home/<user>

That should allow the login to work. If not then check back with the log file in /var/log/slim.log looking for stuff around .xinitrc not working etc. (ie you can probably ignore the EE errors of X)

Kernel 2.6.33.1 on SliTaz

As mentioned in my previous post I was having trouble with Kernel 2.6.30.4 shipped by default with SliTaz 3.0 so here is a procedure to compile a recent kernel 2.6.33.1 which seemed to work better for me.

First we need to get the build dependencies
tux@slitaz:~/kernel/linux-2.6.33.1$ su -
Password:
root@slitaz:~# tazpkg get-install slitaz-toolchain
root@slitaz:~# tazpkg get-install ncurses-dev
root@slitaz:~# tazpkg get-install perl
root@slitaz:~# exit

Now get the kernel source
Continue reading

MythTV the GT220, HDMI and ALSA

Grabbed a Gigabyte GT220 based card for the MythTV box. $86AUD from msy.com.au. Dropped it in the Mythbox and it fires straight up for video, configure for VDPAU and we are good to go. The driver was NVidia’s 185 which produced a lot of tearing/vsync issues and an upgrade was in order. They’ve done some repackaging of the NVidia drivers which caused a bit of grief with one of the libraries (I ended up using dpkg – r to remove it as apt-get remove or aptitiude would try and remove MythTV, the packagers of Mythbuntu binding the NVidia drivers to MythTV itself, oh well).

So the upgrade to NVidia 195.36 allows me to fully use VDPAU on the GT220, the output quality is great and the CPU (C2D E4600) runs at about 5-10%. Happy with that 😉

So next is the HDMI audio. A little bit of a task of recompiling ALSA with the GT220 patch from XBMC (check out XBMC btw, create software I’ve been using it on my modded XBox-1 for years now and have always been impressed). So for those with a GT220 and wanting HDMI Audio on ALSA check this out http://wiki.xbmc.org/?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210,_GT220,_or_GT240
Continue reading

Off and running

First post! Ok probably the most social thing I’ve done on the net for a while.  I’ve been pondering a blog for a while now and thought I’d get off my but to do it.

What’s it all about? We’ll the stuff that is technical and spins my wheels.  Computers are a big part so you can expect to see some stuff in and around my MythTV setup and my experience with Linux in general.

More to follow soon.  I’ve been working on a minimal Debian install for my old clunker Toshiba Portege 7140 Laptop.  The Toshiba only has 500MHz PIII and 192MB of RAM and I’d like to have something of a web tablet machine.  Just pop it on and boot up into a web browser as quick as I can.  I’ve currently got some issues with the Xorg trident driver so I have to try my hand at debugging the driver (a first for me at this level in Linux).