Yet Another Blog

October 8, 2008

Dell Inspiron 1525 hotkeys in KDE 4.1.1 Debian

Filed under: computer, linux, Software — Tags: , , , , , , , , , — guilleml @ 7:57 am

In Kubuntu 8.04 my laptop multimedia keys worked fine but in KDE 4.1.1 under Debian they didn’t, I couldn’t assign them to actions in system preferences.

To solve it I’ve used xbindkeys, it works pretty nice and now I can control the volume with the volume keys. To do so, type:

#aptitude install xbindkeys xbindkeys-config

Now you can use xbindkeys-config to configure using a graphical interface or you can configure in ~/.xbindkeysrc.

To configure volume keys under kde 4.1.1 you will need to assign some actions to each key in order to increase, decrease or mute the volume, I’ve used qdbus and kmix to do that, for example, if you want to  mute the audio:

$qdbus org.kde.kmix /Mixer0 org.kde.KMix.toggleMute Master:0

So you need to assign that to the mute key. To increase the volume:

$qdbus org.kde.kmix /Mixer0 org.kde.KMix.increaseVolume Master:0

And to decrease the volume:

$qdbus org.kde.kmix /Mixer0 org.kde.KMix.decreaseVolume Master:0

So the xbindkeysrc file will be:

#Mute
“qdbus org.kde.kmix /Mixer0 org.kde.KMix.toggleMute Master:0”
m:0x0 + c:160
NoSymbol

#SubirVol
“qdbus org.kde.kmix /Mixer0 org.kde.KMix.increaseVolume Master:0”
m:0x0 + c:176
NoSymbol

#BajarVol
“qdbus org.kde.kmix /Mixer0 org.kde.KMix.decreaseVolume Master:0”
m:0x0 + c:174
NoSymbol

After that you want to run xbindkeys daemon every time you login with your user, so add it to ~/.xinitrc, ~/.kde4/Autostart or any way you know to do so.

Advertisements

June 25, 2008

OpenSuse 11.0 KDE 4.1 beta2

Filed under: computer, linux, Software — Tags: , , , , , — guilleml @ 9:37 am

Kde 4.1 beta has been released and there are packages available for OpenSuse 11.0, I’ve installed them and they work pretty good, I can’t tell much differences but flash plugin works on konqueror!

The desktop seems quite stable and fast.

You can get it from http://en.opensuse.org/KDE/KDE4

Or just click here and OpenSuse will do everything for you.

The changelog shows some interesting features I haven’t tested yet, but I will.

June 20, 2008

Updating OpenSuse 11.0 to KDE 4.1

Filed under: computer, linux, Software — Tags: , , , — guilleml @ 5:53 pm

I read on this blog KDE 4.1 was more stable than KDE 4.0.4, the version by default in OpenSuse 11.0, I updated the mirrors to try it.

http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Desktop/openSUSE_11.0/
http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Extra-Apps/openSUSE_11.0/
http://download.opensuse.org/repositories/KDE:/KDE4:/UNSTABLE:/Community/openSUSE_11.0/

Just add them using yast2, software repositories.

After updating I restarted the xorg server and the KDE running, there wasn’t much visual difference, just some little details not very “beautiful” but not much problem. I have to say that this update solved the problem I had with kopete I wrote about in my last post, notifications are working fine now.

  • The menu for adding a new msn account in kopete was chaotic, by resizing the window the objects were shown fine, KDE 4.1 mixes languages, I suppose it’ll be solved in the final release.

Free Image Hosting at www.ImageShack.us

  • Kget doesn’t download anything, neither in 4.0.4 nor in 4.1.

Free Image Hosting at www.ImageShack.us

  • Taskbar icons have a gray border they didn’t have under 4.0.4, I don’t know how to remove it.

Free Image Hosting at www.ImageShack.us

  • Alt+Tab combination sometimes doesn’t work for changing active window, neither under 4.0.4.
  • The p4-clockmod kernel module doesn’t load at boot so I can’t change my CPU frequency if I don’t load it.
  • I haven’t disabled the pc speaker yet.
  • Konqueror4 stills doesn’t load flash objects, I haven’t found information about how to solve it, at least firefox loads them perfectly.
  • I updated Firefox 3b5 to version 3 adding the Mozilla repositories, Firefox is a little faster for it.

One thing I’ve noted is that OpenSuse 11.0 seems faster than Kubuntu/Ubuntu, on Kubuntu I can hear the hard disk everytime I run an application, now the application loads perfectly and fast without accessing so much, that was one thing I noticed when I tried *buntu, in Debian, Gentoo, Archlinux…the disk access was much like OpenSuse’s, maybe it’s for the disk scheduler, I haven’t investigated it. Oh! I discovered that you can change the kernel I/O scheduler in yast2, by default it selects cfq.

Blog at WordPress.com.