LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE 4.1 vs laptop buttons (https://www.linuxquestions.org/questions/slackware-14/kde-4-1-vs-laptop-buttons-663904/)

lorenzost 08-19-2008 03:51 PM

KDE 4.1 vs laptop buttons
 
I'm running kde 4.1 from current and it looks really good. I have a problem, before, with 3.5, i wrote a simple script that i put in /home/user/.kde/Autostart to use some of the button of my laptop to control the volume

Code:

xmodmap -e 'keycode 176=XF86AudioRaiseVolume'
xmodmap -e 'keycode 174=XF86AudioLowerVolume'
xmodmap -e 'keycode 160=XF86AudioMute'

and it worked well.
Now with kde 4.1 it doesn't work, what can i do?

{BBI}Nexus{BBI} 08-19-2008 06:57 PM

Do you still have KDE3.5 as well? If so perhaps you should put that script in /home/user/.kde4/Autostart

armanox 08-20-2008 12:17 AM

I remember reading that the ACPI buttons (Play, Stop, Next, Mail, Browser, Standby, Suspend, etc) are still yet to be supported in KDE 4.x. I also remember reading that it is supposed to be completed for KDE 4.2 but should be backported to KDE 4.1.x. I could be wrong about this, as it's sorta late here, but, just what I remember right now.

janhe 08-20-2008 02:41 AM

you can configure them in the kde system settings tool

it's somewhere in keyboard settings, you need to configure them as shortcut keys related to kmix.
(I would give more detail, but I'm on kde 3.5 now)

lorenzost 08-20-2008 04:38 AM

Quote:

Originally Posted by {BBI}Nexus{BBI} (Post 3253220)
Do you still have KDE3.5 as well? If so perhaps you should put that script in /home/user/.kde4/Autostart

I've followed the README, so i removed kde 3.5 before installing 4.1.

Quote:

Originally Posted by armanox (Post 3253384)
I remember reading that the ACPI buttons (Play, Stop, Next, Mail, Browser, Standby, Suspend, etc) are still yet to be supported in KDE 4.x. I also remember reading that it is supposed to be completed for KDE 4.2 but should be backported to KDE 4.1.x. I could be wrong about this, as it's sorta late here, but, just what I remember right now.

I'm going to investigate about that. :study:

Quote:

Originally Posted by janhe (Post 3253481)
you can configure them in the kde system settings tool

it's somewhere in keyboard settings, you need to configure them as shortcut keys related to kmix.
(I would give more detail, but I'm on kde 3.5 now)

I tried to configure shortcuts in kmix, but it doesn't work :(

However thanks to all :)


All times are GMT -5. The time now is 08:20 PM.