Good day,...

I'm using acerhk to get the special key codes (multimedia keys) .
As far as i know hotkeys is the application for running special application
on key strokes.

I created a file with running atributes in /usr/bin : my_hotkeys :
cat /usr/bin/my_hotkeys
hotkeys -t acer5102


at first i added this file in /etc/profile (so it will run on each user
login) - it did load to memory but it didn't catch any keystrokes (didn't do
what it sposed to do).

Then i added a symlink in ~/.kde/Autorun but it only opened kwrite with the
contense of /usr/bin/my_hotkeys
After this i tried to create generic X file :

notebook:/etc/X11/Xsession.d# ls -l startup-local
-rwxr-xr-x 1 root root 35 2008-05-25 18:36 startup-local
notebook:/etc/X11/Xsession.d# cat startup-local
#!/bin/sh

/usr/bin/my_hotkeys &

notebook:/etc/X11/Xsession.d# cat /usr/bin/my_hotkeys
hotkeys -t acer5102

so teorticly it should run on each login (it didn't even load ).
so i tried using a local xseason file :

notebook:/home/jabka# ls -l .xsession
-rwxr-xr-x 1 jabka jabka 35 2008-05-25 18:47 .xsession
notebook:/home/jabka# cat .xsession
#!/bin/sh

/usr/bin/my_hotkeys &

the last option i used was adding my_hotkeys into .bashrc but this method
has a major flaw (on each time i login to bash or open the konsole the
application is loaded),

Regards,...
  Thank you in advance

Reply via email to