Monday, April 19, 2010

Welcome PCLinuxOS 2010

Good news for all who are looking for a Mature "Just-Works" Desktop. PCLinuxOS 2010 bandwagon is released. This time Tex and the Gang has offered 7 releases:   Main KDE Desktop, KDE MiniMe Desktop, Gnome Desktop, Gnome ZenMini Desktop, LXDE Desktop, XFCE Desktop and Openbox Desktop.

PCLinuxOS 2010 Main KDE edition features Kernel 2.6.32.11-bfs kernel (for maximum desktop performance) and full KDE 4.4.2 Desktop. PCLinuxOS includes all of the latest popular applications such as Firefox 3.6.3, Thunderbird 3.0.4, Dropbox for online backup storage, Pidgin 2.6.6,  Kymoney, Ktorrent, Gimp, Digikam, Amarok, Smplayer and much much more. In addition there are over 12,000+ additional packages available from our software repository.

As always there is support for Nvidia and ATI fglrx drivers. Many new wireless cards and printers are supported as well. Plus 2010 release is able to play the popular multimedia. Other versions (Gnome, Zen, LXDE...) have got the respective latest desktop environments and applications.

Download PCLinuxOS 2010

Monday, April 12, 2010

How to Make GTK Apps Look like KDE on a KDE-only Desktop

KDE4 is eye-candy. But most of the distributions that bundle it are not that stable or usable. Here I don't talk about PCLinuxOS 2010 or Mepis 8.5. They have done a great job in their implementation of KDE 4. But there are a lot others.

Well, coming to the point.... Of late I planned to install a KDE-only Debian desktop on a custom-made system. It was meant for somebody very new to Linux. That's why I thought of good old KDE 3 and the most stable distro of our times - Debian Lenny. Lenny installed a fully-functional KDE desktop on that machine (PIV on Intel 945 mobo) quite well. Afterwards I made some tweaks on the system so that my friend could easy plug his ntfs external drive, web cam, use his stock DVDs, windows media files and so many other non-free stuff. Again after configuring debian-multimedia it was easy as always.

KDE 3.5.9 on Lenny worked like a charm - quite responsive while carrying a truck load of kde apps. But those gtk apps looked butt-ugly on a kde-only environment. Here is a screenshot of how a gtk app looks on a debian pure kde desktop.


As you see, the look of apps is not consistent. Thank God, there is gtk-qt-engine package in Lenny repo. I installed this package and configured in kcontrol (kde control center) as shown below. And Lo! Upon reboot I got consistent KDE look across kde and gtk.

If you are also a KDE-lover but can't do without some gtk apps gtk-qt-engine is the way to go.

Here is the screenshot of Avidemux after installing gtk-qt-engine.

Monday, March 15, 2010

Linux Desktop: Running WvDial without Root Permission

wvdial without root permission in linuxWvDial in combination with PPP is the best dialup internet solution for any Linux Desktop. There are a couple of ppp-frontends such as gnome-ppp and kppp for dialup internet access, but none are as versatile, configurable and intelligent as WvDial. However, the biggest turndown in WvDial is - it asks for root permission (except Mepis, Warren has done wonders to Mepis wherein you just have to enter wvdial, no need to be root at all). Everytime you need to do su or sudo wvdial and enter root password, it's a pain for no perceivable gain. Fortunately, you can get rid of it following a few simple tweaks.

1. Install ppp and wvdial using your distribution's repository. Let the package manager pull-in all the dependencies.
2. Generate/configure valid wvdial.conf file in /etc
For my idea net setter edge-enabled Huawei wireless modem I had to customize my wvdial.conf as mentioned below.

[Dialer Defaults]
Modem=/dev/ttyUSB0
Baud = 115200
Init 1 = AT+CGMM
Init 2 = AT+CMEE=1
Init 3 = ATE0
Init 4 = AT^HS=0,0
Init 5 = AT+CFUN?
Init 6 = AT+CLCK="SC",2
Init 7 = AT+CPIN?
Init 8 = AT+CLCK="SC",2
Modem Type = USB MODEM
Phone=*99#
Username = 9990146746
Password = 6746
New PPPD = yes
Dial Command=ATDT
Stupid Mode=1
ISDN=0

