Comparing Slackware 11.0 with Fedora Core 6

I’ve been a loyal Slackware user for well over a year, and I recently had to install Fedora Core 6 at my office (no more windows at work, hooray!). So here’s a brief comparison of the two distributions (don’t expect it to be unbiased :)):

Installation: Slackware has a very neat CLI-based installation that I’ve got quite comfortable with. All you need is a copy of Slackbook lying around, and the whole process is very smooth. It does throw you in a shell at startup though, so people might like to do some tweaking to start with X by default.

Fedora’s Anaconda installer is much prettier, and the GUIs for time-zone selection and partitioning might be far more appealing to new users (Slackware, in comparison, requires cfdisk or fdisk to be run first for the partitioning). One minor gripe is that the upgrade process was terrible in its lack of options: it just did a default upgrade with no package selection options.

Packages: I’ll stick with Slackware on this one. I’ve had hardly any dependency problems, and I personally find it very comfortable to download and install its .tgz packages.

Fedora is another story. Some of the people here at work didn’t check the Eclipse package in the custom install, and it was a nightmare trying to install it later. yum works incredibly slow out here, so downloading several 100 MBs was impossible. Installing the rpm from the DVD threw up dozens of dependencies. And as I mentioned, the upgrade option during install didn’t allow package selection either. The easiest way seemed to be a quick reinstall of the / partition.

I admit my unfamiliarity with FC6 might be a problem here, for example, try as I might, I couldn’t get yum to read the DVD as a repository. Anyways I’ll learn all that soon I guess. On the good side, yum was very smooth in smaller installations (like Fluxbox), I had absolutely no problems there.

Administration: Again, I might sound biased, but Slackware’s way is seriously nice: no GUIs, just open an xterm and jump into the config files yourself. Minor tweaks that I usually do post-install are: Mouse wheel enabling, other xorg.conf fine tuning, startx, poweroff enabling, lilo setup, sound volume storing, etc. That does sound like a lot, I admit!

Fedora is better in this sense because all those things mentioned above are configured automatically. Just login after installation and you have a perfectly working environment. There are a bunch of GUIs starting with system-config-* for the most common administration tasks. As I’ve mentioned, I’m more comfortable with handling the files directly instead of through GUIs (I’ve faced problems in earlier distros having poorly configured wrappers). But in this case the Fedora team has done a really job, and I found that the GUI tools were neat, simple and never corrupted any of the files. Good job here too.

Desktop: Slack defaults to KDE, Fedora to Gnome. Frankly I don’t know how anyone in the world can stand Gnome once they see KDE, but to each his own *shrug*. The first thing I do in both cases is switch to a minimal window manager. Here Slackware has many options, as the installation set comes with really neat ones like Fluxbox, WindowMaker, Fvwm and Xfce. I’ve comfortably settled with Ion3 at home, though.

At work, I chose to put in Fluxbox. The general desktop environment for both cases is faultless, as they come with all the common software that you’ll need for development, Office or just plain browsing.

Well there you have it. There’s probably nothing that’ll ever convert me from Slackware, but other distros have their good points too. FC6 is a very nice one that is very friendly and usable. I know there a lot of things in it that I haven’t covered here, such as SELinux, which looks very interesting, and Compiz, which looks very pretty. But I haven’t tried those enough to comment about them, so maybe some other time..

Managing my mess of bookmarks (Part II)

In a previous post I covered some nice extensions that sync your bookmarks across multiple computers. Now that I’m using Opera these days, those extensions aren’t of much use to me. This post is going to cover some decent online bookmarking solutions that I’ve been trying.

del.icio.us:  Among the ones I tried, this is probably what I’m least comfortable with (also its the most popular). On the good side, the interface is fast, neat and simple. Searching through tags is a breeze.

Now for the reasons why I chose not to use it any more: I just couldn’t stand the tags.
Gmail does tags perfectly: you predefine them, and then assign them to incoming mails. In del.icio.us, you can put any number of tags, irrespective of which ones you’ve used before. So is CuteOverload tagged under fun, funny, humor, cute, or humour? Arrgh! Maybe its just me, but I can’t stand an unorganised collection of anything.

Blinklist: This one’s like a prettier version of del.icio.us. Its got lots of nice features added on, such as a chat box in every user’s page. It looks like a friendly place, and the look-and-feel is very pleasant as well. One advantage it has that del.icio.us doesn’t, is that it auto-completes only within your existing tags when you’re blinking a site. As a result, I’m far more comfortable with the way my blinklist collection is tagged and organised.

Furl: This one is the BEST of the lot. I can’t imagine why it hasn’t got incredibly popular yet. As far as I’m concerned, Furl has this one feature that makes it invaluable: it archives a personal copy of every page you bookmark. With a feature like that, who needs tags! Since it also searches within the saved text, a simple search for, say, ’emacs’ shows every single page with that word in it. Who cares whether or not you remember to tag it ’emacs’, or whether or not that word exists in the title?

So there it is, I vote for Furl as the coolest online bookmarking tool around. Note that my main concern was just in saving and organising my bookmarks online. The social aspects aren’t that high a priority for me, so your opinions may differ.

Quick shell script to randomly change wallpapers

For no particular reason, I was trying to figure a way to make my wallpaper switch randomly on each startup. After some brief googling around and some experimentation, I came up with this brief script that does the work just nice. (Alright, it may not be the neatest, fastest, or easiest way of doing it, but its the first thing that came in my mind. Hope it helps.)

