Techodyssey

Join me as I explore, learn and have fun with technology.

Archive for May, 2008

Of Data and the Base

Posted by Jim on 28 May 2008

It is not surprising that the first thing most people install after the operating system is an office suite. It is one thing that is standard in all Linux distros too. Even if you only write the occasional letter it is an application that everyone seems to use. Perhaps the least used part of most suites is the database. In fact it is not included as a standard part of every office suite. Base was not added to OpenOffice until version 2 and even Microsoft only includes Access in the more expensive version of Office.

However I have always thought that database apps are undervalued. Few people realise the power of them and I guess the steeper learning curve deters the more casual user. I have made extensive use of various database apps for sometime now. Strange to say though the most ubiquitous one (Access) is one I have no experience with. I am not talking of full professional multiuser solutions but I do need something more than the basic Mailing list. So when I started using Linux it was natural that I would look for a database solution that ran under Linux.

When I heard Base was to be added to OpenOffice, yes that is how long ago this story starts, I was very excited. The other OO packages had proved useful replacements for the Office suite I was using at the time. In fact I started using OO in Windows before my move to Linux. When I experimented with Base though I was disappointed. I found it clunky, slow and counter-intuitive. It was only after finding a couple of tutorials online that I could get anything done.

Perhaps I was being unfair to Base as it was an immature product at the time and I was used to something with over a decade of development behind it. I had been using Approach which was part of the Lotus suite. It had always been a powerful yet relatively easy to use application. Lotus is part of IBM and they are no longer developing the Smartsuite which included Approach. They have released a beta of Lotus Symphony that is based on OpenOffice. At this stage there is no indication they will be adding a database application although there is strong support for it on the forum on their site.

In fact I had not found anything I wanted to do that I couldn’t find a way to accomplish using Approach. And I have never needed to use scripting either. Sadly that is not something I could say about other applications. An example is the simple use of a calculated field. A calculated field is one that the content is automatically developed (or calculated) from other field(s). A simple example would be the addition of tax in a price list. If you had a list of products you would type in the price and the tax code / percentage and the final selling price would be worked out. Of course this could be done using reports but if you wanted a quick visual reference you could use without the need to print price lists a calculated field is the easiest way. There are many other uses and they don’t need to be numeric fields either. In Approach it was simply a matter of defining the field as a calculated field and defining the formula and it worked. In Base it required the use of a query and adding that query as a displayed field. It is necessary to manually edit the SQL statement to ensure the result is formatted the way you require. And that is just one example.

I don’t want to spend the time developing a professional solution using mySQL or Firebird although they would do what I require. It would be like using a freight train to bring home the groceries. So what are my alternatives?

Well Base works for simple databases and can be forced to do some powerful things but it is slow and difficult to use. I hope it gets the development it deserves as it could be a useful tool with a better interface. Another option I found was Kexi. Kexi is part of the Koffice suite and my first impressions are good. It was easy to start using with an intuitive interface and good layout. I was able to create a simple table without using a tutorial or even the help screens. I haven’t worked out if it can do everything I require but it is worth a further look.

The other option is to stay with Approach. I have found it will run, with some restrictions, under Wine. For those who aren’t familiar with Wine it is an application that allows selected Windows programs to run under Linux and other ‘nix systems. No need to get into the technicalities of Wine but some programs run well and others with limitations. Unfortunately Approach falls into the latter category. It is possible to access and edit the data and even do simple maintenance work but creating a new table or report are among the tasks that are not possible. I have had mixed results with printing too. So I could do some day to day work with it but would require a windows system for any development etc.

That is what I am doing at the moment but long term I would like to consolidate everything under Linux. So the short term solution is to use Wine / Approach but long term I will give Kexi and other Linux apps further investigation. I would appreciate any suggestions for consumer level database apps that run under Linux.

Posted in linux, software | Tagged: , , , , , , , , , | 2 Comments »

Fedora 9

Posted by Jim on 16 May 2008

I guess everyone in the Linux world now knows Fedora 9 was released earlier this week. The feedback has been mixed. While there are the usual bouquets for some great changes there are also a few brickbats for some problems. To be fair Fedora is and always has been a bleeding edge distro and so from time to time will suffer the effects of having the latest but not yet greatest features. One result of this is that the forums have broken all records with the most users on line at one time almost topping 14,000 in the last 24 hours. The record before F9 was a bit over 11,000.

Two examples of the issues early adopters face are the lack of nvidia drivers due to the decision to use the latest beta of xorg. This alone has caused a fair bit of traffic on the forums. The use of KDE 4.03 as the standard KDE desktop has sparked some discussion too with many saying it is not ready for day to day use and should be considered a beta until 4.1 arrives in July.

Fedora is and will remain my distro of choice but I have decided to stick with F8 for the time being. Support will continue for F8 until F0 is released later in about six months. Although some of the new features of F9 look attractive I can’t afford to have my main system unusable. However there is a old copy of Ubuntu on one of my hard drives that I haven’t used for some time so it may go and be replaced with a F9 test system.

Don’t think I am criticising Fedora for its way of doing things. I appreciate having an up to date system and support its aim of pushing development of Linux. It is the Fedoras of this world that keep things improving for everyone else. Sometimes that can be painful for those involved but the end result is worth the pain.

My advice to anyone thinking of trying F9 or any new distro is if you use your computer for anything important don’t replace your existing system. By all means install a test system as a dual boot but keep a working system going too. Or get the Live CD version and have a play with that. If it works and all your hardware is operational then install it. If you are fortunate to have a computer you can test on then go for it!

Posted in fedora, linux | Tagged: | Leave a Comment »

A Fair Go for Aussies

Posted by Jim on 13 May 2008

Several Australian Internet Service Providers have combined to create a site asking for a Fair Go in the coming National Broadband Network. They claim there is a real chance that if the Government doesn’t take the right precautions there will be no competition for Internet services in Australia. If Telstra is given a monopoly all other providers will be left out in the cold and as usual the customers, that’s you and I, will pay. The site gives you a chance to register your concerns.

I would ask all Aussies on here to have a look at the site and read through the documents there and register your concerns. Fair Go Broadband.

Posted in Web Stuff | Tagged: , , , , | Leave a Comment »

Fedora on Dell 1520

Posted by Jim on 5 May 2008

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.

Posted in computers, fedora, linux | Tagged: , , | Leave a Comment »