You are not logged in.
Pages: 1
I was reading the wiki https://wiki.archlinux.org/index.php/Xo … d_settings to try to change my keyboard layout from "us" to "canadian-french" and I changed the keymap to dvorak, now I try to change it back but I don't know what keyboard I'm using, Xorg detected it at first and I know there is a list but I don't know which one mine is.
When I try $ setxkbmap -print -verbose 10, I get : Cannot open display "default display"
Can anyone help me set my keyboard to canadian-french, or at least back to us.
thank you
Last edited by trixrabbit (2012-12-28 02:57:29)
Offline
Are you in X, or in a console when you run this? "cannot open display" typically means you are trying to run a command in a console when that command only works in X.
Offline
oh I was in console, I'll try again in X.
Also with more research, I found this : http://betabug.ch/blogs/ch-athens/1242
and it worked, thank you.
EDIT: I am able to change the keyboard layout for the current session but it doesn't save when I reboot. so I tried https://wiki.archlinux.org/index.php/Xo … d_settings but I can't figure out what is the hot pluggin.
I tried creating 10-keyboard.conf with
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "ca"
EndSectionand I get the error : MatchIsKeyboard is not a valid keyword in this section, removing it gives an error saying a need a driver line.
help please
Last edited by trixrabbit (2012-12-25 09:30:53)
Offline
do i have to download a pluggin for it to work, thank you,
Offline
Xorg keyboard layouts do not work in the console, because, well, Xorg isn't running.
The keyboard layout for the console (i.e. the tty, shell, whatever you wanna call it) is called a keymap.
https://wiki.archlinux.org/index.php/Be … and_keymap
PS: No, you don't need a plugin.
Come on. This isn't the first time you heard of the term hot plugging. See the Wikipedia link from here. You probably just forgot. As an example, SATA drives are hot pluggable (meaning you can plug them in while the computer is running, without the need for a restart).
Last edited by DSpider (2012-12-26 09:57:12)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
My console layout is fine, it's really the urxvt terminal language that is US and needs to be CA..but I think you answered my question.
oh wow, ya I had forgotten about hot pluggin, thanks for reminding me. I guess that since i'm using a thinkpad t61 they keyboard isn't hot-plugging since it's built in so maybe I need change my 10-keyboard.conf according to that.
I'll try that, thank you.
Offline
In the link from the original post there's a note:
Note: If you use GNOME, these settings will be ignored.
So which DE/WM are you using?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Canadian French:
In console:
loadkeys cfIn xorg.conf (or xorg.conf.d/10-evdev.conf):
Option "XkbLayout" "ca"
Option "XkbVariant" "fr"Works perfectly fine for me, at least ![]()
Offline
alright thanks, I'll try that.
Using openbox standalone
Offline
In the link from the original post there's a note:
Note: If you use GNOME, these settings will be ignored.
So which DE/WM are you using?
perfect answer! thank you !
Offline
Pages: 1