Friday, May 18, 2007

Linux like Porn?

I recently read an article on osnews where someone mentioned that in his country anyone running Linux was considered a criminal automatically. They are labeled as 'hackers' and must have something to hide in their PCs, otherwise they'd be running Windows. It's akin to a guy having porn on his PC instantly considered a rapist / pedophile / child molester.

I have been giving this some thought, are there people out there who think this way? Does such total ignorance exist in this day & age? Well, unfortunately it's quite true that most people are still completely ignorant about Linux.

I fool around with all forms of Linux & OSS software everywhere I go, more so at work since I have access to more hardware to test them on. I couldn't even count how many times some Sotong came up to me & said:
Sotong: Wow, what is that software you using, it looks cool.. is it some free/shareware?
Me: Look closer, this is NOT running Windows.
Sotong: Ya hor!! What is it then?
Me: It's Linux.
Sotong: Ohh yah.. What version is it? I did try version 8 before.. very hard to use leh.
Me: This is a distribution called Knoppix. The version 8 you tried, was it Red Hat 8?
Sotong: Ohh I can't remember lar, long time ago. Can I install Office 2007 into this?
Me: No. It's NOT Windows.
Sotong: Like that I dowan to use la, not user friendly at all. Cannot run any software.
Me: Well, that's ok. I find it very suitable for me. It's not for everybody.
Sotong: Why you use arr? You must be a hacker right? Do you write virus arr?
Me: (Giving up) Yah.. but only on weekends...

Saturday, May 5, 2007

Some grips about Mandriva

There are some things about Mandriva that has bothered me for a long time & I just had to vent about them.

1. Logout Options
Whenever you logout of KDE, you will get the standard 3 options, end session, turn off & restart. For some reason, this simple screen does not always appear as u expect it to. There are several situations that will cause the 2nd & 3rd options to simply disappear, leaving only the 'end session' option. I have not been able to find a solution to this problem & I'm generally pissed that they haven't fixed this yet. (This has been there since Mandrake 10.1 possibly earlier) These are the scenarios that will produce this behavior:
A: Enabling 'Automatic Login' upon bootup.
B: Enabling 'Metisse' 3D Desktop.
C: Enabling 'Compiz/Beryl' using 'XGL' NOT with 'AIGLX/Native'
With any of the 3 items above enable, you will see this behavior in KDE when you logout. Wish somebody would fix this up. It's just damn annoying.

2. Repository hdlist.cz download
Adding a repository means downloading the hdlist.cz header file for that source. This file is often HUGE & takes ages to download. Mandriva typically takes over 30 minutes (Including official & plf). In comparison, Ubuntu's synaptics takes about 5 minutes to grab repository headers. (Including for universe & multiverse) Granted that Mandriva's repo headers contain a little more data & info about the packages, this may seem to be an unfair comparison. But even when using the so called 'compressed' index, which contains absolutely no package information, this process still takes a good 15 - 20 minutes. This has not really improved much in Mandriva Spring, however what has improved is the time taken to process and integrate added repos into the urpmi database. This shaves a few second off the post processing, but doesn't help the download speed/size. Rpmdrake still has a long way to go & many usability issues to address before it's even in the same league as Synaptics.

3. Mandriva Control Center
Integration is the problem. There are alot of icons in MCC that are just stupidly redundant with stupidly long & patronising names. There is absolutely NO reason why they can't just be 1 option or 1 application. Here are some examples:
Software Management: Icons for 'Install', 'Remove', 'Update' and 'Sources'. They are all the same application. Why can't we have just 1 icon that says "Software Management"?
Hardware: 'Monitor', 'Graphical Server' and 'Resolution". They all have to do with the display & the monitor. Why do we need 3 icons & 3 separate applications? Why not just have 1 that says "Configure your display"?
Networking: 'Setup', 'Reconfigure', 'Delete', 'Share', 'Misc Settings' & 'Monitor'. They are all about setting up your network. Again why so many separate applications? Can't we have 1 that says 'Configure Network'?
The list goes on unfortunately, over time I've learned to live with it & have grown quite used to it by now. I've always attributed these oddities to the fact that those guys are French, they probably have their brains wired quite differently from mine. I deduced this after trying Suse's Yast & found it to have similar oddities.

That's all for my rants about Mandriva, please don't feel discouraged by my rants, Mandriva is still one of the best distros available today. If I had talked about Ubuntu today, this list would be at least 3 times longer, so don't get me started.

Dell offerring PCs with Ubuntu Linux pre-installed

It's all over the news these days, u can't read any linux blog or news without seeing this piece of news plastered everywhere. Here in Malaysia, no one's really jumping with excitement about this news, not really because nobody's interested in Linux, more of the fact that all us Linux users know pretty much for sure that this won't ever reach our shores.

As expected, just a few days after the announcement, they added that this will only be offered in the states, much to the dismay of many users in the UK. Dell's official position now is that they will offer it in the US first, then will look into the markets for UK & Asia.

