---
name: "nonlock"
section: "1"
platform: "linux"
package: "nonlock"
version: "1.7-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/nonlock"
---

# nonlock(1)

XKB keyboard switcher for Thai keyboard

## NAME

nonlock - XKB keyboard switcher for Thai keyboard

## SYNOPSIS

**nonlock**

## DESCRIPTION

This manual page documents briefly the **nonlock** commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

You have to set up XKB correctly in order that nonlock will function.

For XFree 86 3.3.x :

In /etc/X11/XF86Config, section "Keyboard", at least you should have 3 lines like this,

     XkbKeymap       "xfree86(th)"\
\
      XkbModel        "pc101"\
\
      XkbLayout       "th"

or more lines like this,

     LeftAlt         Meta\
\
      RightAlt        Meta\
\
      ScrollLock      Compose\
\
      RightCtl        Control\
\
      XkbKeycodes     "xfree86"\
\
      XkbTypes        "default"\
\
      XkbCompat       "default"\
\
      XkbSymbols      "us(pc101)"\
\
      XkbGeometry     "pc"\
\
      XkbKeymap       "xfree86(th)"\
\
      XkbRules        "xfree86"\
\
      XkbModel        "pc101"\
\
      XkbLayout       "th"

For XFree 86 4.0.x :

In /etc/X11/XF86Config, section "InputDevice", at least you should have 3 lines like this,

     Option    "XkbKeymap"       "xfree86(th)"\
\
      Option    "XkbModel"        "pc101"\
\
      Option    "XkbLayout"       "th"

or more lines like this,

     Option    "LeftAlt"         "Meta"\
\
      Option    "RightAlt"        "Meta"\
\
      Option    "ScrollLock"      "Compose"\
\
      Option    "RightCtl"        "Control"\
\
      Option    "XkbKeycodes"     "xfree86"\
\
      Option    "XkbTypes"        "default"\
\
      Option    "XkbCompat"       "default"\
\
      Option    "XkbSymbols"      "us(pc101)"\
\
      Option    "XkbGeometry"     "pc"\
\
      Option    "XkbKeymap"       "xfree86(th)"\
\
      Option    "XkbRules"        "xfree86"\
\
      Option    "XkbModel"        "pc101"\
\
      Option    "XkbLayout"       "th"\

## AUTHOR

This manual page was written by Chanop Silpa-Anan \<chanop@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
