Wednesday, November 20, 2013

Firefox's new look

Firefox's new look (the Australis GUI) can now be seen in the Firefox Nightly build. Without more ado, here it is, on Debian XFCE:

A lot of negative opinion on the internet, but quite like it myself, no objections certainly, and tabs definitely look nicer.

Firefox Nightly can be unpacked to the home directory and run from there. However, it's probably a good idea to use a separate profile, to avoid the risk of making changes to an existing profile that are not compatible with the existing version of Firefox (or Iceweasel, in my case).

Debian Bits And Snips explains how to do this. I ran into a problem in that when I'd closed Firefox Nightly and launched Iceweasel again, it was using the new profile. I had to use Profile Manager again to switch Iceweasel back to the default profile, but after that I used the launch command given and Firefox Nightly used its own profile and left Iceweasel using the default profile.
/home/username/firefox/firefox -P "new profile" -no-remote
no-remote means Firefox uses the new profile independently of the profile set for Iceweasel and without changing the profile set for Iceweasel- indeed it can run at the same time as Iceweasel with this command.

Profile manager can be launched with the following terminal command in Linux, if Iceweasel is using the wrong profile:
firefox --ProfileManager

Open magnet links in Transmission

One way to do this is to copy the link and open it as an URL in Transmission, but I recently came across some instructions for making magnet links clickable and open in Transmission.

Instructions are at transmissionbt.com.

After that, make sure Transmission is set to handle magnet links in the Iceweasel Content type menu, as described on the Crunchbang forum.

Tuesday, November 5, 2013

Browse files on Android from Thunar

If you try to browse an Android device from Thunar in XFCE over Bluetooth, it will try to launch Nautilus, which of course isn't installed in XFCE.

The Arch Linux Wiki has a useful script to allow Thunar to browse files on Android over Bluetooth. The script uses obexftp, which must be installed.

obexftp must also be installed in Android. I've read that some Android devices have the service running, but mine didn't.

Bluetooth File Transfer and ES File Explorer File Manager both install the service.

To be honest, I didn't have much success browsing files. In particular, image files from the phone's camera took a long time to browse, and half way through the folder, Thunar would give the same thumbnail to every file.

But I thought I'd document what I did in case I need to come back to it, or in case somebody else finds it useful.

Monday, November 4, 2013

SD card reader not working in Linux

One thing I've not been able to get working in Linux is the SD card reader on my laptop. The Ubuntu manual sdhci driver page hints at why:
Many of existing SD controller chips have some nonstandard requirements, proprietary registers and hardware bugs, requiring additional handling. 
lspci reveals the name of the SD card reader:
SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
dmesg that there's a problem:
mmc0: Unknown controller version (16). You may experience problems.
This is a message I've noticed while the computer is booting, I think for as long as I've used Linux, and in many different distributions.

There are several bug reports for this issue, but I haven't found any "additional handling". To read and write to SD cards, I use a USB card reader from PoundWorld.

One post I came across suggested there might be a fix coming in kernel 3.5, but I'm using 3.10 from Wheezy backports.

In the end I came across a way to disable the SD card driver so that the error message doesn't appear. Add:
blacklist sdhci-pci 
blacklist sdhci 
blacklist mmc_core 
to /etc/modprobe.d/blacklist.conf.

bugs.launchpad.net

This didn't take effect until I ran:
update-initramfs -u 
Debian forum.