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

From: VB (vboyt_at_yahoo.com)
Date: 04/16/05

  • Next message: Gustavo Seabra: "Re: Local mail issue. What did I do here?"
    Date: Sat, 16 Apr 2005 11:46:23 -0700 (PDT)
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    --- Alexander Dalloz <ad+lists@uni-x.org> wrote:
    > 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
    > > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe:
    http://www.redhat.com/mailman/listinfo/fedora-list

    Yes it's executable...I'll try again and get back.

    BTW in response to your statement that you think
    xmodmap only gets run when xdm is used, I mentioned in
    previous posts that the xmodmap command is being
    issued from xinitrc-common as far as I can tell
    because I wrapped the statement where xmodmap runs
    ~/.Xmodmap and the two statements wrapping the
    'xmodmap ~/.Xmodmap' statement both are run.

    For example, I changed the code in xinitrc-common to
    something like:

    touch /root/something
    xmodmap <user's home dir>/.Xmodmap
    touch /root/something2

    then I come into /root and see the two files.

                    
    __________________________________
    Yahoo! Mail Mobile
    Take Yahoo! Mail with you! Check email on your mobile phone.
    http://mobile.yahoo.com/learn/mail

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Gustavo Seabra: "Re: Local mail issue. What did I do here?"

    Relevant Pages

    • Re: Key mapping using <Alt> + [ , etc.
      ... > This works allright but is a rather primitive solution, ... > run the script each time I want to change the mappings. ... have to map a key to it[which may turn out to be just as ugly as your ... I just have a .xmodmap file[ie commands between the ...
      (Debian-User)
    • Proper place to put xmodmap and stuff?
      ... what is the proper place to put xmodmap and other X related stuff, ... XMODIFIER environment variable and starting a XIM server in the ... An other places I can put the script? ... PGP/GnuPG key: 1024D/685D1E8C ...
      (Debian-User)
    • Re: change keyboard repeat rate
      ... If debian has an xset built into one of the scripts they supply... ... The default xinitrc script then looks for user-defined files and default ... system files, including .Xresources, .Xmodmap, and .Xkbmap in the user's ...
      (comp.os.linux.misc)