New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dvorak layout not recognized at startup #128
Comments
spectrwm maps keys based on the keyboard layout when it starts. Make sure the dvorak layout is active before spectrwm starts. |
I thought that might have been the reason and I added setxkbmap -layout us -variant dvorak at the beginning of my .xinitrc (I use the startx method) but it didn't help. |
A simple "sleep 5" in my .xinitrc right before spectrwm "solved" the problem for me. Probably not the best solution but good enough for me. Thanks for your work and the help. |
that's awful... why does the key layout not complete before spectrwm? |
why would
not solve the problem? |
that's what I said. What is happening in that script? |
I have no idea to be honest. My .xinitrc looks like this (I'm on a different machine at the moment but it's simple enough I can remember it). At first it was looking like this:
Notice that I didn't have to specify the dvorak layout, OpenBSD took care of the X configurations during installation. Then I tried to specify the layout anyway, but it didn't work. It looked like this:
This is by the way the same .xinitrc I was using with Arch Linux and had no problems there. Finally I removed
Five seconds is probably too much, it's just for testing. I can probably reduce it. Is there anything wrong in my .xinitrc? |
are you using startx or xdm? if you are using xdm then link your .xinitrc to .xsession |
I use startx |
that looks correct. I need to use sleep for certain things, such as transset-df on new xterms. I think that is a normal thing with X. |
I had to reboot my system a few times yesterday and noticed that even with |
Is system-wide an option? Add this to your xorg.conf?
|
Thank you for your patience, I really appreciate it. I found something that works, I restarted X many times to be sure it works 100% of the time and here it is, basically the same as before but
|
Openbsd 5.9 -stable, Spectrwm 2.7.2
When Spectrwm starts up the first time it doesn't recognize that I'm using the Dvorak layout. A restart is required for it to function properly.
The text was updated successfully, but these errors were encountered: