Find the answer to your Linux question:
Results 1 to 2 of 2
which process is managed keyboard layout? keyboard layout not work for one user. /home/user/.config/openbox/autostart.sh: Code: setxkbmap -layout us,ru -variant -option grp:ctrl_shift_toggle,grp_led:scroll /home/user/.xinitrc and /home/user/.xsession Code: #!/bin/bash ROTATION=right COLOR=black /usr/bin/randr -o ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! hitmany's Avatar
    Join Date
    Aug 2013
    Posts
    1

    Openbox keyboard layout


    which process is managed keyboard layout?

    keyboard layout not work for one user.

    /home/user/.config/openbox/autostart.sh:

    Code:
    setxkbmap -layout us,ru -variant -option grp:ctrl_shift_toggle,grp_led:scroll
    /home/user/.xinitrc and /home/user/.xsession
    Code:
    #!/bin/bash
    ROTATION=right
    COLOR=black
    /usr/bin/randr -o $ROTATION
    /usr/bin/xset -dpms
    /usr/bin/xset s off
    /usr/bin/xsetroot -solid $COLOR -bg $COLOR
    /usr/bin/killall iceweasel
    /usr/bin/openbox &
    /usr/bin/iceweasel
    /usr/bin/xmodmap -e 'keysym Print = BackSpace'
    part of /etc/X11/xorg.conf
    Code:
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "Keyboard"
            Option      "CoreKeyboard"
            Option      "XkbRules" "xorg"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "us,ru"
            Option      "XkbVariant"    ",winkeys"
            Option      "XkbOptions" "grp:ctrl_shift_toggle"
    EndSection
    part of Xorg.log
    Code:
     239.235] (II) This device may have been added with another device file.
    [   239.237] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [   239.237] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [   239.237] (**) AT Translated Set 2 keyboard: Applying InputClass "keyboard defaults"
    [   239.237] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [   239.237] (**) AT Translated Set 2 keyboard: always reports core events
    [   239.237] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [   239.237] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [   239.237] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [   239.237] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [   239.237] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [   239.237] (**) Option "xkb_rules" "evdev"
    [   239.237] (**) Option "xkb_model" "pc105"
    [   239.238] (**) Option "xkb_layout" "us,ru"
    [   239.238] (**) Option "xkb_variant" ",winkeys"
    [   239.238] (**) Option "xkb_options" "srvrkeys:none"
    Debian 7,xorg-full

  2. #2
    Linux User
    Join Date
    Dec 2011
    Location
    Turtle Island West
    Posts
    413
    I use xmodmap to tweak the keyboard, per user, in user's startup script.

    How does "keyboard layout not work for one user."? More details please.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •