• You are not logged in.
  • Index
  • Technical
  • How to set up Colemak as default on linux boot

    How to set up Colemak as default on linux boot

    • Started by seish
    • 3 Replies:
    • Reputation: 0
    • Registered: 25-Nov-2007
    • Posts: 1

    Hi, and thank you for making this awesome keyboard layout.

    I've been using colemak for almost an year now, but the way i had to set it up
    i have to open console and type
    setxkbmap -v colemak && xset r 66

    every time at boot and every time I switch back from bulgarian layout. Now this is pretty annoying and I want to set colemak up at startup at least.
    What I did was make a file "colemak.sh" in vim with the contents (im using Debian)

    #!/bin/bash
    setxkbmap -v colemak && xset r 66
    and saved it in /etc/X11/Xsession.d/

    Why doesn't it work? when I start X It starts with querty.

    Its very annoying to go into console every time after I type in Russian/Bulgarian and every time I boot my PC
    Don't force me to use QWERTY, please :)

    Offline
    • 0
    • Reputation: 0
    • Registered: 08-Dec-2007
    • Posts: 5

    Yes, I have this problem as well...

    The temporary solution that I have come up with is to hit the up arrow in console to select the code from when you previously entered it. It at least saves you from typing in qwerty. : )

    Offline
    • 0
    • Reputation: 2
    • From: Houston, Texas
    • Registered: 03-Jan-2007
    • Posts: 358

    It's been a few years since I worried much about any variant of Linux,  and so I could be way off, but shouldn't you be doing something with  .Xmodmap or .Xkbmap  in your home directory ?

    Maybe something like this will give you ideas.
    http://www.comptechdoc.org/os/linux/how … ndows.html
    http://tldp.org/HOWTO/Intkeyb/x53.html

    Assuming what you wrote works on the command line and paths are okay, the two most probable scenarios or either your script is not being run or something is running after. 

    Maybe obvious, but with detective work, should be possible to figure it out.

    Last edited by keyboard samurai (08-Dec-2007 19:10:20)
    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,364

    Uh, did you read the Unix/Linux FAQ? https://colemak.com/Unix

    Unless I'm mistaken, you want to edit /etc/X11/Xorg.conf to point to the right layout (making sure you have the file in place). That seemed to work fine for me in Red Hat at least.

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
      • Index
      • Technical
      • How to set up Colemak as default on linux boot