Archive for February, 2007

Can life be any better?

Thursday, February 15th, 2007

What could beat this? Sitting in my couch, drinking some Balvenie and listening to my new speakers that just arrived.

Damn this is good.

Making remote to Logitech S510 work in Ubuntu/KDE

Sunday, February 4th, 2007

I’m using a touch screen and Amarok as my multimedia center at home. To this computor I have a Logitech S510 with a ‘nice’ remote. I never got the remote to work before so today I sat down and made this happen.

At least, some of it. Play/pause, forward, back, volume and mute works. That’s about it actually. This is easy though, just add the folling to your .Xmodmap:
mp3@sunrise:~$ cat .Xmodmap
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop

Then execute:
xmodmap ~/.Xmodmap

After this just to go into Amaroks mapping of general shortcuts and set the new keys.
I’ll try to get some other keys on the remote to work another day. I’d like to map Presets [123] to rating or so. These keys dont give any input in showkeys or xev though so I really dont know how to do this. ;)