Say you have /var on a separate partition for whatever reason, and the space is enough for your usual needs, but you all of a sudden have to install a massive set of new packages all at once, most likely for a version upgrade. If you’re in an apt-based system (Debian, Ubuntu, and friends) you’ll likely see a message like this:
E: You don't have enough free space in /var/cache/apt/archives/.

Fortunately it’s fairly easy to fix this temporarily without worrying about resizing the partition. You’ll need a partition or external storage at least as large as the amount of archives it says it needs to get. We’ll assume you mounted this at /media/bighonkindrive. Now all you have to do is:
$ sudo mv -i /var/cache/apt /media/bighonkindrive
$ sudo ln -s /media/bighonkindrive/apt /var/cache/apt

(Or switch to a root shell and drop the sudo. And the -i just makes sure anyone reading this who happens to have an “apt” file or directory in their bighonkindrive doesn’t curse my name. And you could presumably do the same for just the /archive directory, but why not keep it all together? ) Then run your upgrade. When it’s done you can do:
$ sudo apt-get clean
$ sudo unlink /var/cache/apt
$ sudo mv /media/bighonkindrive/apt /var/cache

And we’re done. Yes, this should be obvious, but sometimes the brain sticks. If this is really stupid, or there’s a better way, or whatever, please let me know.

TabMixPlus is one of the most useful AddOns for Firefox. There are regular builds of the extension which you can install in Firefox 3. But if alpha AddOns to beta software is a little too much inconsistency in your work flow, you can replicate some of its behavior through about:config, the control panel for just about every setting in Firefox. There are two main settings I don’t think I can live without, so I set out to fix them:

  1. The close button on the tab bar. You can access this with “browser.tabs.closeButtons“. The values for this are:
    • 0: Close button on active tab only.
    • 1: Close button on all tabs. (Default.)
    • 2: No close buttons at all.
    • 3: Close button on tab bar.

    If I remember correctly, TabMixPlus allows me to set close buttons on both the tab bar and the tabs. I haven’t figured out a simple way to set this. I still prefer the button on the bar to on the tabs themselves, because with lots of tabs open it can be hard to hit the right one. The close button on the tab bar has the same effect as CTRL-W – it closes the active window. Having them on the tabs, though, has the advantage of allowing you to close a tab without first switching to it – assuming your aim is true.

  2. Opening results from the search bar in a new tab. This is controlled with “browser.search.openintab“. The default is “false” which opens the results in the current tab. Toggling this to “true” opens a new tab. I couldn’t find similar options to control the behavior of links clicked in the bookmarks and history menus, or the bookmarks toolbar – although middle clicking on links in the menus does open them in a new tab by default.

You open about:config by entering just that into the location bar. You then use the filter bar to narrow down the list of preferences, find the one you want, right click on the value, and choose toggle or modify depending on the type of value.

I suppose I’ll update this if and when i figure out any other fixes. Losing the TabMixPlus session manager, though – that’s something to cry about. Or it’s reason enough to turn off the security check (instructions here and here) or use the Nightly Tester Tools AddOn.