You are not logged in.

#1 2008-06-23 23:46:25

boneyjellyfish
Member
Registered: 2007-06-22
Posts: 12

Having difficulty with keytouch

I posted this thread in Laptop Issues here but it seems now like this is a better place for this.

Basically, I'm trying to configure the extra buttons on my laptop, but keytouch is only allowing me to use the media control buttons (play/pause, previous, next, and stop), rather than what I consider the more important volume control buttons. If I switch to another configuration in keytouch, however, and then switch back, then occasionally my volume buttons will magically work and a nifty little OSD will pop up whenever I press them. They revert back to non-working condition as soon as I reboot, however.

Here is my configuration file. I'm currently using a combination of keytouch and esekeyd, because keytouch lets me use my media player buttons (but not my volume) and esekeyd allows me to use my volume (but not my media player buttons for some reason). I have keytouch started as a daemon and it also autostarts with Xfce.

<keyboard>
  <file-info>
    <syntax-version>1.1</syntax-version>
    <last-change format="%d-%m-%Y">20-06-2008</last-change>
    <author></author>
  </file-info>
  <keyboard-info>
    <keyboard-name>
      <manufacturer>Dell</manufacturer>
      <model>Vostro1500</model>
    </keyboard-name>
  </keyboard-info>
  <key-list>
    <key>
      <name>Mute</name>
      <scancode>160</scancode>
      <keycode>MUTE</keycode>
      <default-action action-type="plugin">
        <plugin-name>Amixer</plugin-name>
        <plugin-function>Mute</plugin-function>
      </default-action>
    </key>
    <key>
      <name>Volume Down</name>
      <scancode>174</scancode>
      <keycode>VOLUMEDOWN</keycode>
      <default-action action-type="plugin">
        <plugin-name>Amixer</plugin-name>
        <plugin-function>Volume decrease</plugin-function>
      </default-action>
    </key>
    <key>
      <name>Volume Up</name>
      <scancode>176</scancode>
      <keycode>VOLUMEUP</keycode>
      <default-action action-type="plugin">
        <plugin-name>Amixer</plugin-name>
        <plugin-function>Volume increase</plugin-function>
      </default-action>
    </key>
    <key>
      <name>Play/Pause</name>
      <scancode>162</scancode>
      <keycode>PLAYPAUSE</keycode>
      <default-action>audacious -t</default-action>
    </key>
    <key>
      <name>Previous song</name>
      <scancode>144</scancode>
      <keycode>PREVIOUSSONG</keycode>
      <default-action>audacious -r</default-action>
    </key>
    <key>
      <name>Next song</name>
      <scancode>153</scancode>
      <keycode>NEXTSONG</keycode>
      <default-action>audacious -f</default-action>
    </key>
    <key>
      <name>Stop CD</name>
      <scancode>164</scancode>
      <keycode>STOPCD</keycode>
      <default-action>audacious -s</default-action>
    </key>
  </key-list>
</keyboard>

Although everything pretty much works as is, I'd really like to fix this in order to be able to run just one program and also to have a nifty OSD so checking the volume is easier.

*edit*

I should add that I tried oliwer's solution in the previous thread (autostarting xmodmap ~/.Xmodmap), but that was ineffective.

Last edited by boneyjellyfish (2008-06-23 23:59:23)

Offline

#2 2008-06-24 01:31:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Having difficulty with keytouch

The way I use keytouch is with keytouch in the DAEMONS array of rc.conf and with:
/etc/X11/Xsession
in my ~/.xsession
Is it  what you do? And how do you start xfce4?

Offline

#3 2008-06-24 02:04:25

boneyjellyfish
Member
Registered: 2007-06-22
Posts: 12

Re: Having difficulty with keytouch

Snowman wrote:

The way I use keytouch is with keytouch in the DAEMONS array of rc.conf and with:
/etc/X11/Xsession
in my ~/.xsession
Is it  what you do? And how do you start xfce4?

I have keytouch in my DAEMONS array and I put keytouchd in my autostarted applications. xfce is started with "exec startxfce4" in my .xinitrc file.

Offline

#4 2008-06-24 06:34:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Having difficulty with keytouch

try removing keytouchd from your autostarted applications and add:
/etc/X11/Xsession
to your .xinitrc

Offline

#5 2008-06-24 16:18:23

boneyjellyfish
Member
Registered: 2007-06-22
Posts: 12

Re: Having difficulty with keytouch

Thanks, that did it! Now, is there any way to move the OSD so it's not right in the middle, but rather in a corner of my screen?

Offline

Board footer

Powered by FluxBB