Void Linux discussion
 help / color / mirror / Atom feed
* x11 and altGr [solved]
@ 2015-09-06 10:35 314ngu
  2015-09-06 14:27 ` Stefan Mühlinghaus
  0 siblings, 1 reply; 2+ messages in thread
From: 314ngu @ 2015-09-06 10:35 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]

 

I had some trouble to get my Swedish keyboard to work with the altGr-button 
in X11. 

I finely solved the issue and just wanted to share my solution.

created the dir and file:

cd /etc/X11; mkdir xorg.conf.d

cd xorg.conf.d; >30-keyboard.conf


edit the file and put the following in it:


Section "InputClass"

Identifier "Keyboard Defaults"

MatchIsKeyboard "on"

Option "XkbLayout" "se"

Option "XkbModel" "pc105"

EndSection


thanks fore an awesome dist. <3

[-- Attachment #1.2: Type: text/html, Size: 1738 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: x11 and altGr [solved]
  2015-09-06 10:35 x11 and altGr [solved] 314ngu
@ 2015-09-06 14:27 ` Stefan Mühlinghaus
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Mühlinghaus @ 2015-09-06 14:27 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 225 bytes --]

Another option without the need to edit/create global system files would be 
to use the "setxkbmap" command, usually in your .xinitrc before you call 
your window manager oder desktop environment:

setxkbmap se -model pc105


[-- Attachment #1.2: Type: text/html, Size: 668 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-06 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-06 10:35 x11 and altGr [solved] 314ngu
2015-09-06 14:27 ` Stefan Mühlinghaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).