Fedora 13 name suggestions

After a recent release of Fedora 12, the attention is starting to focus on Fedora 13.  And, as it is usually, the work starts with the name.  Here are the suggested and approved names for the next release of Fedora distribution:

  • Botany
  • Gloriana
  • Goddard
  • Langstrom
  • Loana
  • Manfredi
  • Truro

The Fedora naming tradition says that the new name must be in some way related to the previous one. If you don’t know how any of these names are linked to “Constantine”, the name of the Fedora 12 release, here is a page with more information.

And if you want to learn more history of the Fedora release names, you should visit this page.

Linux, Skype, and web camera

I’ve been using Skype for a few years now, but mainly for chats.  Occasionally, I’d do a call, but that never involved video.  Until recently.  A couple of days ago my dad got online (finally!).  And now there is a good reason to use Skype with a web camera for video calls.

One of the key points in Fedora 12 release notes was about improved support of video cameras.  That I was glad to hear.  I got my hands onto several web cameras and all of them seemed to work just fine in Cheese – a video capture application.  However, none of these cameras worked in Skype.  Either they were not recognized by Skype, or Skype was crashing, or I was getting really weird green-screen output, or something else.

It turned out, that there is something I had to do.  First, check if libv4l package is installed, and if it isn’t – “yum install libv4l“.  That’s a video for Linux library.  Second, start Skype like this: “LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype“.  Once I did that, Skype / Options / Video Devices confirmed that video is working fine.

Skype video

Fedora 12 and IntelliBook (rtl8187se)

I recently got my hands on an IntelliBook netbook (site in German, but the machine is actually Clevo M810L).  It’s a really small, light, and simple machine, which I got for nothing, and which, I haven’t got it for nothing, would cost me around 400 EUR.  The truth is, if I wouldn’t have bought it for 400 EUR.

intellibook

The good things about it are: small, light, built-in WiFi and a rather large 160 GB hard disk.  The bad things are: non-standard keyboard layout (I touch type, so I don’t mind, but the other people in my home do), non-Linux-supported web camera, and really low battery life (around 2 hours or so).  Also the touchpad always gets in the way, and the whole case has this cheap plastic feel to it.

When I first got the machine, it was running Ubuntu 9.10.  While I have nothing against Ubuntu, I am a Fedora person.  I want a regular desktop, and I want my commands and configurations to be where I am looking for them.  So I replaced Ubuntu 9.10 with a recently released Fedora 12.  The Live USB installation was as simple as it can possible be – boot from USB stick into a desktop, click “Install to hard disk“, and click Next three or four times.

Once the Fedora 12 Gnome desktop booted up, I was slightly disappointed to find out that wireless wasn’t working.  Since it was working just fine in Ubuntu, I was pretty sure that fixing the problem won’t be hard.  And  I was right.

First, I established that the wireless card uses RealTek chipset (rtl8187se).  Secondly, I Googled for rtl8187se and Fedora 12, which led me to this blog post, comments to which suggested that I need to add RPMFusion to my yum repositories and install kmod-staging* packages (there are two of them, one generic, and one with specific kernel version).  Once the packages are installed, loaded up the driver with “modprobe rtl817se“, and restart both network and NetworkManager servers.  Not even a reboot is needed – NeworkManager picks up the wireless network adapter and connects to the network.  A test reboot confirmed that nothing else needs to be done and everything is just fine.

With that, I now have a little computer, which is easy to move around, and can even be given to my kid to play with.  If it wasn’t for the short battery life, it would be perfect for travelling.  So, either I’ll find an extended battery for this thing (which I doubt), or I will get myself another netbook for all the travels that I do.  Carrying around a full fledged laptop becomes heavy and ridiculous.

Fedora 12

I’ve upgraded my laptop to Fedora 12.  I know, that wasn’t the smartest move, since the conference which I am attending is not over yet.  But I just couldn’t wait.

The upgrade process was as simple as:

  • Open up the terminal, switch to root user, and run “preupgrade“.
  • Select Fedora 12 from the list of available options and click Next.
  • Watch the downloads in progress.  Or, as I did, go and have a few beers and socialize.
  • When you are back from the beers, before you crash into bed, click the Next button for the installation to start.
  • Go to sleep.
  • Wake up to a shiny Fedora 12 distribution on your computer.

The only thing that got me worried for a second was that after the laptop rebooted into Fedora 12, for some reason the resolution of the screen went down to 800×600 or something like that.  But all I had to do was login into Gnome, navigate to System / Administration / Display and switch resolution back to what it was before the upgrade.

I didn’t have much time to explore things yet, just read through release notes and features list.  However things do look to be faster and more polished.  I’ll have to use it for a few days to know for sure.

Running simultaneous Firefox sessions with different profiles

The more and more I use Firefox, the more add-ons I install, and the heavier it becomes.  Recently I got to the point where I am annoyed by all the heavy weight functionality, but cannot remove it complete because I need it occasionally.

The solution to my problem turned out to be pretty simple, even if it required some Google searching and IRC chatting – multiple profiles.

By default, when you run Firefox for the first time, it created a default profile to store all your stuff – saved passwords, bookmarks, add-ons, etc.  However it is possible to create more profiles and separate things a bit.  For example, I currently have three profiles:

  • Browser.  I use this one for generic browsing stuff, such news reading, email, etc.  Firefox add-ons for Gmail, Google Calendar, YouTube, Flickr, and other major sites I used frequently are installed under this profile.
  • WebDev.  I use this one for my web development needs.  Web Developer, Firebug, Live HTTP Headers, and any other add-ons that help me do my job are installed under this profile.
  • Default.  I keep this one clean and empty.  Sometimes I want to see how  site behaves in the browser with default settings – for this I use the Default profile.

Creating this profiles in very easy.  As per Firefox documentation, all you need to do is close all current Firefox windows, and then run Firefox from command line with -ProfileManager parameter.  A small window will popup that will give you options to create, rename, and delete profiles, as well as select with which profile to start the new session.

The problem that I came across was running several Firefox sessions in parallel, each with its own profile selected.  I could easily select the profile for the first session, but when I was starting up the second session, it would just reuse the same profile from the first session.

The solution to this problem is either setting MOZ_NO_REMOTE environment variable to 1, or specifying -no-remote parameter on the command line.  The -no-remote parameter on the command line seems to be a recent addition to Firefox, so if it doesn’t work yet for your version of the browser, you’ll need to fall back on to the MOZ_NO_REMOTE environment variable.

So, if you have a recent Firefox version, you need to run (updating your desktop and menu shortcuts seems like a good idea):

[user@host dir]$ MOZ_NO_REMOTE=1 firefox -ProfileManager

If you want to start Firefox with specific profile (e.g.: DesiredProfile), you can do so with

[user@host dir]$ MOZ_NO_REMOTE=1 firefox -P DesiredProfile

Alternatively, you can export the variable globally, by adding the following line to your .bashrc file

export MOZ_NO_REMOTE=1

If you have a recent version of Firefox, then the command changes to:

[user@host dir]$ firefox -no-remote -P DesiredProfile

Other things that you might want to keep in mind are:

  • Some add-ons will be common between your different profiles.  For example, I want to have my delicious bookmarks available to me everywhere.  For these cases, you’ll need to install the same Firefox add-on to every profile that you will need it at.
  • Some bits of configuration (such as custom keyboard shortcuts, for example), will need to be configured in each profile separately.
  • You might want to have a different Firefox theme for each of your profiles, so that it’s easier to see where you are visually.