[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]