This is not the first time Dell has dabbled in Linux, a few years ago Dell did offer preinstalled Redhat 9 on some models of Optiplex desktops and Latitude notebooks. This was also offered only in the US and it did not last long, very soon they were quietly removed from the websites.

Whether this time will be any different depends on many factors & I really can't speculate too much on it. Success will depend primarily on 4 main factors.
1:Hardware - Will they get it right? Will everything work out of the box?
2:Volume - Can they sell enough to justify the cost?
3:Marketing - Will the right people be buying these PCs? (You don't want to be selling them to n00bs)
4:Support - Will the support provided (Online/Phone) by Canonical be up to the expected standards?

I do hope that Dell gets it right & delivers on their promise. This is a win for Linux no matter what the outcome. Ubuntu was an obvious choice for Dell considering the target market, as I'm sure u know by now I'm not much a fan of Ubuntu (I think it's overrated), this is just my personal, everybody has their preference when it comes to distros.

If they start selling them here in this region, this is what will happen (I've seen it with my own eyes). People will buy the PCs pre-installed with Ubuntu (to save a few bucks), they will run down to the nearest shopping mall & grab a lanun* copy of Windows Vista & install it. Dell will think they sold a lot of Linux boxes, but it fact they will be promoting more software piracy. *(lanun = pirated)

Well, this is how it's gonna be for a long long time somemore....

Thursday, May 3, 2007

Mandriva 2007.1 Spring Released

Couple of week ago, Mandriva release the latest midyear update to their Mandriva Linux. Mandriva has decided finaly to return to a 6 months release cycle. This release marks the first of these.

I'm going to run through my upgrade experience on my old notebook, a Dell Inspiron 2100. (PIII 700Mhz, 256MB RAM & 20GB HDD). It's ancient, but Mandriva has always worked reasonably well on it running XFCE of course instead of the heavyweight KDE. I'm using this notebook to test it out to see if it's worthwhile upgrading my main PC. So here we go:

Installation
Hasn't changed much, just looks better. Been the same installer since 5 years ago. This is not a bad thing at all. Mandriva's installer is the best installer in my opinion, it combines simplicity with just the right amount of control to satisfy anyone from a newbie to a poweruser.

For my installation, I decided not to upgrade the system, instead I opted for a semi-clean installation that is to format the root partition and leave my /home untouched. This is easily done with the 'Use Existing Partitions" option. What this essentially gives you is a clean OS installation with all your user account customizations still intact. This saves you from having to change your wallpaper, panel options, etc. (The reason I chose NOT to upgrade is 1: to save time, 2: To clean up all the scattered hacks I've supplanted my system with.)
The installation went smoothly. Not a single error crept up.

POST Install
Post install config was as normal, I setup a user account with exactly the same name as my old system, It found my existing /home folder & used it. Nothing new here. So far same old options.

Repository setup & online updates
Rpmdrake has been updated with some niceties like a proper 'Select All' option. (You used to have to tick every box yourself) Also added is a new user friendly update screen that reminds me of the one in Ubuntu.(I didn't care much for this one) I setup my favorite repositories using easyurpmi.zarb.org as always. I later discovered that this was no longer necessary as the first time you start rpmdrake it will prompt you to add repositories & will do it for you automatically. (This is the proper way to do it & should have been there a standard feature since years ago) Finally the online update notification icon now actually works, without having to register an account with Mandriva.

I did find a strange bug in rpmdrake which I'm not sure if it's specific to my installation. When choosing a package to install, a window will popup to ask if you wish to install the required dependencies, it will list the dependencies on this window. But on my PC, the popup list is empty, if I said yes, it will still install the dependencies. I'm not sure if this is a bug or just something caused by my upgrade method since I can't find any mention of this in any forums or erratas.

Getting & Running XFCE
XFCE 4.4 was already available in the contrib source. I installed it by choosing the xfce4-common metapackage. XFCE 4.4 is a great leap from 4.2, it's so much better looking and works much more fluidly than 4.2 ever did. I loved it. The new Thuner file manager was so usable that I couldn't imagine how I managed to bare with xftree for so long.

Here's a FAQ tip for XFCE users. To make XFCE enable the Shutdown & Reboot option on the Exit menu, you need to add yourself into the sudoer file. like this (do this as root):
# visudo
(add this line in under user aliases)
ALL=(root) NOPASSWD: /usr/lib/xfsm-shutdown-helper
where is the user that you want to allow to shutdown from XFCE.
Eg: (My username is jobe)
jobe ALL=(root) NOPASSWD: /usr/lib/xfsm-shutdown-helper

This will enable the greyed-out Shutdown & Reboot options in the Exit menu. This little hack is necessary only if you are running XFCE.

Well this is as far as I got before I dosed off. Till next time.. .ZZZZZZZZzzzzzzzzzzzzzz

Thursday, March 1, 2007

Dell E207WFP 20' Widescreen Flat Panel Display

Just picked up my 20' Wide Dell monitor last night. It looks absolutely stunning. I also pickup up the Radeon X700 I was waiting for, so I could play games properly (I was using the Geforce FX 5600). Installed the X700, plugged in the new flat panel, booted straight into Mandriva. As expected:

X failed to start. I was droped to a text login. Here's what I did:
Logged in as root. Ran # drakxconf, selected my new card as Radeon (fglrx). The system automatically started to download & install the ati & dkms-ati packages.
Once done, rebooted the system & I was back in X again. Again back to MCC to select my new monitor & resolution. The Dell E207WFP was not listed, so I went for the Generic Flat Panel 1680x1050. Restarted X & i was finally back in high resolution (after surviving 2 torturous weeks of 14' 800x600).

I had to give up using Beryl(it was getting distracting anyway), the ATI modules don't support the X composite extension required by Beryl and Compiz. I could use the open source Radeon module, but it lacked proper 3D performance. So I decided to use the evil propriatary closed source module from ATI.

Performance wise, the ATI card certainly beats the pants off NVIDIA. I can't easily compare the performance with something like glxgears (the NVIDIA was getting >4000 FPS, while the ATI was doing just >500) This is due to the way the evil ATI driver works. In actual game play (UT2004), the performance increase is very clear, I maxed out the graphics options, ran the game at native 1680x1050 resolution, not even the slightest hint of lagging. Awesome!

Thursday, February 22, 2007

Finally Something Broke

Finally! I managed to break something. I got gatal yesterday & upgraded to Java SE 1.6. I read up somewhere that it's incredibly fast. I could use a boost to my Azureus I tot. So I went ahead & updated to 1.6 from the mcnl repo. Azureus started back up & took less than half the time to start & the overall responsiveness was much better. I tot all was well.. until I tried to surf a few sites today & discovered that Java applets won't load. I checked in FF, everything looked ok. Checked out about:plugins, looks alright, it's enabled & detected. Trying to run java in the shell worked. Tried in Konquorer, works fine. Then found out the Java control center failed to load with FF due to some odd libc++ crash. Chialat. It's broken. I tried to uninstall but it wanted to remove a bunch of other programs along with it. 'Dependents'. Refused to downgrade without first uninstalling the newer version. So I decided to screw Java applets(at least in FF), I can live without em as long as my Azureus is always this fast. :)

Next up I tried Kerry, (the KDE front end to Beagle{a type of dog that sniffs around your /home to build a metadata search index}) Worked perfectly, now I can find all my stuff in a flash.

Finally I installed Apollon, (the GUI frontend to GiFT, which connects you to Kaaza & Gnutella networks) Worked perfectly again. Just have to tweak the router to forward ports.

Perfect. till next time...

Wednesday, February 14, 2007

Getting SCIM, AIGLX & Beryl in Mandriva

Few days ago, I finally got a chance to stretch abit & test some bits of Mandriva that I did not have the spare equipment to do so. Many thanks to THEwe for selling me cheap a slightly gawky looking clone PC. (As I thought, I couldn't get used to the glowy blue LEDs in the transparent side cover :p)

Anyhow I'm typing this now using my new 'to me' pc, attached to a horrible looking 14' CRT monitor. While still waiting for my 20' flat panel. As you'd expect, I have it running Mandriva Free 2007.
A few days ago I got adventurous & decided to try out some things I've not tested before & also try some stuff in the backports repositories. (just to see what I could break)

But to my suprise, I didn't manage to break anything.. yet.
1. I installed SCIM & SKIM. to get Chinese input support. The installation went well, but I couldn't figure out what to do afterwards. I couldn't find a whole lot of help either. Some fonts were showing up as little square boxes. I figured out later that I needed to install locale-zh & font-ttf-chinese. After that, It all seemed to only work in GNOME apps & not in KDE. I later figured out that I needed to change my input method by running 'draklocale'. Finally it all worked & suprisingly well.

2. Next up I upgraded to the latest 9xxx series NVIDIA modules. I decided to play it safe & used the updated ones in plf. (Added the repositories plf-free_updates & plf-nonfree_updates) Did it, restarted & I could now use AIGLX instead of XGL for compiz, no hacks, just using drak3d.

3. Finally I got really excited & decided to go for Beryl. I added the main_backports & contrib_backports repositories. Searched for beryl, install beryl-core, beryl-manager & emerald. Disabled 3D Desktop in MCC, restarted X & ran 'beryl-manager'. It just worked immediately.. & it looked absolutely stunning. to make beryl start everytime, do '$ cd ~/.kde/Autostart' then '$ ln -s /usr/bin/beryl-manager beryl-start'. That's it.

I've been using the system like this for a few days & so far it has survived every situation I threw at it. Someone told me that Beryl is highly experimental & incredibly buggy & unstable. Well not in my experience. I found that Beryl IS ACTUALLY STABLE & fully usable for the everyday desktop. I won't bother posting any video of Beryl on my desktop, there are already tons of these on YouTube. Go have a look if you don't know what I'm talking about.

1 last thing. I forget to mention flash-player in my previous post about setting up a Mandriva box. Well, if you haven't figured it out: Goto 'http://sdc.shockwave.com/go/gntray_dl_getflashplayer' download the RPM version. install with '# urpmi flash-plugin*.rpm'

Till next time..