Tuesday, August 26, 2008

Display your Arch Linux theme information automatically

Often when you come across a desktop screenshot in the forums/websites a myriad of question flows through your mind. "What theme is that? Lovely icon, if only I knew its name. Wow, but is it openbox or fluxbox or something else?" Now while its possible to mention all the details while posting the picture, its a hassle everytime you post a screenie in the monthly screenshot thread.

Instead, wouldn't it be better if we could somehow automatically include all the details in the screenshot itself? Yes, it would be and its possible just by using these two small scripts.




Edit the path to the logos.pl file here in the info.pl file
require '/home/sujoy/bin/logos.pl';


Now all you have to do is put the two files in the same directory and make the info.pl file readable and executable
$ chmod 500 info.pl

and make the logos.pl file readable
$ chmod 400 logos.pl


You can run the script from inside the directory as
$ ./info.pl


Here is a picture of the script in action


While the logos.pl file given here is for Arch Linux only, you can modify it to suit your distro and use the info.pl script along with it.

note: the scripts are not mine, the name of the author is mentioned in the script itself

Monday, June 23, 2008

The Arch way ...

I took a liking to command line applications when I switched to ArchLinux from Ubuntu during the start of the year. Seeing that Arch by default didn't have Xorg or Xfree86 I thought I might as well try and stick with the console.

However, soon enough I got an X running and for a change I now use Window Managers exclusively. No KDE, no Gnome, no XFCE. I have openbox, awesome, xmonad and wmii installed. I liked the tiling approach to window management and hence the biased decition of keeping three tilled WMs, although I mostly use awesome.

Currently my most used apps are mpd-svn, ncmpc-svn, elinks (for flash and pics I have Opera, and I also have to keep Kazehakase since my ISP allows only firefox and IE to check my usage), vim, rxvt-unicode, mplayer, feh, antiword, epdfview and gftp (the only client I found thats easy on resources and don't need commands, any other suggestions? ), nmap.

I have tried and kept my system as bloat free as possible by only installing things when I need them. The startup memory usage is around 110MB with Slim as the login manager, I could do with startx probably, but slim looks quite pretty :)

No problems with the setup as of now, just a pacman -Syu once or twice a week keeps it bleeding edge. Only I tried the whole afternoon but couldn't get mutt working, settled for claws-mail as of now.

Any nice apps you know of? Please let me know.