Dance On..
17 07 2008
Keep it up, Matt!
Comments : No Comments »
Tags : dance, fun, life, world
Categories : General
Keep it up, Matt!
E17 stores the background images in edje file format. Edje (*.edj) is a binary file format which compresses the images quite a bit and has many additional features (animations, layers etc.). Creating an animated background for e17 is quite easy (check here). There is already the wallpaper module in e17 which can set the current wallpaper to any image.
What if we want to write a cron job to switch the wallpapers (think slideshow module?). Adding a bit more complexity to it : e17 doesn’t like fake transparency and may not change its mind in near future (source) and our terminals(mrxvt?)/system tray(stalonetray) need fake transparency. There’s a nifty hack called Esetroot which sets fake transparency but doesn’t change the e17 background.
Even there’s a way to achieve both : Install the e_utils package and photo module. Right click on any image in photo module and you can set it as your background.Actually the photo module calls e17setroot program in e_utils and sets the background and then calls Esetroot to set fake transparency. If you already have e_utils up and running, you don’t need to read further
A script to emulate e17setroot
e17setroot null /path/to/image/fileHow this works ?
The main script e17setroot uses edje_cc to create the edj file. Edje (edje_cc) in fact needs an .edc file which contains few parameters to create the edj file. Our script takes the skeleton of an .edc and replaces the image name. And the resulting edj is placed in the ~/.e/e/backgrounds directory.
/me leaves the use of e17setroot to /reader’s creativity
Add the following lines to the ~/.Xdefaults to get a transparent urxvt terminal:
urxvt*depth: 32
urxvt*background: rgba:0000/0000/0000/dddd
The depth option tells urxvt to use 32 bits to define a color. Generally a color is represented as 24 bits (8 bits each for Red. Blue and Green). We add 8 more bits to store the Alpha(transparency) information. More info
Then we set the background option to denote the 4 different color information : Red/Blue/Green/Alpha.
To change the shading change the Alpha value in background option. 0000 = full transparent and ffff = no transparency.
For e17 users: Use the bling module for composite effects.
Vimpress is a script for VIM which allows posting to wordpress blogs from
the best $EDITOR
For more information, visit the project page :
http://www.friggeri.net/projets/vimpress
Also checkout :
underlinebolditalic
That was the topic of my talk on “How computers play chess”. Here’s the link to the presentation at scribd.
Some of the useful links :
BTW this is my first post this year! So a “Happy New Year” to all officially
I hope its not too late
Well during these 3 months, I coded two(three?) websites, modified an Online Judge server for our college’s online programming contest, brushed up gimp, played a lot with php and started using “Ratpoison and GNU screen” along with my e17 desktop environment.
Tags: chesslife php
These days I’m using Claws Mail to fetch my GMail stuff into my box. So I faced this problem of getting my GMail contacts into Claws Mail. The problem is that : GMail exports contacts in either “GMail to GMail format” or in “Gmail to Outlook” CSV format. And Claws Mail accepts only mutt, pine or ldif files.
There are some programs which do this : Dawn. Thats for the Windows users.
Those of us who don’t have the time and energy to download “Wine” and run this exe, can go the online way. The idea is to use another intermediate file format : VCard. Here we go :
Well it works cool
Although I could get only a few fields(name and email) imported into Claws Mail, still it does work!
— Greetings —
Today is the birthday of Mahatma Gandhi. To quote him :
In the attitude of silence the soul finds the path in a clearer light, and what is elusive and deceptive resolves itself into crystal clearness. Our life is a long and arduous quest after Truth
Blogged with Flock
DNS(Domain Name System) is used to get the ip addresses of the domains. Basically whenever we enter an address in our browser, the browser sends a request to the “Nameserver” for the ip address of the domain. After the nameserver returns the ip address, the browser opens sockets(http, ftp etc) to the particular ip address and sends data to the server and waits for response. On response from the server, the browser shows us the content. They teach all this in a semester CS course
Lets get into the “Name Resolution” part once again. So our browser would send a request to the Nameserver for the ip address of the domain we type in the address bar. A Nameserver is a box in your local network/ISP’s network which listens on a certain port for DNS requests and responds to each request with the IP address of the domain. If your browser gets stuck in the “Looking up hostname : xxx” part, then know that your ISP sucks and the nameserver box is too busy to cater to your browser’s name resolution request
Generally what ISPs do is : forward all their clients dns requests to nearest high level nameserver. And each of these requests by the clients are cached in the ISP’s nameserver to fasten up queries about the same domain name. So if some guy A queries up the ip address of “www.google.com”, the first time nameserver would forward this request to another high level nameserver and the return the ip address. But when another guy B asks for the ip address of “www.google.com”, our nameserver would return the ip address from its own cache.
But by whatever misses, there are times when you know that your ISP sucks. We will look into a few solutions to this :
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver your_ISP’s_nameserver_here
forwarders { 208.67.222.222; 208.67.220.220; isp_nameserver; };MODULES=(blah blah blah soundcore capability)
DAEMONS=(syslog-ng network named !netfs !crond alsa mpd)yast2 runlevel in terminal with root. Then change the runlevel settings for “named” there.
Blogged with Flock
Tags: opensuse, archlinux, dns, bind, named, resolv, name+resolution
After sticking with OpenSuSE for a long time (read 2 years), I finally got one of the bleeding edge distros : Arch Linux.
Oh and the answers to the WHY :
Apart from all this, I would still say that OpenSuSE rocks. For someone new to linux and OSS, I would definitely recommend OpenSuSE. Even the new OpenSuSE build service (http://en.opensuse.org/Build_Service) seems promising.
Now I had the option to go for Gentoo or Arch Linux. After reading a few reviews, I got the impression that in gentoo i will have more of a source based system (correct me if I am wrong !). Here are the answers for “Why Arch” ?
Some facts about my current setup :
I will follow up with a “How to : Arch” in a few days.
Blogged with Flock

More…
Thanks to Randall Munroe for this awesome cartoon