Fedora on Dell 1520

In a recent post I outlined my purchase of a new laptop, a Dell Inspiron 1520. It came with XP Pro which I need for a couple of applications. However for some time now my operating system of choice has been Linux and specifically Fedora 8. So after checking everything was working on the new machine and installing the Windows apps I would use it was time to install Fedora.

When I ordered the laptop I had selected options that I believed would work without much trouble with Fedora. A search of the Fedora forums and a couple of other sites like Linux Laptop wiki and Linux on Laptops helped with that.

Installation

I partitioned the hard drive giving XP 100 gig and Fedora the rest of the 250G drive. First I had to remove the Dell Media Direct partition they put on the very end of the disk. For some reason this causes problems but can be recreated after the installation of Fedora. I left the Fedora area as free space and let Anaconda, the installation program, set it up. I just selected the Use Free Space option and left it at that.

I used a Fedora 8 dvd I had on hand. This saved downloading a newer copy but didn’t save much as we will see. The installation went without any problems. I followed my usual procedure of selecting just KDE for the desktop environment and also customised the applications to be installed. There are some I wanted that are not part of the standard selection including OpenOffice Base and Krusader.

I left it to do its thing and after a short time I came back to find it was ready for the final stage which includes rebooting and setting up the user(s). After that I had a working system. I proceeded to check what was working to see what I needed to do manually. But first I did a full update, this is where the decision not to download a new dvd image came back to haunt me as there where several hundred updates to get and it took more than a couple of hours on the slow broadband we have here in Oz.

That done it was time to get everything working. Let’s look at each area individually.

Graphics

I had selected the nVidia GeForce 8400M G card with its own 128m ram. It was working but with a default driver so I installed the nvidia driver from the Livna repository. It recognised the card and included a control application. The correct resolution of 1440 x 900 was set automatically. It looks great and works well.

WiFi

The Intel 3945ABG adapter was recognised during installation and the correct iwl3945 driver installed. I simply activated the NetworkManager and NetworkManagerDispatch services and it asked for the passphrase for my WPA2 network and proceeded to link without a problem. I wish I could say the same for XP. I often use the laptop in an area that is on the edge of the router’s range and Fedora works (nearly) every time but XP often refuses to link when the signal is weak and it drops out from time to time.

There is a small problem with the wifi. It will not reconnect after returning from suspend. It did initially but then an update broke it. It is a known problem with the current kernel and iwl3945 driver. A bug report has been lodged by several people so hopefully a future update will fix it. There is a simple workaround just right click on NM applet and remove the tick from Enable Wireless, do it again and put the tick back and finally click on the applet and select the network to connect to.

WebCam

I wouldn’t have ordered a webcam but it is a standard fitting. I was surprised to see the light flash during startup and decided to check it out. Using kdetv it works without a problem. Chalk up another one for Linux.

Bluetooth

I have not found the touchpad easy to use, I am used to the Thinkpad joystck type controller, so I purchased a Logitech Bluetooth mouse. The bluetooth service was already activated but there was nothing to control the devices. After installing KBluetooth the mouse was recognised and I added it as a trusted device and now it works as soon as it is turned on.

Keys

The keys that work with the Fn key all seem to work, at least the ones I have tried which include the brightness and the suspend keys. The Multimedia keys on the front don’t work at this stage but I have read some reports that they can be made to so that is a future project.

Desktop Effects

Using the procedure I outlined in a previous post I soon had Compiz-Fusion working . Just a strange thing with the Pager. It only shows one desktop while there are four. Compiz-Fusion controls these and the pager is usually set to one but shows four. It shows the correct amount on my desktop with the same version so I’m not sure what is happening. If I change the Pager setting to something other than one and then change it back it shows the correct four but it doesn’t stick when I restart. This hasn’t really been a problem as I use Ctrl+Alt+Left(or Right) Arrow to change desktops.

Sound

I had sound working in Amarok and Firefox but not system sounds. This has been a problem on all my machines and is a common subject on the forums. Pulseaudio is standard in Fedora 8 and it seems to be the problem. There are several places I have seen possible fixes (just do a search on the forums) but I have taken the easy (and dirty) method and removed it altogether. This worked for me.

Are there Problems?

It wouldn’t be fair to say there were no problems. I mentioned a couple of issues above plus there is one other that really concerned me for a while. There was a regular clicking noise. A search brought up a few mentions that it is a problem with Powersave and the hard drive trying to park too often. I found details of a script and after installing it the noise has disappeared.

The Result

I now have a working and usable system with minimal setup required. I am pleased with the result and find I use it more than my desktop. If it wasn’t for some special hardware needs I could probably survive with just the laptop. This was the result of carefully selecting the hardware that I knew could be made to work. Unfortunately this is still a necessary step if you want to avoid the hassles of unsupported devices. Although Linux hardware support is improving, thanks to the efforts of a few hardware manufacturers and the hard work of developers within the Linux community, it can be difficult to get some computers, particularly laptops, working.

In summary if you want to run Linux especially on a laptop do your research first and you won’t be disappointed.

Using Desktop Effects

I wrote earlier about enabling desktop effects in Linux. Desktop effects provided by Compiz-Fusion have a universal wow factor. They add a little fun to using your computer. There was a lot of interest in that post so I thought I would add a little more info you may find useful.

Be the Boss

It is one thing to enable the effects but what about making them yours. That involves trying out the options and finding effects you enjoy and find useful. For that you need the Setting Manager CCSM. Unfortunately it is not always installed. If you don’t have it you will need to find it in our distro’s repository and add it. I won’t give instructions here as it will differ for each distro. Some of the links in the original article showed how to do it though.

Once installed it is a simple matter of looking through the various options and enabling whatever takes your fancy. If you would like a little more info on the options check out the C-F site, there is detailed documentation on each option. Of course the options in your system may differ from what is in the documentation as C-F is changing rapidly and new effects are added regularly.

One thing that confuses new Linux users a little is mention of the Super Key. It is used a bit in C-F to activate various effects. It is the key with the sysmbol of that other operating system, you know the one that starts with “W”!

So have fun and experiment with Desktop Effects they are something special and great for showing people just how great Linux is.

New Laptop

After posting so much about my old Thinkpad now I must report that it has died. Well maybe, the screen turned all white one morning and has been that way since. I know the computer itself is ok as it works on an external monitor without any problems. I decided it was time for a new machine. I have since found some info through Google that suggests the problem may just be a loose or faulty connection to the screen. I will get it checked out at some stage and see if it is worth repairing. Fortunately I didn’t have any data on it that hadn’t been backed up.

With the decision to buy a new one came the big choice, what to get? I looked around and found that there are some end of model specials at good prices and was tempted. First though I made a list of my requirements. For an operating system I wanted to run Fedora and the choice of buying one already installed was very limited. There are a couple of people that will sell systems with any operating system you request but they charge a premium over the regular retail price. A few suppliers have a Linux option if you search deep enough on their site but that is nearly always Ubuntu and at least one stated “not all drivers available”. So my option was a Windows system and self install Fedora.

If I was going to get Windows I wanted something I could use as a dual boot. That meant XP as some of the Windows software I use isn’t available for Vista and besides I have used Vista and was glad to get back to XP. That also meant a reasonable size hard drive so I had room for two systems. If I was going to spend some money I wanted something that wouldn’t be out of date straight away, I wanted it to be a while before I need to write another “New Life for Old Laptop”. So I set a budget of around $A1500 and started looking.

I found only a few places would sell with XP but several offered a downgrade option if you bought Vista Business. I looked at the Dell site but the weekly specials didn’t interest me and there were limited XP options. Later in the week I went back to the Dell site after the next week’s specials were listed and found many more XP Pro options and some large discounts. Several models that had been outside my budget now became available to me. They were the only place to charge a fee for supplying XP instead of Vista but it was only $29. My mind was made up.

I ordered an Inspirion 1520 and selected the options that a search of the Fedora forums told me would work with F8. I got the Intel 3945 wireless card and nVidia 8400 graphics. It also has 250 gig Hard drive. plenty of space for dual booting and 3 gig ram, plenty of space to run a virtual system if I get around to setting it up. With a 2 Gig Core 2 Duo processor I knew it would run at a reasonable speed. It had other features that weren’t really needed but they’re free, e.g. a web cam and MS Office 7 license were included. All for less than my budget.

When I placed the order they gave me a expected delivery time of 10 working days but I soon got a message to say it would arrive in 5 and it did. I checked everything was as described and working and proceeded to install the Windows software I use. After years of using a Thinkpad with their stick control I found the touchpad difficult to operate but as that is my only complaint I’m not unhappy.

Next came the Fedora installation. But that is a story for another day.

On OSes

Over the last couple of weeks I have used a number of different operating systems. This may be normal for many people but for me it is a little unusual. I have a couple I use regularly and that is about my usual limit. It got me thinking about OSes and the impact they have on our computer use.

It would be easy to argue that operating systems should be invisible and in fact for many people they are. I am surprised by the number of people who don’t know what they use. But maybe that is how it should be. After all it is the applications that we use to accomplish what we want to do. I think in an ideal world we would have an OS that perfectly matched the hardware it was used on and be able to run the applications that will do what we want to do without worrying about the type and version of OS. Of course that is heresy to many people.

