[FC3] How to do key remapping on X startup???

Alexander Dalloz ad+lists at uni-x.org
Sat Apr 16 18:32:57 UTC 2005


Am Sa, den 16.04.2005 schrieb VB um 20:19:

> Right, it isn't the first time you posted.  I tried
> putting a file in /etc/X11/xinit/xinitrc.d but how do
> I tell the system to run my new script that I placed
> in there?  It doesn't run just by putting a file in
> that directory.

It will be executed automatically by /etc/X11/xinit/xinitrc-common. You
have done something wrong if it doesn't happen. The script file is
executable?

From /etc/X11/xinit/xinitrc-common [FC3]:

# run all system xinitrc shell scripts.
for file in /etc/X11/xinit/xinitrc.d/* ; do
    if echo $file | grep -q "\.sh$" ; then
        . $file
    else
        echo "warning: $file does not end in .sh extension, ignoring"
    fi
done

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 20:28:56 up 4 days, 17:09, load average: 0.29, 0.39, 0.31 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050416/12f196b5/attachment-0001.sig>


More information about the fedora-list mailing list