Thursday, August 26, 2010

Disbale Zoom in Iceweasel/Firefox

To access Iceweasel/Firefox's configuration settings, type about:config into the Awesome Bar (URL).

In about:config change:
zoom.maxPercent : 100
zoom.minPercent : 100
toolkit.zoomManager.zoomValues : 1

The Original Values are:
zoom.maxPercent : 300
zoom.minPercent : 30
toolkit.zoomManager.zoomValues : .3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3
In case you want to turn zoom back on.

Tuesday, August 24, 2010

Fix Glipper Startup Bug

Glipper is clipboardmanager for GNOME. I use it extensively when writing. The only problem is that there is a bug that crashes Glipper when loading the GNOME desktop.

Glipper starts before a service it needs, resulting in this error message:
The panel encountered a problem while loading OAFIID:Glipper....

By adding a delay to Glipper at startup we can allow all need components to load before Glipper.

in a terminal type:
sudo gedit /usr/lib/glipper/glipper

add these two lines at the top of the file to delay glipper from loading:
import time
- if your computer is older you might have to increase the (8) to a larger number.

Your file should look very similar to this:
#!/usr/bin/env python
# Glipper - Clipboardmanager for GNOME
# Copyright (C) 2007 Glipper Team
# bla bla bla
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
import time
import gobject
import gtk, gnomeapplet, gnome
import getopt, sys
from os.path import *

Monday, August 23, 2010

Install Skype in 64-Bit Debian Squeeze

In a terminal type:
install ia32-libs ia32-libs-gtk libqt4-core libqt4-gui
wget -O skype-install.deb
- This will install the 32-bit compatibility dependencies, download the Skype client

sudo dpkg -i skype-install.deb
- this will install Skype

There is a know issue with Pulse Audio libraries crashing Skype in Debian Squeeze, use this work around:

In a terminal type:
sudo chmod a-r /usr/lib32/libpulse{,.so.0.8.0,}

Sunday, August 22, 2010

Generate an xorg.conf file

In order to generate xorg.conf you need to switch to a virtual console using the key combination CTRL + ALT + F1

Now execute the following commands:
sudo service gdm stop
- This command will stop the X.

sudo Xorg -configure
- this will generate the xorg.conf file in your home folder (the the proper location)

sudo mv ~/ /etc/X11/xorg.conf
- move and rename the newly created xorg file to the correct location

sudo reboot
- to reboot the machine, and allow the changes to take effect.

Install Adobe Flash 32-bit in Debian 64-bit

Flash is a bit of a pain to get setup in Debian Squeeze 64-bit. Follow these commands and you'll be youtubing and huluing in no time.

In a terminal type:
sudo apt-get -y purge flashplugin-nonfree > /dev/null;

sudo apt-get -y install fakeroot binutils nspluginwrapper ia32-libs;

sudo wget; sh;

sudo rm;

sudo dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb;

sudo rm "./ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb";

sudo wget;

sudo mkdir "/usr/lib/adobe-flashplugin" 2> /dev/null;

sudo rm -rf "/usr/lib/flashplugin-nonfree" 2> /dev/null;

sudo rm "/usr/lib/adobe-flashplugin/" 2> /dev/null;

sudo rm "/usr/lib/adobe-flashplugin/flashplayer.xpt" 2> /dev/null;

sudo dpkg -i --force-architecture "./install_flash_player_10_linux.deb" > /dev/null;

sudo rm "./install_flash_player_10_linux.deb";

sudo chown root:root "/usr/lib/adobe-flashplugin/";

sudo chmod 644 "/usr/lib/adobe-flashplugin/"
sudo nspluginwrapper --native --install /usr/lib/adobe-flashplugin/ 2> /dev/null