I mentioned I had used a few different systems and they left me with an impression I didn’t completely expect. I used a Vista Business system, a couple of XP Pro and an XP Home as well as a few Linuxes including Fedora 8 and a couple of Ubuntu based live CDs. The Vista impressed me with its total lack of speed, even some of the live CDs felt faster. The XP systems all seemed adequate. They ran efficiently and did what was asked of them without too many problems but they seemed to lack character.

The Ubuntu based Live CDs were at a disadvantage as Live CDs will always run slower and don’t support the hardware as well as when they are installed. They were different systems with different agendas and did what they were designed to do. They generally were as good or better than any of the Windows systems.

My preferred systems were the Fedora 8 KDE installations, not surprising as they are my computers and are set up to suit what I do. But so are a couple of the XP systems, both my computers are dual boot Windows XP and Fedora. What surprised me was that when I switched the computers on I wanted to run Fedora even when I needed to run XP.

New Life for an Old Laptop – an Update part 2

After gettng Fedora running successfully as I covered a couple of days ago I decided to see if I could improve it a bit. I know from previous experience that memory usage is probably more important to performance than many people realise. One of the easiest ways to improve performance no matter what type of computer or OS you have is to make more memory available. When I upgraded the memory on this laptop it felt like a new machine.

The first  thing I did has no direct impact on performance but if done carelessly can have a negative affect. I customised the appearance of the desktop. While trying out different themes I discovered some activate “Enable GUI Effects” under the effect tag of Style. This can have a detrimental affect as I discovered so I made sure that was off. I also changed the Background to use colour instead of an image. Choosing the wrong (ie. a large) image can make a big difference so I played it safe.

With the desktop looking better, to me anyway, I looked a bit deeper. I found this page of Fedora 8 services. There is details on earlier versions on the site as well as lots of useful  general Fedora info. All operating systems include a wide range of services which are small programs that run automatically and handle such things as networks, interaction with hardware and all that “behind the scenes” stuff we take for granted. While they are essential often there are some included that aren’t required. Eg. no need to have Bluetooth running if your computer can’t handle it or you don’t use it. Following the guide here I turned off quite a few services I don’t need. I didn’t do a comparision of memory usage before and after but there was a small improvement in speed.

Sites like this are available  for all Linux distros and are worth the effort. At least you will learn a little about how your system works. If you follow the advice here there is little chance of doing anything terminal to your system. At worst some piece of hardware may stop working. Just restart the service and it should be OK again.

New Life for an Old Laptop – an Update

I detailed in the original article how my Thinkpad T20 was given a new lease on life. With a small investment in hardware upgrades, memory and hard drive, plus a new operating system, Ubuntu 7.04, it was proving useful again. As so often happens with these projects they are never over. So here are some details of the current state of progress.

Time for an Upgrade.

Ubuntu has served me well on this machine and although Gnome is not my favourite desktop manager it was working ok. I was aware that it was an older version and would soon be two releases behind so it was time for an upgrade. The question was what with.

I had a copy of a version of Xubuntu (Ubuntu with the lightweight Xfce desktop) and being aware that it used less memory than Gnome thought it might be a good idea. It lasted a couple of days. Not that there was anything wrong with it. Everything appeared to work, wifi worked “out of the box” as I have come to expect from Ubuntu. It had a few strange things , eg. the splash screen wouldn’t resize to my screen so it was off centre. It didn’t affect operation as it was only there while it booted and then it was fine. But it didn’t “grab” me. Not very scientific I know but didn’t feel it was better than what I had previously.

So I decided to go in the opposite direction and install Fedora 8 with KDE. This is what I use on my desktop with all the bells and whistles, Compiz-Fusion etc. I knew that wouldn’t work on the old laptop but I wondered how a basic KDE installation would run. I have used KDE most of the time I have used Linux and it is still my preferred environment. I look forward to KDE 4 in Fedora 9 but that’s a story for another day.

Installation

I installed from a dvd copy I had on hand and all appeared to go well. I had the system running with the correct video set up without any of the tweaking needed in Ubuntu. One serious issue, no wifi. I connected up an ethernet cable and had the internet working that way and left it to do an update. In the meantime I did some research on the Fedora forums. As usual the answers were all there just need a little patience to sort through all the information.

With the update done I installed the madwifi driver from the Livna site following the information here. My Netgear WPN511 (Atheros chipset) was now recognised but couldn’t link to the router using wpa2. I turned on the NetworkManager and NetworkManagerDispatch services in System – Services and now after setting up the passphrase etc. it all worked.

The Result

