How To: Install Open Office 3.1 from .debs in 9.04 Jaunty

Open Office 3.1 is out with much new goodness, and I don’t want to have to wait for it to make its way to the standard repositories or add any 3rd party repos to my sources.list plus the repo keys, so I’m just gonna go with the debs. Here’s how:

1.) Remove/Purge the current version of Open Office from your system however you see fit. Synaptic Package Manager would do it.

2.) Get yourself an appropriate Open Office 3.1 package in .deb format (i.e. for 64 Bit Linux I’ve grabbed the OOo_3.1.0_LinuxX86-64_install_en-US_deb.tar.gz file from here)

2.) Extract the downloaded package somewhere and navigate to it in a bash terminal/console

3.) In the terminal, go into the DEBS sub-folder in wherever you extracted Open Office and run:

sudo dpkg -i *.deb

4.) Once that’s installed, go into the desktop-integration folder and run sudo dpkg -i *.deb again there to install the menu shortcuts.

Tap-tap. Job done.

How To: Fix Screengrabs in Jaunty w/ Compiz & Gnome

PrintScreen key not taking a screengrab? Alt+PrintScreen not capturing the window? Using Gnome? And Compiz? – Fix it thus:

Right click on the Compiz-Fusion Icon (Don’t have? Install directions here), then right-click on the Compiz Fusion Icon and select Settings Manager, then from the settings window that opens find Gnome Compatibility under the General section and enable it by clicking the tick-box.


How To: Delete Stuff Stuck in your Linux Trashbin

Files with wonky permissions getting on your nerves by remaining in the trashbin when you empty it? Me too.

Unfuck it from the console thus:

*** WARNING *** Make absolutely sure you are in the trash and info directories before sudo rm -Rf-ing – ANYTHING – *** WARNING ***

cd ~/.local/share/Trash/files
sudo rm -Rf *
cd ~/.local/share/Trash/info
sudo rm -Rf *

Job done and those quim-bin files can sudo-make-me-a-sammich cos we be done here ;)

P.S. Video version – WANT!

How To: Swap between Soundcards in Linux

Slap the following into a terminal:

asoundconf set-default-card [name of card]

But how do I find out the TRUE NAME of any soundcards are currently recognised so I can fully PWN them I hear you cry? Why that would be:

aplay -l [lower case “L”, not “1”]

And if you want to see what output formats are supported by all recognised cards (Stereo [2], 4.0, 4.1, 5.1 etc etc) use:

aplay -L

Just don’t forget that the new default card will only be used for things opened after you issue the command, so to swap and get sound in a browser already running you’d need to restart it.

Also, if you want to test your speakers, use the cryptically named command “speaker-test”, i.e.:

speaker-test -l1 -twav -c6

Switch descriptions (–help for more): 1 loop, use an inbuild sample of a lady saying “Front left, Front Right, Center” etc, and use 6 channels (i.e. 5.1 sound – front left/right, back left/right, center and subwoofer (LFE))

Happy days…

Update: GUI version? How about asoundconf-gtk.. Lovely job.