3. Open terminal, be a root user (su or sudo) and do:

adduser USERNAME dip
adduser USERNAME dialout

where USERNAME is your userlogin name.

4. Locate pppd (generally it's /usr/sbin/pppd) with root permission run the following commands in a terminal

chmod o+x pppd
chmod g+s pppd

5. Finally, change permissions of pap-secrets and chap-secrets

chown USERNAME /etc/ppp/pap-secrets
chown USERNAME /etc/ppp/chap-secrets

You're done!

Now open a terminal and run wvdial as a non-previleged (non-root) user.

running wvdial without root privilege

Tuesday, March 9, 2010

PCLinuxOS 2010 Rocks Even in the Beta Stage

PCLinuxOS 2010 Beta

The wait is over! Tex and the Rippers announced PCLinuxOS 2010 on 6th March, 2010. Final iso is very close.

PCLinuxOS-2010.beta1 has gathered all the goodies: latest 2.6.32.8 kernel with BFS scheduler, full ext4 support, KDE 4.4.1 SC and the latest applications. Besides, users having more than 4Gig of RAM can pull in a PAE kernel from the repo.

In many ways pclos 2010 is a big leap/rewrite for faster startup, better hardware detection/configuration and consistent/unified look across KDE/GTK2 themes. 2010 edition carries plymouth bootsplash and speedboot technology. Needless to say, it still bears the tex-stability and -usability, the halmarks of this distro.

I am using the beta for last 3 days and not experienced a bit of problem till now. You can use it too though the official suggestion is to use its final.

Please visit www.pclinuxos.com for more.Link
Some Download links:
http://distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/live-cd/english/preview/pclinuxos-2010-beta1.iso
http://ftp.heanet.ie/pub/pclinuxos/live-cd/english/preview/pclinuxos-2010-beta1.iso
http://ftp.sh.cvut.cz/MIRRORS/pclinuxos/live-cd/english/preview/pclinuxos-2010-beta1.iso
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/pclinuxos/live-cd/english/preview/pclinuxos-2010-beta1.iso

Size: 693.91 mb
md5sum – c027f63d211304059b522433e2a48a16

Wednesday, February 17, 2010

Is RHEL5 the New XP of Linux World?

red hat enterprise linux 6 delays releaseIf you blamed Redmond for the late release of Vista (almost 6 years after XP) then think again, Red Hat Enterprise Linux 5 is the new XP of Linux World. And the same user-reaction is building towards it.

As per official documents Red Hat declares of following a 18-24 months release cycle. Red Hat Enterprise Linux 5 was released on 2007-03-14, and it's about 3 long years now, still there is no official announcement. The question here is how long will Red Hat possibly stick with 2.6.18 kernel line and the contemporary packages. The present status of Red Hat Desktop is a stable but obsolete distribution.

Of course, the server side story of big corporates is different. They would still stick to the standardized and stable base - RHEL5. Though Red Hat does not make it explicit, seems it only aims for servers in big corporates. Even its desktop offering is meant for biggies only. Had it at all aimed at a general desktop, we could have seen a major release sometime in 2009.

Linux desktop has made some great jumps over the past three years. There have been KMS, CFS, the new 2.6.31 desktop oriented kernel, virtualization and a lot more in terms of userspace and application program updates. Interestingly late-to-the-party Debain is catching up with these developments. But Red Hat...

1. Is Red Hat finding it difficult to maintain 4 releases at a time, that's why the delay in RHEL 6?
2. Has it changed its release plans (without making it public) and preferred a feature-based release to a time-based release.
3. Are the corporate clients too happy with RHEL 5 (like XP) and there would be no pleasant acceptance of a new release?
4. Or Red Hat aims only for Servers and RHEL 5.4 serves that purpose best and there is no need for a release?

Visitors, please post your comments on RHEL6 here.

Tuesday, February 16, 2010

Why Should You Compile Your Kernel and How

If you are running Mepis, Mint, PCLinuxOS or other desktop oriented distribution, and your installation detects all your devices and works perfectly fine, you don't need to waste your time compiling you own kernel. That's what I had mentioned earlier in this blog.

But sometimes you may require to add/remove some features, drivers or change some settings, then you should go for compiling your own. Take my case for example. A week ago, I had to setup a home desktop for a total noob (doesn't know L of Linux). He was just interested in running a system that works after some initial configuration. He is not supposed to do updates, any sort of fixing and he is connected to web on his desktop through broadband. After much thought I settled on installing a customized Debian Lenny that would just work without any hitch or instability.

And I set on to recompile a kernel totally meant for boosting desktop performance. I prepared a .config file shedding every bit of unnecessary components and some setting changes. They are:

1. Changed kernel to "Low Latency Preemptible for Desktop" (Debian kernel is optimized for server, you can't change it even if you choose a desktop install), it's a must for desktop kernels
2. Changed Processor type to "Core2Duo or Newer" (my friend has a core2 machine)
3. Removed support for almost hundreds of drivers for old/legacy and modern devices, except for those which are built into that desktop
4. Removed support for unnecessary block-devices, esoteric filesystems, etc.
5. Changed memory settings
6. Removed ipv6 support
7. Tweaked CPU scaling features

How Did I Compile it

First I installed the following packages

#apt-get install kernel-package ncurses-dev bzip2 module-init-tools initramfs-tools procps fakeroot zlib1g-dev libgtk2.0-dev libglib2.0-dev libglade2-dev

Checked the kernel version using the following command

#uname -r

Downloaded linux source matching the version of installed kernel from Debian repository. The reason behind it is that you can modify the .config file and the recompiled kernel will integrate well with the existing set of userspace packages and applications. Of course you can put a newer or older kernel source for recompiling. But then, you should be more cautious while creating a .config file through "make menuconfig".

Whether newer or older kernel source, try to pull that from your distribution repository. It's will suit better and it may bear some patches specific to your distribution.

Copied source to newly created folder

#cp /usr/src/linux-source-2.6.26.tar.bz2 ~/newkernel/

Extracted the source and moved to the sources directory

#tar xjf linux-source-2.6.26.tar.bz2
#cd linux-source-2.6.26

Then copied a working template for the kernel .config to this directory. You should do this unless you want to drastically change the kernel .config file.

#cp /boot/config-$(uname -r) ./.config

Checked processor (it'll be useful in choosing cpu type and settings)

#cat /proc/cpuinfo

Configured kernel options (Don't change settings aggressively if you don't know what you are doing)

#make menuconfig

Now cleaned the bed for real work

#make-kpkg clean

Then started the real compilation

#make-kpkg --rootcmd fakeroot --initrd --revision=dev.1 kernel_image kernel_headers

Note:
1.You can change “dev.1” with yours.
2.You may skip building “kernel_headers” if you don't need to build kernel modules


Then moved to the directory where I had freshly cooked kernel images.

#cd ..

Installed .deb package using the following command

#dpkg -i *.deb

After installation, I checked the menu.lst and /boot directory to ensure the initrd, vmlinuz files are properly created and linked in the grub menu.

Benefits of this compilation:
1. My custom kernel weighed just 8MB.
2. It takes 8-10sec less to boot
3. The desktop feels snappier than the default Lenny Desktop install
4. It takes much less memory and resources.
5. The boot screen is quite neat even in verbose mode.

The above procedure works well on Debian Lenny and Mepis 8. You might have to google the web for more appropriate help relevant to your particular distribution.

Sunday, February 7, 2010

PCLinuxOS 2010 is Shaping Up

pclinuxos 2010While browsing pclinuxos repos I came across "http://ftp.klid.dk/ftp/pclinuxos/apt/pclinuxos/2010/RPMS.main". The version label "2010" in that ftp URL caught my attention. Finally, PCLinuxOS is shaping up for a 2010 release!

Last time it was a great decision by Tex and the Gang to stick with KDE 3.5.10 on their 2009.2 release. They played safe for the welfare of the community and the users, while many desktop-wannabes plunged into KDE4 line. Now that KDE 4 has become a lot more stable and feature-complete, it's time for a release.

Seems PCLinuxOS has been following a feature-based (not time-based) release schedule (call it rolling release, it's ready when it's ready, or whatsoever). And it's good for all. In all guesses PCLinuxOS will ride on kernel 2.6.31 or above under the skin of KDE 4.4 (soon to be released). Of course, there are a lot of other goodies - tools, apps, and may be many overhauling of boot process, artwork and the overall integration.

Just my pinch of thought. Like before, there has been no announcement from pclos team. It's ready when it's ready.

Wednesday, January 20, 2010

How to Stop "Kinit: No Resume" Error Message in Debian Lenny

Suspend, Hibernate and Resume are great features in modern mobile computing. So, it's good to have them in your Operating System, be it Linux or OS X or Windows. However, these features require more resources in terms of physical/swap memory. And some people don't like it.

On user-level you can disable it by removing the userspace Suspend/Hibernate packages. But sometimes removing those packages don't do the job completely. You may still get an error message like the two lines I got during my Debian Lenny boot process:

kinit: Trying to resume from /dev/sda5
kinit: No resume image, doing normal boot


I had removed suspend/hibernate packages quite earlier. Wondered why that message came till I knew it's a kernel feature these days. So, to disable resume, you have to tell the kernel not to seek for it. Just add noresume in the kernel line of /boot/grub/menu.lst file. See the example:

title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro quiet noresume
initrd /boot/initrd.img-2.6.26-2-686


After adding noresume to the kernel line you will get rid of that "No resume...." error message, and may be, save a few seconds of boot time.

Thursday, January 14, 2010

Restoring GRUB through PCLinuxOS LiveCD

restoring grub through pclinuxos livecd
Distro-hopping or multi-OS-booting sometimes results in a non-booting grub. You can use PCLinuxOS (or any other) LiveCD to restore grub in a safe way. Here are the steps:

1. Boot system from PCLinuxOS LiveCD
2. Open a terminal and be root user - enter "su"
3. Enter command "grub" (it will put you on grub> prompt)
4. Then locate grub files by: "find /boot/grub/stage1"
5. It will return grub locations (it may be (hd0,0) or (sd0,0))
6. As per the location of grub enter "root (hd0,0)" or "root (sd0,0)" or some other.
7. Then issue "setup (hd0)" or "setup (sd0)" or some other.
8. Finally enter "quit"

Now reboot the computer without LiveCD.

Note: Use commands without quotes.

Saturday, December 26, 2009

Looking for a Decent Office Suite in Linux?

I used to prefer Microsoft Office (on top of Crossover Linux) to OpenOffice for two big benefits - performance and compatibility. OpenOffice is a jumbo of a office suite. It has many feature, and more being introduced in each release. But performance-wise it's slow. What's more, it eats memory like a pig!
Ashampoo Office 2008
For long I had been looking for a office suite for Linux that's light, feature-rich and fast. I tried KOffice - it's fast, but not as feature-complete as OpenOffice. Then switched to GnomeOffice. Sad! It lacks a presentation pack. The Agnubis has long been deserted. Last night I saw this Ashampoo Office 2008 on my friends Windows XP PC. It is just a tiny humble suite that consisted of a word processor (textmaker), a spreadsheet program (planmaker) and a presentation software (presentation). This suite takes just 39.77MB of install space, and 33.25MB of memory (when all the three programs are running)! Besides, it's not pricey - costs a fraction of what you pay for Microsoft Office. It has a Linux version too. Lastly, Ashampoo 2008 has bundled just planmaker, textmaker and presentation, the combo most of the people use frequently.

Finally, I would like to see OpenOffice shed some of its fat to be as slim, as uncluttered and as fast as Ashampoo. Or, better still, if somebody point me to a free Ashampoo Alternative in Linux. Till then I am using it.

Please click on the image below to see the memory footprint and install space usage of Ashampoo Office 2008.

Ashampoo Office Suite


BTW, Ashampoo (Softmaker) Office 2010 is already released.

How about this