I now have a usable Fedora 8 system on hardware I doubted would handle it. It is slower than the desktop of course but no slower than the Ubuntu system it replaced. It is used primarily as an internet terminal with occasional office document editing or photograph viewing. I wouldn’t like to do much photo editing on it but for everything else it works great.

There are still one issue to look into. The hard drive has a partition I use for archives. It has an ext3 Linux filesystem and Fedora recognises it but any attempt to mount it produces an error. I’ll look into it further when I get some more time.

Writing a Post

An idea for a post strikes and what do you do? If you are busy you may ignore it or forget it. What a loss that may be. The best article you ever could create gone forever. So is there a better way?

I prefer to make a note of the important points and get back to it later. I use a text editor, word processor or even a pen and paper, whatever is at hand. I have a text document that contains a few half written posts. That way when ever I add something new I can see the notes I made previously and it reminds me to do something with them. When I need something to post this is where I come looking for ideas.

Next step is to type out the details. I use the same document so all my ideas are together. I try to flesh out the notes I made into a readable piece. I don’t normally post it straight away. I leave it and come back and reread it. I make some changes if I think it needs it and then post it, maybe. Sometimes I edit a few times, occasionally it never gets posted. Only post when it is as good as you can get it.

Of course this doesn’t work with the latest news, that must be out immediately but most things are not as time sensitive.

Of course this isn’t a perfect system. Sometimes an article may sit here for a long time, maybe forever. There are times when I intend to post something open this document, edit a few articles and not post anything. But usually the final post is better than the original effort.

What do you think? How do you work, do you have a system?

Updates

Over the last couple of days there have been updates to all of my Linux systems. All the updates have included new kernels. No doubt this was due to the recent discovery of a few security holes in the older versions.

Doing similar updates on different distros allowed me to compare how they are handled. I have 3 systems I use regularly and all received updates. I still run Feisty on my laptop, no special reason but it works and I haven’t bothered to change it. It requires a little customisation to the Grub menu to run correctly eg. acpi must be forced to load. Every time the kernel is updated I must redo the changes.

My main machine triple boots Fedora ( my main system), Ubuntu Gutsy (to play with KDE4) and XP (because I occasionally need it). Fedora is on a separate  hard drive and XP and Gutsy share the other drive. Although Gutsy recognises XP it refuses to acknowledge the other drive exists and won’t include Fedora in any Grub menu it creates. I have to edit menu.lst and do a grub-install to be able to get to my main system. Fortunately I keep a copy of Fedora’s menu.lst on an XP drive and just copy and paste.

So where is this little rave going? Well Fedora needed to be updated too and it created a new Grub menu but it kept all the changes I had made to the existing one. Why can’t Ubuntu do that? It would make life so much easier.

Enabling Desktop Effects

Here are some notes on enabling and using Compiz Fusion to add desktop effects in Linux, more specifically Fedora although most comments will apply to other Linux distros.

Why would you want too?

It goes without saying that desktop effects have a real wow factor. When you first start using them you may find yourself just playing, sorry experimenting, just for the fun of it. However if you need a further reason see this Lifehacker article on the efficiency gains you can achieve. You may even make up for the time you spend “experimenting”.

Some Useful Information

For some interesting details on installation and operation of Compiz Fusion on Fedora 8 including keyboard shortcuts to make the best use of your new features see here. The same page has links to HowTos for other distros including Ubuntu. However don’t install the packages listed there. They are from the Fedora repositories and have some problems and some features are missing. The Fedora forums have a link to updated packages which don’t have those problems.

Update: One of the problems referred to above seems quite common. That is the titlebar disappears after enabling effects. The updated packages solve this problem.

A search on Google for your distro and Compiz will probably turn up many more pages. However view quite a few to make sure you are getting the right information. Initially I was under the impression that my low end video card wouldn’t work. I have an ATI Radeon 9250 which was recognised by Fedora and uses the radeon driver. Following the above links I was able to get it working in KDE and Fedora 8. No doubt it would work on other distros and with Gnome.

Starting Fusion Icon on Reboot

Actually this will work for any application you want to start automatically when your system starts.

Fusion Icon starts Compiz as well as putting an icon in the System Tray that has options for changing the Window Manager, setting Emerald and Compiz options. Once you have it set up you will want it to start each time you log in. In Gnome this can be done in the Sessions Manager. Type fusion-icon as the application to start.

In KDE open Konqueror and select Go from the menu bar. Go to Autostart, this puts you in your Autostart folder. Anything in here will be run when KDE starts. Right click in any blank area and select “Create New”“Link to Application”. Under the Application tab enter fusion-icon in the “command” field. When you leave that screen a new entry will appear. Restart to make sure everything is working.