Re: xorg and a Sun USB Type 6 keyboard with german layout

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Mon, Apr 21, 2014 at 07:48:30PM +0200, Helge Mühlmeier wrote:
> I loaded it manually as above and now I get the numbersign (#) :-)

Cool!

> Do you know what to do to load that automaticly if I "startx"?

startx should invoke xinit which (unless you have a ~/.xinitrc) should
run /etc/X11/xinit/xinitrc. In my version of that file there is:

usermodmap=$HOME/.Xmodmap

and later:

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

Not sure why that does not work for you. You can simmply copy it over
to .xinitrc and modify it as you like (this is also where you would replace
twm with another window manager).

Another option is to use the graphical login (e.g. via setting xdm=YES
in /etc/rc.conf) and then using .xsession as the startup script.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.