For some time it has irritated me that launching URLs from my terminal would always launch Iceweasel/Firefox, rather than my default browser Chromium. If you’re running KDE or Gnome, then I accept that this would be governed from somewhere in the desktop environment’s control panel or settings, but I run PekWM, and assumed that setting the default browser in update-alternatives should be enough:
# update-alternatives --config x-www-browser
Unfortunately of course many of the applications that I am using are native to KDE or Gnome and probably are still respecting their environment’s settings. In the end it was simply a case of editing:
And adding the following lines:
Now opening links from my terminal is correctly opening a new tab in Chromium, or running Chromium if it isn’t already.
Update Wine 1.5 has now been announced!
I was delighted to read this morning that Wine 1.4 stable had been released, a quick …
dpkg -l wine
… revealed that my Debian Wheezy install was running version 1.0.1, several significant versions old. There may be good stability reasons for that decision, but I can afford to be a little more adventurous on my desktop PC.
So the question was how to build, well some brief and helpful instructions are already available.
The only ways I deviated from these instructions was to use the standard Wine option for the build:
$ cd tmp/
Taking the option for “no” to build without installation, and once complete I installed with:
Checkinstall is a wonderful program to install from source via a Deb package, that can later be uninstalled or upgraded.
Many thanks to lindqvist for saving me the hassle of working out the dependencies!
I finally decided to upgrade my work desktop to Debian Squeeze.
Preparing for the Upgrade
I manually removed all but the official lenny repositories (and removed the Debian Volatile repository which is no longer used), and updated them to “squeeze”: Continue Reading
I sometimes find myself wondering what a package’s dependencies are. This question is usually quickly satisfied with a
$ sudo apt-get install packagename and then aborting, or perhaps more elegantly
$ sudo apt-get -s install packagename to simulate the installation.
This doesn’t give you the entire picture, as it only lists the dependencies that you don’t already have; which is usually all you care about, but there are occasions when you would like to list all of a package’s dependencies, for example when planning for a system that is not built yet, or not accessible at the current time. Or just for idle curiosity! Perhaps that’s just me.
A nice howto for KVM and libvirt on Debian Squeeze:
Virtualization With KVM On A Debian Squeeze Server | HowtoForge – Linux Howtos and Tutorials
I have used KVM, but never with libvirt. I understand that libvirt is a standard api for managing various virtualisation technologies, e.g. KVM, QEMU, Xen and others, giving you a common way of managing your guests regardless of the technology in use.
This Saturday I attended the Surrey Linux User Group meeting held at Sirius in Addlestone. Mike Judd of Akuna Group brought along a number of thin client PCs, along with monitors, keyboards, mice and a switch and set a challenge for attendees to attempt to install Linux on them.
The thin clients were IGEL thin clients with 1GB RAM and 1GB transcend flash card. The RAM is plenty for Linux, so the main challenge was keeping the installation under 1GB, when modern Linux distros are probably 6gb or so.
I decided to try installing a minimal version of Debian, running just the PekWM Window Manager and not much else. This would me the advantage of the enormous Debian repositories, with all the flexibility that this provides.
Google Chrome started stating “The Flash plug-in was blocked because it is out of date.”.
To fix this I entered “about:plugins” in the address bar, and clicked “disable” against Flash. This results in Google Chrome falling back on the version of Flash installed in the operating system. If you do not have Flash installed, then in Debian you can install as follows:
Firstly ensure that the repositories in
/etc/apt/sources.list include “non-free”, for example:
deb http://ftp.uk.debian.org/debian squeeze main contrib non-free
Then install Adobe Flash with:
$ sudo apt-get update
$ sudo apt-get install flashplugin-nonfree
And you should now have a working Flash installation. I have tested You Tube and all seems to be well, but I will update this page if I find any issues.
By the way, I would obviously prefer to run Chromium, the open source version of Chrome, but at the moment the version in Squeeze is outdated, and there are no backports yet for Wheezy.