Thursday, November 4, 2010

Faenza Icon Theme

Gnome users go to tiheum.deviantart.com/art/Faenza-Icons....
Download Faenza_Icons_by_tiheum.zip.  To have it extracted in one place : mkdir Faenza-icons. Put the zip file in it and unzip. Extract Faenza.tar.gz and Faenza-Dark.tar.gz. Put directory Faenza and/or Faenza-Dark in ~/.icons or /usr/share/icons.

Autogenerate and Use a Swap File

Package: dphys-swapfile from http://packages.debian.org/squeeze/dphys-swapfile . This init.d script exists so one does not need to have a fixed size swap partition. Instead install without swap partition and then run this, with file size (re-)computed automatically to fit the current RAM size. 
After the package has been installed whenever you boot you'll have /var/swap created. You can verify this yourself with the swapon command :
 /sbin/swapon  -s
Filename                Type        Size          Used    Priority
/var/swap                  file        2097144    0           -1
See : http://www.debian-administration.org/articles/550

Compile Latest Firefox

Go to ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.6.12/source/ and download firefox-3.6.12.source.tar.bz2. Get all the tools and things you need to build Firefox. In a terminal as root :

apt-get build-dep iceweasel
apt-get install libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm libidl-dev

Extract  firefox-3.6.12.source.tar.bz2 : tar xf firefox-3.6.12.source.tar.bz2. Put a ./mozconfig file in the directory mozilla-1.9.2. Open .mozconfig inside a text editor and paste in the following text:

.$topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-release
#mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-official-branding
ac_add_options --enable-system-cairo


In mozilla-1.9.2 open a terminal and enter make -f client.mk. Once the compile is done, the binaries will be in ../mozilla-1.9.2/ff-release/dist/bin/. After that cd mozilla-1.9.2/ff-release && make package. Package will be  in : mozilla-1.9.2/ff-release/dist/ (tar.bz2).
See my former post :debian-bits-and-snips.blogspot.com/2009/12/....
Many thanks to : http://lovingthepenguin.blogspot.com/2010/07/firefox-36-with-pretty-fonts-in-debian_15.html

Iceweasel From Experimental

You can a run the latest version of iceweasel from Debian experimental on Debian squeeze if you like. Just go to this page : debian.org/distrib/packages and search for these packages : xulrunner, libmozjs3d and iceweasel. Install them with dpkg -i packagename .

Skype on Squeeze 64 bit

Download Dynamic Static package from : http://www.skype.com/.... Extract in your home directory : tar xf skype-2.1.0.81.tar.bz2 .
In the README file it says : If you are using the dynamic and statically linked generic versions, you will need to choose a path for Skype to exist in. We recommend copying the skype binary to /usr/bin and installing sounds/, lang/ and avatars/ into the /usr/share/skype directory.
That's all. Alternative : ...google.com/chat/video

Problem While Loading "OAFIID : Glipper"

Add as setting to have glipper load a number of seconds later. Edit as root /usr/lib/glipper/glipper and add these lines right after the commented part with the license :

import time # <-- This line is new
time.sleep(8) # <-- This line is new. Change the 8 to for instance 30 if it did not help

Menu Hover Delay Gnome-panel

You want a faster opening menu ? Add these lines to the file ~/.gtkrc-2.0 :

gtk-menu-popup-delay = 0
gtk-menu-popdown-delay = 0
gtk-menu-bar-popup-delay = 0
gtk-enable-animations = 0
gtk-timeout-expand = 10

Full list of gtk-settings : http://library.gnome.org/.... 
Credits : http://community.linuxmint.com/tutorial/view/209