The Ubuntu whinge

Some years back, I got fed up with Windows and iIndows packages telling me that I had to re-activate them as my hardware had changes sigificantly, one of these changes happened when I changed my printer. Not having enough money to go down the Apple route, I decided to give Linux a try and aftering testing one or two flavours settled on Mandriva, this worked well enough but adding some of the repositories to get multimedia working sometimes caused a bit of instability after a few upgrades. But to be fair this happened after quite a long period of time. Then I came across PCLinuxOS and converted over to it. PCLinuxOS was originally based on Mandriva or Mandrake as it was originall called and is still my favourite distro as generally everything just works in it with the exception of my strange little Webook which has some peculiar hardware in it. In Mandriva and PCLinuxOS, I can start in VESA mode and hit CTRL, ALT F2 to go to a text console and make one change to a text file to sort the problem.

And now we come to Ubuntu, I've tried this distro many times as it's the most popular one and I keep getting told that my mate is a Linux expert and he says this is the best, I was even told this by one of the team that originally planned the launch of the WebBook. My conclusion is that anyone that says this is generally an idiot or a liar as it's probably the most unfriendly system I've come across.

Here's another reason why, I've now got 4 machines at home, one is my little EEE Box server which just carries on working away on PCLinuxOS, even running Windows XP as a virtual machine which I can access via an RDP connection. My main one is an Acer desktop which is a bit of a beast and again runs PCLinuxOS with several other operating systems running as VMs should I ever need them. Then I have a machine which I use for data recovery purposes and monitoring a couple of websites and the idea was to take another old machine, connect it to a little monitor I have and sit this by the side of my Acer, this would run my monitoring sessions and a Twitter client and enable me to get on with things on the main machine. Now, I don't want Windows on it but I thought to myself,  let's give Ubuntu another try and why not test out the Alpha of Nutty Nasals or 11.04 to see what the future of Gnome will be like and to test out their Unity desktop. Well it installed easily enough, but on reboot the resolution didn't look quite right, I updated it to get the latest drivers etc and still it wasn't right. I found the monitor resolution icon and found it set to the maximum size of 960x600 which is not a common resolution and after some research, I discovered that the only way I could sort this was to edit the xorg.conf file.

Bugger that for a game of soldiers I thought, let's drop back to t he current release of Massive Mammaries or 10.10 but first I'll boot off a live PCLinuxOS cd to test out the reolution with that. No problem, 1024x768 was the default and it even detected the make and model of the monitor. So I downloaded Ubuntu, installed and updated it and yet again the highest resolution was 960x600, it seems that it couldn't identify the monitor. Out came my Mandriva One disk and once again, perfect resolution working really nice so I decided to give up on Ubuntu once more.

Now, this to me indicates the problem people are having when they try Linux out, they immediately go for Ubuntu or something similar and find that there are problems that are not easily sorted and then give up and head back to Windows. The Linux magazines don't help as most of their articles are based on Ubuntu or one of it's derivatives. So heed my words, if you want to try out Linux, get hold of PCLinuxOS, install it, then update it, then run the localisation utility and you will be delighted, all this takes less time that it does to install and update Windows 7.

Just to give you an idea, I've installed it in the time it has taken to write this little article and as usual it just works.

 

 

In Car WebBook

My old WebBook is on it's last legs,  I had to open it up the other day to clean it out and that's when I found out the keyboard was held in place with double sided tape. The tape was quite sticky and the keyboard didn't go back properly afterwards. Apart from that the machine is really a bit underpowered now and generally sits in a corner doing nothing.

Going back a but further, I purchased a Sony car stereo which has a USB connector, great i thought. This means I can put a load of singles on a memory stick and put the player on random and having quite a bit of variety as I have around 2,000 tracks. The problem is that the stereo only sees 512 of them and the shuffle option doesn't really work that well.

So, i decided to use the WebBook minus it's screen and keyboard in the car, with the headphone out connected to the stereo auxilliary in. I messed around a bit with different operating systems, the wireless in any version of WIndows seemed to give me problems and so I decied to install PCLinuxOS once agin but this time use the xfce version. As I had removed the screen, I had to do the initial setup using an external monitor, once installed I set the ssh server to run on boot and then install VNC Server so that I could work on the thing remotely if I wanted.

Once the install had completed, I ran through the wireless network setup and created a connection with a fixed IP of 192.168.1.253, called the WebBook rover as that is the type of car it is going to work in and ensured that the wireless would connect on boot.

The next problem was how would I get the music to start and of course introduce a random play option. At this moment in time, I have'nt even considered adding an external monitor to it but one I'm happy with the way it works I may look into that.

Getting music onto it is the wasy bit, my server at home also runs an ftp server, so I created a media user with the home folder pointing to the directory where I store all my music and on the WebBook I installed one of my favourite command line apps, mirrordir.

With the WebBook now in the car, connected up with a 12v to 19v DC adaptor that I found in a junk pile, I connected to the car via ssh and then ran the following command to copy the music from my server onto the car.

mirrordir -v ftp://username@servername/Music -p password /home/username/Music

I should point out that all my pictures, music and video live in a folder at /mnt/Media on my server, the ftp user account has it's home directory set to /mnt/Media so when you log in you get access only to those files.

The above command copied all my music over which means that not only could I play everything I have but I also have a backup of all my music with me wherever I am. But I only wanted to play the singles folder so my next issue was how do I do that and how to I get the machine to start playing when it's turned on and of course how do I turn it off. The turning off is easy actually, just press the power button and the WebBook goes through a shutdown process so that was that bit sorted.

Now came the media player, Linux has a nice little one called xmms2, this was again installed via command line apt-get install xmms2, once installed I made up a script that runs on startup called runxmms.sh.

Ths contents of the script are shown below:

# Clear the existing playlist

xmms2 clear

# Add all the single including new ones into a playlist

xmms2 add /home/username/Music/Singles/*.mp3

# Shuffle the playlist

xmms2 shuffle

# Start playing

xmms2 play

There's an option in the xfce sessions manager to add programmes on startup so this was added using the command sh runxmms2 and now whenever yo upower on the machine after a few minutes it starts playing the music in that folder randomly. Or it would have done except that of course you have to loing for this to happen.

So having established a vnc connection to the machine, I ran gdmsetup as root and on the security tab, set my user to login automatically after 5 seconds and it now seems to work quite well.

Of course the next bit is working out how to get a remote display which shows the track numer and way of controlling the player remotely.

Once I've figured that bit out I'll add some more info here.

 

 

Linus Torvalds Facts

Linus Torvalds's DNA is in binary.

Linus Torvalds didn't learn from the University of Helsinki, the University of Helsinki learned from Linus Torvalds.

Linus Torvalds wasn't like the other students of University of Helsinki. he took notes in binary...

Linus Torvalds's first written program had artificial intelligence

Linus Torvalds knows the question to 42.

Linus Torvalds finished the Linux kernel the day before he started on it.

Linus Torvalds's kernel never panics.

Linus Torvalds can touch MC Hammer.

Linus Torvalds can delete the universe by typing rm -rf /.

Linus Torvalds can defragment an NTFS partition by hand.

Linus Torvalds has developed warp drive, sun destroying bombs and a ray that can teleport him a new sausage each day before he drinks his morning beer.

Linus Torvalds can install Linux on a dead badger.

Linus Torvalds doesn't need anti-virus software.Virii need anti-Linus software.

 

 

 

Find Me Something

Last FM

Recent Tracks:

We Can Host

 

Get a free Giffgaff Sim 

 For Unlimited Usenet Access, I find these people the best News Demon

 

 

Follow us on Twitter