Well before that here’s the list of assumptions: I use bsetbg for setting the wallpaper. You might want to use fbsetbg, fbsetroot or whatever. Also, I’m picking up the images from a folder in ~/pictures/recent. You might want to change that one too if you want to use the same script. And finally, I use Fluxbox, so I just need to mention this script in Fluxbox’s startup file to make it run each time. You’ll have to do similar stuff depending on your Window Manager, or just run a cron job or something.. So alright, here’s the file:

#!/usr/bin/bash
#randwall.sh: Randomly sets wallpaper each time it’s run

#Count how many images are there in my folder..
WCOUNT=`ls -1 ~/pictures/recent/* | wc -l`;

#Generate a random number within that range..
num=$[ ( $RANDOM % $WCOUNT ) + 1 ];

#Pick up that particular image..
MYPIC=`ls ~/pictures/recent/* |sed -n ‘ ‘$num’p ‘`;

#and set it as the wallpaper!
bsetbg $MYPIC;

Update: I know, I know, I’m a real idiot. I just found out you can do the exact same thing using fbsetbg -r folder-name. Oh well, at least it was useful learning about $RANDOM and all..

Opera 9 is mind blowing

I’ve been trying out Opera 9 the past few days, and I have to say I’m very impressed. Check out the size of the binaries in their website, its a meagre 5 MB file. The amount of features they’ve squeezed into that tiny size is just incredible. For starters.. its fast. Just for that one reason alone, I consider it worth the switch. Firefox struggles in my ageing comp, and I usually use Lynx or Dillo for a quick visit to the ‘net. Opera launches in a flash, in comparison.

 Features: Well, lets start with the in-built bittorrent client it has. Click on a torrent file and it gets launched automatically. Some config options are also available, so its a pretty useful feature for the lazy. And then there’s this very impressive mail client. It took me a couple of quick steps to get my gmail set up, and its seriously cool feature-wise. Its got labels, gmail style, isntead of the usual folders, and you can also read newsfeeds from the same place.

The usability features are just amazing. The keybindings are extensive, and I’ve already gotten a few favourites (Shift+Arrow keys to traverse links in a page, F8/F9 to switch to URL bar/page). The mouse gestures are pretty neat too, and work pretty fast unlike what I’d expected. There are the usual search engine keywords as well, I always prefer them to the search bar on top.

Extensions: um, there aren’t any. Perhaps its a good thing in a way, its nice to have different browsers with different featuresets I guess. Among the Firefox extensions I use most often, session-saving, undo-closed-tabs, and adblock are all in-built in Opera. I can live without the gmail manager extension as well, since I’m using Opera’s mail client itself. My biggest concern is that I don’t have the Foxmarks bookmarks sync extension with me now. I’ll probably have to look around for a workaround there. As an alternative to extensions, Opera does have widgets. I personally don’t use them (my window manager (Ion3) gives a full screen for each widget), but I had a look at a few and they were pretty nice.

Summary: I’m sticking with Opera at home, I’ve still not decided about the office. Its a really neat competitor to Firefox, and I should’ve probably tried this a long time back. Apart from very minor problems (its closed source, some people might not like that; some keybindings don’t seem to work at times, etc), Opera 9 has enough features to make it one helluva browser.
P.S. Go to this link after installing Opera, and press F11. Those guys sure think up some neat stuff.

Managing my mess of bookmarks (Part I)

I have a huge mess of bookmarks in Firefox, and faced considerable problems a few months back when I needed to sync them across my work and home PCs. In my quest for a decent bookmarking solution, I experimented with some extensions and online solutions. In this post (Part 1), I’ll cover my experiences with the extensions: Google Browser Sync and Foxmarks.

Google Browser Sync: Well, just don’t use this thing. the only reason I did was because it was the first one I’d heard of. My problems started right with installation, where, for some wierd reason, google had allowed the download only in the US and some other countries. So I asked my brother to download the .xpi and mail it across to me.

Apart from syncing your bookmarks, this extension also syncs your browsing history, cookies and passwords. Somehow I wasn’t that comfortable with my home sessions mixing with my work ones! Nor was the fact that google’d be archiving all this information very comforting either. So I turned off all the options except the bookmarks and got to work.

I found that this extension still had lots of work to do. There were far too many problems when it was trying to update a bookmark that I had later moved to some other folder. There were also unnecessary delays whenever I was closing Firefox, when the synchronisation would take place. From start to finish, this was one extension I wasn’t too comfortable using.

Foxmarks: These guys sure got it right. Ever since this was installed, I never had to worry about what was happening. It works unobtrusively in the background, and handles things perfectly. I got an occasional popup when I’d moved an extension to another folder, asking me which location I wanted to be sync’d with.

You’ll need to register in the Foxmarks website to upload your extensions there (which is what I’ve done). Alternatively, you can mention your own server in the options where it will perform the upload.

Foxmarks has effectively solved all my bookmarking worries. I highly recommend it! (I’ll review the online sites that I’d tried in a later post (del.icio.us and Furl))

Slackware custom search using Google Co op

I don’t know what rock I’ve been living under, but I just discovered Google’s nice new co-op feature in a Clipmarks page. There’s also a BBC article here.

So… here’s my own attempt: a custom search engine for Slackware specifically, and Linux in general. I’ve also left the ‘contribution’ option open, so if you know of more Slack links that would be useful, you’re welcome to add them.