Just A Small Guideline

Feel free to browse the site. Don't be afraid to leave comments, they're supportive.
Please follow me on Twitter @ehldmnt and retweet my posts.
Showing posts with label .xinitrc. Show all posts
Showing posts with label .xinitrc. Show all posts

Thursday, July 18, 2013

[Xorg][Tutorial] Dvorak Keyboard Map Settings In System-Wide[Archlinux]

Yet again, I've discovered an even better means of setting the keyboard layout to dvorak. Much more simple than anything that I've yet discovered. The Archwiki is such a useful place to be when you're searching for answers for a long time problem!

As root, create the file /etc/X11/xorg.conf.d/10-keyboard.conf.




Then simply add this text to the file using your favorite editor [Mine being Vim]:
 
Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard       "yes"
    Option               "XkbLayout" "dvorak"
EndSection




Then restart X (or logout and back in) and you're finished!

It even works for slim [Logging in with DVORAK at long last is possible!]:


Tuesday, April 2, 2013

Awesome-WM: How to Set Dvorak [or other keyboard layouts] as default.

In my personal experiences with AwesomeWM, I could not seem to set the DVORAK keyboard layout without messing around with the xorg.conf files, and even then it was to no avail.

As an actual solution [or in other words 'work around' to this, the ~/.xinitrc file must contain:

setxkbmap -layout dvorak [or ru, fr, etc..]

Before the line:

exec awesome

And that should solve the issue.