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

? GDM & xmodmap



Ciao,
I use GDM and I would like to setup my keyboard from the beginning (since
gdmgreetings).

Where is the "right" place to put:
/usr/X11R6/bin/xmodmap /etc/X11/Xmodmap &
/usr/bin/setleds +nums &

?

I have tryed:

/etc/gdm$ cat Init/Default
#!/bin/sh

# Use the Init/* script for programs that are supposed to run alongside with
# the GDM login window,  xconsole for instance.
# Commands to set the background etc. goes in this file too.

/usr/X11R6/bin/xconsole -geometry 700x230+0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
/usr/bin/setleds +nums &
/usr/X11R6/bin/xmodmap /usr/X11/Xmodmap-niels &
/usr/bin/play /usr/local/dati/audio/wav/2001_hal9000.wav &
/usr/X11R6/bin/xfishtank &

but it doesn't work.

/etc/gdm$ cat PreSession/Default
#!/bin/sh
/usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY $USER
/usr/bin/setleds +nums
/usr/X11R6/bin/xmodmap /usr/X11/Xmodmap-niels
/usr/bin/play /usr/local/dati/audio/wav/2001_willidream.wav &

neither...

May be in Session/Default ?

BTW .... "man gdm" says:

       The full gdm manual is installed as /usr/doc/gdm/gdm-
       manual.txt.gz on your system. 

but it isn't there (neither in /usr/share/doc/gdm)
In which .deb is it?

And... setleds doesen't works under X.
I have tried "xset led n", but ... with which 'n' ? :-)

TNX

-- 

Paolo Pedaletti, Como, ITALYa
paolo . pedaletti @ flashnet . it

pub  1024D/09120D83 1999-06-11 Paolo Pedaletti (Linux) <paolo.pedaletti@flashnet.it>
     Key fingerprint = 0058 45AE B7D3 D603 7D0E  D9B8 26E6 01E0 0912 0D83
sub  2048g/F0A8E667 1999-06-11


Reply to: