Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 14:44:45 +0200
From:      Polytropon <>
To:        Christian Schmidt <>
Subject:   Re: Xorg, lightdm, xfce & German Keyboard
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 21 Jun 2020 11:04:42 +0200, Christian Schmidt wrote:
> Hi Aryeh,
> On 2020-06-21 03:08, Aryeh Friedman wrote:
> > Unless lightdm works different then other display managers (I don't use it)
> > all you should have to do is copy/symlink .xinitrc to .xsession:
> > 
> > ln -s ~/.xinitrc ~/.xsession
> Thank you.
> Unfortunately, lightdm seems to work a little bit different. This 
> doesn't change behaviour.

Verify that you have the correct invocation for setxkbmap:

	setxkbmap -rules evdev -layout de

I don't have any keybpard-related configuration file in
/usr/local/etc/X11/xorg.conf.d/, so the X server can no
longer set a keyboard layout - it's up to the user's session
initialization (~/.xinitrc for "startx", ~/.xsession for
display manager) to do this, which is very disappointing.

Sadly, this does not affect the display manager. :-(


I'm using the C shell as the default dialog shell, and
I have certain user-local environmental variables set
using "setenv" in ~/.cshrc, so I'm using this:

In ~/.xsession:

	source ~/.cshrc
	exec ~/.xinitrc

In ~/.xinitrc:

	setxkbmap -rules evdev -layout de
	xsetroot -cursor_name left_ptr
	xset r rate 250 30
	xset b 100 1000 15
	xset s off
	xset -dpms
	wbar &
	exec icewm

Note that this contains a certain amount of "cargo cult",
like the optional #! entries, but it still works. ;-)

For language support, I use the following approach:

In ~/.login_conf:


In ~/.cshrc:

	setenv  G_FILENAME_ENCODING     @locale

Vairables like $LC_ALL or $LANG or $MM_CHARSET will be
set accordingly. By magic. :-)

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>