PekWM on Ubuntu

  • 0
PekWM is a lightweight window manager. Suitable for older machines and users looking for performance.

From linux dumps
Screenshot of PekWM, bmpanel, eterm and irrsi. Verdant PekWM theme.

I found it to be highly customizable just like fluxbox but noticeably faster. Its behaviour is completely different from anything I'm use to. So I changed a lot of stuff in ~/.pekwm. There is well written documentation on the project website to help you out.

There is a slightly old build in the repository under the package name pekwm.
sudo apt-get install pekwm

If you like it and want to fully commit there is a guide at the ubuntu forums with a deb source and building information for newer builds.

x11 Touchpad Speed

When I use Fluxbox or PekWM on ubuntu I find that, unlike my default desktop xfce4, the touchpad mouse configuration is terrible. I had to run my finger across the pad twice to reach either side of the screen.

The fix I found works by editing /etc/X11/xorg.conf. For peace of mind (even though its only editing mouse speed) you may want to backup your xorg.conf! Copy it with root powers cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup.

Open xorg.conf. Find the mouse and touchpad settings like below.
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection


Under the Identifier Synaptics Touchpad (your touchpad device name maybe slightly different) and before EndSection add these three lines:
Option "MinSpeed" "0.45"
Option "MaxSpeed" "0.75"
Option "AccelFactor" "0.020"


Restart x. Log back in and try it out. You may want to try out different configurations to your liking. Note: these settings will effect your desktop environment (xfce, gnome and kde ect).

Avidemux

  • 0
When I first started using linux based operating systems there was no GUI video editing tools. However, today the situation is improving with projects like Cinelerra and Kino. For simple editing though Avidemux on Ubuntu is great.



Avidemux can be used for simple editing and converting videos. With a user-friendly interface it supports AVI, DVD compatible MPEG, MP4, FLV and ASF.

I tested it with a ripped mp4 encoded youtube movie and converted it into an avi format. The setup was simple, the process didn't take long and the final result was perfect. I can see this being useful if you convert videos daily and like to make basic cuts.

You can install it by sudo apt-get install avidemux. Other packages include a qt version for KDE users avidemux-qt. A Command line version is available too avidemux-cli.

For other builds and tutorials see fixounet.free.fr/avidemux.

Snow

  • 0
Heaviest snow fall in Britain for years and all I got is this.



There was no point in taking a walk with the camera. Quite disappointed. With all the hype I was hoping for a 1990's (my childhood) foot of snow like some other areas.

Its going to snow tonight so I might be able to take good photos in the morning.

My Favourite Books

  • 0
Reading is good. You know? Its cool. It beats the TV and film most of the time. I must have read about 40 novels last year so I thought I would make an incoherent list of favourites.

Nineteen Eighty-Four
Probably George Orwell's most famous book. Once you read it you see how much an influence it has on culture. Concepts like Room 101 and Big Brother are well known. Its a dystopian novel set in a totalitarian regime, which its protagonist Winston Smith seems to drag on living in. The first part is a little dull till the more likeable and rebellious character Julia is introduced.

Homage to Catalonia
George Orwell's experiences and observations in the Spanish Civil War. He writes about warfare in the Spanish mountains/countryside, being shot in the neck, revolutionised Barcelona, street fighting and the major political movements. Its probably the best account of the war.

On the Road
Jack Kerouac's travels around America with Neal Cassady. Some find it outdated. This maybe true by language and racial attitude yet it does have a tale of passionate friendship and a search for something. This novel inspired Bob Dylan and the lizard king himself Jim Morrison.

Dubliners
Fifteen short stories depicting middle class life in Dublin at the start of the 20th century. Written by James Joyce it is his most accessible work. My favourites stories are 'A Little Cloud' and 'The Boarding House'.

Small Gods
The deepest philosophical novel of the Discworld series. Terry Pratchett uses themes of religious satire and greek philosophy. Its set a few hundred years before most of the Discworld novels. I found it a little harder to read than others in the series and yet more rewarding.

Walden
Henry David Thoreau's account of two years spent living at Walden Pond near Concord, Massachusetts in a log cabin. He writes about his day-to-day life, self-sufficient philosophy and observations. Quite complex and not easy reading.

Nation
A Terry Pratchett non-discworld novel set on an tsunami swept island called Nation. Only Mau, a young man who is an original inhabitant, and Daphne, a shipwrecked British girl, remain marooned. Humorous situations while Pratchett takes on themes such as imperialism, gender and race.

The Hitchhiker's Guide to the Galaxy
Written by Douglas Adams, a talented writer, died in 2001. What started life as a radio show became six books following Arthur Dent across the galaxy. The first book is the strongest of the original five. Extremely funny light hearted science fiction. Its very English too. When I read it I strangely want to wear a bathrobe, wear slippers and drink tea. The movie doesn't do the book justice.

Google glitch

  • 0
