The Lumber Room

"Consign them to dust and damp by way of preserving them"

Archive for April 2006

Managing multiple Firefox profiles — roaming profiles

leave a comment »

Use Firefox on more than one computer, and it soon becomes messy: bookmarks, cookies, and settings saved at one place don’t work in the other place, etc.
What one needs is a “roaming profile”; look at its kb.mozillazine entry

Looking at various places on the net, it appears that the Roaming Profiles feature (or even better, Profile Sharing) doesn’t look like it will be implemented anytime soon.

In the meantime, simply copying the .mozilla directory over appears to (imperfectly) work. I’ve been able to use the same .mozilla directory in two places using rsync. It probably helps that they are both Debian systems. For best results, try (if you can arrange such things) to have the same path to the home directory in both places: apparently, some extensions, etc., use absolute paths (they have the paths hardcoded).

Also, here’s what I did when I changed my home directory because there wasn’t enough space left on the old partition:

cd ~/.mozilla/firefox/(profile folder)
for i in `grep "/home/shreevatsa" * -RlI`
  do 
    sed -i 's@/home/shreevatsa@/usr1/home/shreevatsa@g' $i
  done

Ideally, of course, one should only have to edit at most a single file, like the instructions here. (I haven’t even read them.)

Written by S

Sun, 2006-04-23 at 19:37:00 +05:30

Posted in compknow

Amarok: MP3 on Ubuntu 6.06 (or later)

leave a comment »

Update[2007-11-22]: Just go to http://amarok.kde.org/wiki/MP3 for everything. Things should automatically work, anyway.

Old:

To get a working Amarok on Ubuntu 6.06 (“Dapper Drake”), follow these instructions:
http://amarok.kde.org/amarokwiki/index.php/MP3_on_Ubuntu_6.06.

(I created that page, sort of ;-).)

On Ubuntu 5.10 (“Breezy Badger”), follow these instructions:
http://amarok.kde.org/amarokwiki/index.php/MP3_on_Ubuntu_5.10.

For other distros (Fedora, SUSE, BSD) start at http://amarok.kde.org/amarokwiki/index.php/MP3.


Written by S

Sun, 2006-04-16 at 12:29:00 +05:30

Posted in compknow

Tagged with ,

dpkg error: trying to overwrite X, which is also in package Y

with 19 comments

For an error like this:

dpkg: error processing /var/cache/apt/archives/AAA (--unpack):
trying to overwrite `/usr/lib/BBB', which is also in package CCC
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
AAA
E: Sub-process /usr/bin/dpkg returned an error code (1)

(where AAA,BBB,CCC are placeholder names, in case it wasn’t clear)
do

sudo dpkg -i --force-overwrite AAA

(give full path of AAA), and then run

sudo apt-get -f install

again.

Written by S

Sun, 2006-04-16 at 10:51:00 +05:30

Posted in compknow

Tagged with , , , ,

Follow

Get every new post delivered to your Inbox.

Join 57 other followers