Adding Flash Player to Debian

Tags:

1) Add the backports repository by editing /etc/apt/sources.lst (must be root) and adding the following line:

deb http://www.backports.org/debian/ lenny-backports main contrib non-free

Run the following:

#aptitude update
#aptitude install debian-backports-keyring

(Ignore any warning that occur with the above 2 commands, the install will correct those) If you run #aptitude update again the warnings should be gone

2) Install Adobe Flash

#aptitude install flashplugin-nonfree

3)You shouldn't need this step, but just in case run

and make sure the correct one (/usr/lib/flashplugin-nonfree/libflashplayer.so) is selected. It should be the current default.

4) Start Iceweasel and go the location about:plugins and you should see the latest Flash.

Gimp 2.6 Toolbox is always in the way

Tags:

The biggest frustration with Gimp 2.6 has been that pesky toolbox window always in the way over what I'm working on. Turns out it's easy to make it act sanely. Try this: Go to Edit; Preferences; click Window Management; and under Window Manager Hints, change "Hint for the Toolbox" from "Utility Window" to "Normal Window." Then click OK.

I would have thought this would be called "Always On Top" (Gnome has an Always On Top setting, but it doesn't help here) or something useful. "Utility Window" doesn't explain that it's an "Always in your way" window... someone needs to find better words!

Subversion 1.6.5 on Ubuntu 9.04

Tags:

Following the instructions at:

`[

https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6 ](https://launchpad.net/~anders-kaseorg/+archive/subversion-1.6)`

Edit the apt sources, using your favorite editor:

$ sudo emacs /etc/apt/sources.list

Add these lines to the end of the file:

`

deb http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main deb-src http://ppa.launchpad.net/anders-kaseorg/subversion-1.6/ubuntu jaunty main `

The add the key signature:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 413576CB

where 413576CB is the Signing Key from the web page above... update the apt cache, and force a reinstall:

$ sudo apt-get update $ sudo apt-get --reinstall install subversion

Vista Home Premium with Samba 2.8.2

Tags:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl

Lsa

Virtualmin on a Debian Linode

Tags:

See also my comments of installation of Virtualmin on a Centos linode... these are just the additional issues.

GD under PHP not installed by default

Wordpress and other PHP systems were reporting errors about "imagecreatefromjpeg not defined" ... that's a PHP built-in function... what gives? Somehow I didn't have the GD image manipulation module loaded into PHP. Here's how to do that.

# sudo apt-get install php5-gd
# /etc/init.d/apache2 restart

Locales not installed by default

(reported solved in Debian 5.0.2)

Apt-get was reporting huge batches of errors like:

perl: warning: Falling back to the standard locale ("C").
/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct
manconv: can't set the locale; make sure $LC_* and $LANG are correct

The solution is to:

apt-get install locales
dpkg-reconfigure locales

and I added the locale: en_US.UTF-8 UTF-8

dpkg-reconfigure locales