It seems everything on google is listed as "This site may harm your computer." right now.

For example a search on a popular 1974 UK children's television series Bagpuss has everything denied.


news.bbc.co.uk/1/hi/technology/7862840.stm

Red Dwarf is back

  • 0


After the failed movie attempt and endless sales of DVDs there's to be a 2 part special on Dave. That's right: DAVE. I guess the BBC is too busy not showing Gaza appeals and funding Doctor Who to get this, seven million DVDs and videos worth, cult show back on the box. If you cant tell already I would have preferred it on the BBC but beggars cant be choosers. Its about time it was back!

Source: news.bbc.co.uk/1/hi/entertainment/7851989.stm

You can see production updates from dave.uktv.co.uk/library/red-dwarf/.

Learn Morse Code on Ubuntu

  • 1
I recently became a scout assistant-leader. As you do. One of their activities is the use of morse code.

Enter aldo. A morse code learning tool released under GPL. It plays morse code and you have to identify/translate it. It has the Koch method which starts at 2 charters then once mastered it moves on to 3 charters. Then 4 and so on. Classic method, random characters, is also available.

Aldo is listed under package name aldo. Install with: sudo apt-get install aldo. Run it in a terminal by entering aldo. Simple really. Its better to run it on xterm or one of its variants.

To translate code I use the chart on www.learnmorsecode.com.
See www.nongnu.org/aldo for other aldo download sources.

Holiday Road Rage

  • 0
I was a few minutes into a journey across town when the bus driver began pulling out of a stop only to pull out in front of a Chrysler PT. Which is probably the worst looking car on British roads. The driver understandably honked as he stopped. The bus driver stopped the bus then carried on thinking that was the end of the matter.

The bus pulled in to the next stop. The Chrysler, which followed the bus, decided it was a great idea to stop in front of the bus while passengers got on. I don't think the bus driver took much notice. I'm guessing his attention was on passengers money and tickets.

When all the passengers were on board the bus driver was ready to go. Only to see the fat back end of the Chrysler. He honked. Honked again. The Chrysler driver showed his/her intentions by honking back. It wouldn't move. Some passengers muttered along the lines of 'what's his game?'

What happened next is something I have never witnessed before. Well on a bus anyway. The bus driver opened the bus doors. Stormed out. Walked over to the Chrysler and totally let rip. I cant really write what he said. It is Christmas after all. The passengers fell silent. A lot of them gasped. At first at the language used then at the idiot in the Chrysler. The bus driver marched back on the bus while the Chrysler, watched by disapproved tutting old lady's, set off slowly pulling into another road. Leaving the old lady's asking themselves if the driver was drunk.

The meaning of the story is: chill out its the holidays.
Heres some Christmas stress tip links:
Impactfactory.com/p/stress_manageme...
Bbc.co.uk/norfolk/features/xmas_2003...

Text to Speech on ubuntu

  • 0
A text to speech function can be provided with a program called Festival. Used for development and research it is capable of producing clearly understandable speech from text.
sudo apt-get install festival

Install a voice. You have a choice of some voices on the repositories.
festvox-rablpc8k -British English male 8khz.
festvox-rablpc16k -British English male 16khz.
festvox-don -British English male.
festvox-te-nsk -Telugu male.
festvox-suopuhe-mv -Finnish male
festvox-suopuhe-lj -Finnish female.
festvox-mr-nsk -Marathi male.
festvox-kdlpc8k -American English male 8khz.
festvox-kdlpc16k -American English male 16khz.
festvox-kallpc8k -American English male 8khz.
festvox-kallpc16k -American English male 16khz.
festvox-hi-nsk -Hindi male speaker.

Choose one and install with:
sudo apt-get install chosenpackagefromabove

To make it say something I make a text file with the text I want spoken and run the following (change the file location):
cat file.txt | festival --tts

Or you can run Festival in a terminal and use (SayText "something"). Keep the brackets. For example:
festival> (SayText "Testing Testing")

To use it with pidgin so that IM's are read out aloud install the pidgin-festival package:
sudo apt-get install pidgin-festival

To activate it open Pidgins plug-ins (in tools or Ctrl + U). Find Festival. Tick it and restart.


Click configure to see the options. Select a voice for the plug-in if you have more than one installed. Maximum message lengths is useful. You don't want someone annoying to instant message you a message the size of a book and have it all read out with 5 chats going. Also announcing events its neat if your out the room "Fred is online".

Changing voices can be done by running festival. Type festival in a terminal to start the festival prompt. Use this command (voice_NAMEOFVOICE) changing the voice name to which ever voice you want like festival> (voice_don_diphone). To find voice names of the packages you have installed look in /usr/share/festival/voices/.

If your seriously wanting to use Festival daily you may like to have more realistic voices checkout ubuntuforums.org/showthread.php?t=677277 for instructions. For an online demo, source and other information see cstr.ed.ac.uk/projects/festival.