Categories
College Life Linux/BSD Navya Software

Gentoo, KDE, amd64!?

Not so long ago, I gave LG3D liveCD a shot only to end up losing a partition 😐 The included file-manager was at fault here. All I did was try browsing the contents of that partition and it’s gone!
I lost another partition. This was when I was trying out the pirated copy of MacOSX86 freely available on LAN. The Partition Utility on the installation DVD only looked good, but very deadly to actually use. Ah well.
All this activity was on the Seagate 160GB HDD. A faithful old chap from one of the best HD makers out there who sell in India. The other ill-fated hard drive is my infamous Samsung 160GB SATA HDD. My Gentoo installation on it got screwed when I was trying to rebuild the reiserfs partition’s trees. Apparently, it was filled with bad-blocks 🙁
So, made use of the other hard drive which recently suffered partition losses 😛
Installed gentoo-amd64 as usual. Emerged gnome-light and a few essentiall apps. Was happy for a few days until one day we had to test out our LAN TV setup for the upcoming cricket matches. VLC was our friend. Had to recompile the kernel with v4l support and stuff and VLC was ready to go. It picked up stuff pretty well from the TV card we had. The CPU usage was however, heavy compared to a similar setup on a neighbour’s 32-bit windows installation.

All that stuff for a month or so ago. Before the earlier post on LDFLAGS.

Now coming to the title of this post. I emerged KDE out of boredom after seeing a lower-end comp showing very good startup speeds for KDE apps on openSUSE. Surprised as I was, I quickly went to #gentoo-kde on freenode and asked around a bit on how to go about this KDE business. There are a lot of split ebuilds and takes a lot of time to go through. I began with one of those overlays which had a
“kde-lite” ebuild which was neat and just what I wanted 🙂
KDE is good. I usually prefer running a desktop with all-Qt/KDE or all GTK+/Gnome. I didn’t want to use Firefox or Linuxdcpp on KDE. So I had to get opera whose flashplugin wrapper never plays youtube or googlevideo :|. It too, like mozilla’s firefox binary, doesn’t render indic-fonts properly. Konqueror does it fine. But it seems to be unsupported by many websites even though Konqueror claims standards compliance.
Yestereve, we had a meeting to discuss MEMP’s current development status and plans for the future. Arun asked us if we are going to support amd64 and asked us “will we be able to convince that plain x86 installation is better than amd64”? Suprised as U was, on asking him the howcomes, he logged into my comp and fired up firefox and mplayer and did the same on his 32-bit gentoo Os and compared the ‘htop’ monitor. Firefox and mplayer on my comp was unusually, strangely, using up too much memory. Is the 64-bit OS at fault here? Is it worth all the trouble? Or should I just install a 32-bit Os and be happy with it?
(this post is kind of written in a hurry)

Categories
Linux/BSD Software

The quest for performance

Yo,
Several distros such as Ubuntu, openSUSE, or Fedora Core are pretty n00b friendly and desktop-oriented. A lot of optimization must’ve gone through into these distros. Binary packages and nifty package managers are features. Where it hurts or matters most is when you want customizability in the “Gentoo sense” 🙂
Take for example a typical make.conf
you have flags such as USE, CFLAGS, and so on. One of these (which gets automatically highlighted red by vim is LDFLAGS ). MS Windows XP’s GUI et al feels a lot snappier compared to Gnome on my box. After I set the following LDFLAGS and re-emerged world, I’ve started to notice that my Gnome doesn’t suck as badly as it used to. I’ve posted this on the newsgroups (intranet) and people have asked me for benchmarks. But, although I didn’t do any (forgot actually :P) I ‘feel’ a sense of life flowing back into my system.
A lot of googling told me that the Ubuntu developers have also done something similar with their packages. There is an article on LWN that explains LDFLAGS a little. There are a couple of threads on Gentoo Forums.

LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed -Wl,-z,now"

Make sure you go through the man page of ld for self-satisfaction.

Categories
Linux/BSD Software

Fonts, good ones


Not sure if people who know me have noticed it or not but I seem to be ‘obsessed’ with fonts. The first thing I do whenever I install a linux distro is to go and fetch those apple fonts and set them as the default ones with appropriate settings (autohinting, smoothing, etc.)
The blog post here has the link to the apple fonts and make sure you go through Gentoo-Wiki‘s article.
Here’s my gnome-font-properties‘s screenshot. Notice that I’ve turned off hinting (Hinting: “None” radio button). Try this even if you’re not going to install apple fonts. It give a whole new look to the fonts you might already be using: BitStream Vera or Dejavu.
Happy Gnome-ing 🙂

UPDATE on 25th of Feb, 2007:

Finally, this is how my /etc/fonts/local.conf stands for my Samsung SyncMaster 740N LCD.