Dear All,

My application requires to run a script at boot-time.This script basically has just two commands.


1.) loadkeys /lib/kbd/keymaps/i386/qwerty/defkeymap.map

This command is used to load the modified map file for keyboards in console mode.Using this command we can make the
keyboard behave in desirable way.


2.) xmodmap /etc/X11/Xmodmap

This command is used to load the modified map file for keyboards in GUI mode.Using this command we can make the
keyboard behave in desirable way.

However, the modified mappings which I load using these commands remain valid until the system is not re-booted.
Once the system is rebooted the default mappings get loaded.

Is there any method , so that these mappings remain valid ,everytime the m/c boots up.
I tried putting these commands in a script and then calling this script through rc.local.
but the xmodmap command is getting failed ,as the X terminal has't loaded at the time of execution of this script.Is there any other way through which I can call these commands after the X terminal gets loaded.

waiting for a timely response

Thanks
Arun Tayal