Trigger onChange Event in IE for radio buttons and check boxes

onChage event in IE doesn’t get triggered until the onBlur event is fired up. This can be easily fixed with the next code:

if ($.browser.msie) {  
  $(function() {  
    $('input:radio, input:checkbox').click(function() {  

This code will fire up both events (blur and focus) to each radio button and check box.

This workaround was taken from here

Install Firefox 14 in Debian

We need to enable the Ubuntuzilla Project repository for the latest Mozilla Firefox/Thunderbird/SeaMonkey build.

Add to our /etc/apt/sources.list:

deb all main

Then we need to add the GPG key:

apt-key adv --recv-keys --keyserver C1289A29


#apt-get update
#apt-get remove iceweasel ; apt-get install firefox-mozilla-build

This will remove Iceweasel and install the latest Firefox build.

Hope this works for you 🙂

Asus G74SX-DH71 Keyboard lights Function Keys in KDE (Debian and Fedora)

I was trying for a while to make my Function Keys (volume, keyboard lights, etc) work in KDE 4.x, and I was finely able to do it with a *funny* workaround. It turns out that the Fn keys works just fine in Gnome, so I dig a little bit and found that the responsible of making this work is a small daemon called gnome-settings-daemon… So it’s just a matter of starting up this daemon in KDE and that’s it.

So, for doing that I just needed to add the next bash file:

$vi ~/.kde/Autostart/

and add this line:

For Debian:


For Fedora:


we save the file and then add exec permissions

$chmod u+x ~/.kde/Autostart/

Now you need to logout and login again and that’s it.

For getting the screen brightness function keys working properly, we need to edit our xorg.conf file:

#vi /etc/X11/xorg.conf

Under the section “Device” we need to add:

Option "RegistryDwords" "EnableBrightnessControl=1"

So, at the end, our “Device” section should look similar to:

Section "Device"                                                                                                                     
    Identifier  "Video Card"                                                                                                         
    Driver      "nvidia"                                                                                                             
    Option "RegistryDwords" "EnableBrightnessControl=1"                                                                              

You need to reboot in order to get this working.

Hope that works for you. 🙂