[Solved]switch my keyboard layout (also, how to unify clipboard?)

ok, i want to switch between us and us intl layout. After reading the Xorg page in the great Arch Wiki i maded
a file called "11-switchkb.conf" in my xorg folder and writed into it:
Section "InputClass"
       Identifier                         "Keyboard Defaults"
       MatchIsKeyboard            "yes"
       Option                             "XkbLayout" "us, us intl"
       Option                             "XkbOptions" "grp:caps_toggle"
EndSection
and i happyli restared my X and... My keyboard stopped working ( i had to brute shutdown my notebook holding power button)
I also tried 10-switchkb.conf and didnt worked.  What im doing wrong?
My second question i dont know how to explain it right... Im confused about copy and paste in linux, and it's seems weird for me,
sometimes it works sometimes it doesnt...
like when i highlight something in uzbl i can paste with shift+insert but
only while its highlighted. Sometimes i highlight what i want in vim and, even while its still highlighted, when i do shift+insert
in some other app it doesnt paste anything. and when i highlight in vim and paste in the same vim whith shift+insert it pastes
with a crazy indentation, but when i yank and paste it with 'p' it pastes correctly.
Is there a way to "unify" clipboard, in such a way i can copy-paste without trouble from any app to any other app?
Last edited by wolfspaw (2010-09-13 16:03:28)

Thanks for the help guys!
Great answers, that was exactly what i wanted for my clipboard and Vim! (I'll read about buffers).
stqn : Nice script, i'll try to bind it to xMonad.
Karol: I can solve the issue with sqn script but im curious to why my X
does not detect my keyboard when i use the Xorg Arch Wiki way of
Layout Switch:
Here is my Xorg.0.log after trying the swi(the last third of it.):
(my touchpad is detected as a mouse, but it works great) :
[ 29619.012] (II) Initializing built-in extension Generic Event Extension
[ 29619.012] (II) Initializing built-in extension SHAPE
[ 29619.012] (II) Initializing built-in extension MIT-SHM
[ 29619.012] (II) Initializing built-in extension XInputExtension
[ 29619.012] (II) Initializing built-in extension XTEST
[ 29619.012] (II) Initializing built-in extension BIG-REQUESTS
[ 29619.012] (II) Initializing built-in extension SYNC
[ 29619.012] (II) Initializing built-in extension XKEYBOARD
[ 29619.012] (II) Initializing built-in extension XC-MISC
[ 29619.012] (II) Initializing built-in extension SECURITY
[ 29619.012] (II) Initializing built-in extension XINERAMA
[ 29619.012] (II) Initializing built-in extension XFIXES
[ 29619.012] (II) Initializing built-in extension RENDER
[ 29619.012] (II) Initializing built-in extension RANDR
[ 29619.012] (II) Initializing built-in extension COMPOSITE
[ 29619.012] (II) Initializing built-in extension DAMAGE
[ 29619.023] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 29619.023] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 29619.023] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 29619.023] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 29619.023] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 29619.023] (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i965_dri.so
[ 29619.023] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 29619.024] (II) intel(0): Setting screen physical size to 361 x 203
[ 29619.211] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[ 29619.211] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 29619.211] (**) Power Button: Applying InputClass "Keyboard Defaults"
[ 29619.211] (II) LoadModule: "evdev"
[ 29619.211] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 29619.212] (II) Module evdev: vendor="X.Org Foundation"
[ 29619.212]     compiled for 1.8.1.902, module version = 2.4.0
[ 29619.212]     Module class: X.Org XInput Driver
[ 29619.212]     ABI class: X.Org XInput driver, version 9.0
[ 29619.212] (**) Power Button: always reports core events
[ 29619.212] (**) Power Button: Device: "/dev/input/event5"
[ 29619.220] (II) Power Button: Found keys
[ 29619.220] (II) Power Button: Configuring as keyboard
[ 29619.220] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 29619.220] (**) Option "xkb_rules" "evdev"
[ 29619.220] (**) Option "xkb_model" "evdev"
[ 29619.220] (**) Option "xkb_layout" "us, us intl"
[ 29619.220] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.259] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[ 29619.259] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 29619.259] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[ 29619.259] (**) Video Bus: always reports core events
[ 29619.259] (**) Video Bus: Device: "/dev/input/event8"
[ 29619.267] (II) Video Bus: Found keys
[ 29619.267] (II) Video Bus: Configuring as keyboard
[ 29619.267] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
[ 29619.267] (**) Option "xkb_rules" "evdev"
[ 29619.267] (**) Option "xkb_model" "evdev"
[ 29619.267] (**) Option "xkb_layout" "us, us intl"
[ 29619.267] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.271] (II) config/udev: Adding input device Lid Switch (/dev/input/event4)
[ 29619.271] (II) No input driver/identifier specified (ignoring)
[ 29619.271] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[ 29619.271] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 29619.271] (**) Sleep Button: Applying InputClass "Keyboard Defaults"
[ 29619.271] (**) Sleep Button: always reports core events
[ 29619.271] (**) Sleep Button: Device: "/dev/input/event3"
[ 29619.280] (II) Sleep Button: Found keys
[ 29619.280] (II) Sleep Button: Configuring as keyboard
[ 29619.280] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[ 29619.280] (**) Option "xkb_rules" "evdev"
[ 29619.280] (**) Option "xkb_model" "evdev"
[ 29619.280] (**) Option "xkb_layout" "us, us intl"
[ 29619.280] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.283] (II) config/udev: Adding input device USB2.0 0.3M UVC WebCam (/dev/input/event7)
[ 29619.283] (**) USB2.0 0.3M UVC WebCam: Applying InputClass "evdev keyboard catchall"
[ 29619.283] (**) USB2.0 0.3M UVC WebCam: Applying InputClass "Keyboard Defaults"
[ 29619.283] (**) USB2.0 0.3M UVC WebCam: always reports core events
[ 29619.283] (**) USB2.0 0.3M UVC WebCam: Device: "/dev/input/event7"
[ 29619.290] (II) USB2.0 0.3M UVC WebCam: Found keys
[ 29619.290] (II) USB2.0 0.3M UVC WebCam: Configuring as keyboard
[ 29619.290] (II) XINPUT: Adding extended input device "USB2.0 0.3M UVC WebCam" (type: KEYBOARD)
[ 29619.290] (**) Option "xkb_rules" "evdev"
[ 29619.290] (**) Option "xkb_model" "evdev"
[ 29619.290] (**) Option "xkb_layout" "us, us intl"
[ 29619.290] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.296] (II) config/udev: Adding input device Asus Laptop extra buttons (/dev/input/event6)
[ 29619.296] (**) Asus Laptop extra buttons: Applying InputClass "evdev keyboard catchall"
[ 29619.296] (**) Asus Laptop extra buttons: Applying InputClass "Keyboard Defaults"
[ 29619.296] (**) Asus Laptop extra buttons: always reports core events
[ 29619.296] (**) Asus Laptop extra buttons: Device: "/dev/input/event6"
[ 29619.310] (II) Asus Laptop extra buttons: Found keys
[ 29619.310] (II) Asus Laptop extra buttons: Configuring as keyboard
[ 29619.310] (II) XINPUT: Adding extended input device "Asus Laptop extra buttons" (type: KEYBOARD)
[ 29619.310] (**) Option "xkb_rules" "evdev"
[ 29619.310] (**) Option "xkb_model" "evdev"
[ 29619.310] (**) Option "xkb_layout" "us, us intl"
[ 29619.310] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.311] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 29619.311] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 29619.311] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard Defaults"
[ 29619.311] (**) AT Translated Set 2 keyboard: always reports core events
[ 29619.311] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 29619.323] (II) AT Translated Set 2 keyboard: Found keys
[ 29619.324] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[ 29619.324] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[ 29619.324] (**) Option "xkb_rules" "evdev"
[ 29619.324] (**) Option "xkb_model" "evdev"
[ 29619.324] (**) Option "xkb_layout" "us, us intl"
[ 29619.324] (**) Option "xkb_options" "grp:caps_toggle"
[ 29619.324] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event2)
[ 29619.324] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[ 29619.324] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[ 29619.324] (II) LoadModule: "synaptics"
[ 29619.325] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 29619.325] (II) Module synaptics: vendor="X.Org Foundation"
[ 29619.325]     compiled for 1.8.0.902, module version = 1.2.2
[ 29619.325]     Module class: X.Org XInput Driver
[ 29619.325]     ABI class: X.Org XInput driver, version 9.0
[ 29619.325] (II) Synaptics touchpad driver version 1.2.2
[ 29619.325] (**) Option "Device" "/dev/input/event2"
[ 29619.363] (II) ETPS/2 Elantech Touchpad: x-axis range 8 - 1144
[ 29619.364] (II) ETPS/2 Elantech Touchpad: y-axis range 8 - 760
[ 29619.364] (II) ETPS/2 Elantech Touchpad: device does not report pressure, will use touch data.
[ 29619.364] (II) ETPS/2 Elantech Touchpad: finger width range 0 - 0
[ 29619.364] (II) ETPS/2 Elantech Touchpad: buttons: left right double triple
[ 29619.364] (**) Option "TapButton1" "1"
[ 29619.364] (**) Option "TapButton2" "2"
[ 29619.364] (**) Option "TapButton3" "3"
[ 29619.390] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 29619.390] (**) ETPS/2 Elantech Touchpad: always reports core events
[ 29619.403] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD)
[ 29619.404] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[ 29619.404] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 0
[ 29619.404] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[ 29619.404] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[ 29619.430] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 29619.431] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[ 29619.431] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[ 29619.431] (II) Synaptics touchpad driver version 1.2.2
[ 29619.837] ETPS/2 Elantech Touchpad no synaptics event device found
[ 29619.837] (**) Option "Device" "/dev/input/mouse0"
[ 29619.850] (**) Option "TapButton1" "1"
[ 29619.850] (**) Option "TapButton2" "2"
[ 29619.850] (**) Option "TapButton3" "3"
[ 29619.871] Query no Synaptics: 6003C8
[ 29619.871] (--) ETPS/2 Elantech Touchpad: no supported touchpad found
[ 29619.871] (EE) ETPS/2 Elantech Touchpad Unable to query/initialize Synaptics hardware.
[ 29619.910] (EE) PreInit failed for input device "ETPS/2 Elantech Touchpad"
[ 29619.910] (II) UnloadModule: "synaptics"
[ 29619.911] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[ 29619.911] (II) No input driver/identifier specified (ignoring)
[ 29672.057] (II) Power Button: Close
[ 29672.057] (II) UnloadModule: "evdev"
[ 29672.077] (II) Video Bus: Close
[ 29672.077] (II) UnloadModule: "evdev"
[ 29672.097] (II) Sleep Button: Close
[ 29672.097] (II) UnloadModule: "evdev"
[ 29672.117] (II) USB2.0 0.3M UVC WebCam: Close
[ 29672.117] (II) UnloadModule: "evdev"
[ 29672.137] (II) Asus Laptop extra buttons: Close
[ 29672.137] (II) UnloadModule: "evdev"
[ 29672.157] (II) AT Translated Set 2 keyboard: Close
[ 29672.157] (II) UnloadModule: "evdev"
[ 29672.190] (II) UnloadModule: "synaptics"

Similar Messages

  • Unwanted switch of keyboard layouts

    I have created a new keyboard layout file for german Dvorak typing. The .keylayout file was placed in the keyboard layouts folder and after that I enabled the new layout within the system preferences.
    So far everything works fine. In some applications my layout switches back to the last system keyboardlayout without any coment or warning. It happens also, when passwords are needed. In Ical I can edit an event completely in Dvorak until i hit the date an time fields. Then the layout switches to the last System Layout, that was selected before.
    I tried to move the layout into the system keyboard layouts folder, but with no effect. The packages that come with OS X contain also a variety of different layouts (.keylayout files). When I try to use a "original" .keylayout file ( like US extended.keylayout) the effect persists. I have no idea how to resolve this problem, as the original apple files also fail to work properly.
    I will try another user profile as a last test.
    Any Ideas?
    Macbook Pro   Mac OS X (10.4.7)  

    If I select from the mathematic symbols, no
    character will be typed by the keylayout generated by
    Ukelele.
    That's because the mathematical symbols range cannot be handled in a Roman layout, only in a Unicode layout. In a Roman layout you must use the ascii versions. I would try using a Roman custom layout that you have not had to change via BBEdit and see if you have the same problem. Adding non-Roman characters to a layout which is supposed to be Roman could cause problems. Also make sure you give the layout a keyboard ID which is unlikely to be used by any other layout.
    Is there some reason you cannot use the ascii ><? These are what are normally used rather than the special Unicode versions.
    <div class="jive-quote">The characters generated are different from the ones created by the original German Layout.
    Could you explain that in more detail?

  • TestStand 2010 SP1 - Expression switches the keyboard layout

    Hello,
    we are switching from TestStand 2010 to TestStand 2010 SP1, and today I noticed the follow behavior.
    If I place the cursor in an Expression of a step, the keyboard layout switches from german (DE) to englisch (US).
    You can imagine that's very unfavorable to program.The problem occurs on several machine running WindowsXP.
    Funnily enough on a pc with Win7, all is looking good. Furthermore I can't discover such behavior on previous versions of TestStand.
    Has somebody an idea?
    Thanks in advance
    Carsten
    Solved!
    Go to Solution.

    Hi Manooch
    Thanks for pointing out this workaround.
    This is working well on TS4.5.1  XP maschines
    Regards
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
    Attachments:
    WorkaroundKeyboard.seq ‏5 KB

  • [SOLVED] setting X keyboard layout

    Hello!
    I would like to set my X "keyboard layout" as is dictated here.
    I created a file "/etc/X11/xorg.conf.d/10-tipkovnica.conf" which i wrote like this:
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "si"
    Option "XkbVariant" "alternatequotes"
    EndSection
    When i wrote this i tried to check if it works, but when i type in command
    setxkbmap -print -verbose 10
    i get an error:
    Setting verbose level to 10
    Cannot open display "default display"
    How can i solve this?
    Last edited by 71GA (2012-10-09 16:59:52)

    2ManyDogs wrote:
    71ga wrote:     I am doing it in a console.
    I thought so. That's why it's not working. You need to be in X (that's what "Cannot open display default display" means).
    Thank you and LOL about the REPORT. Sorry moderator.

  • [solved] Gnome default keyboard layout

    Hi guys,
    Can anybody please explain me why the following command works but the corresponding .conf entry does not?
    setxkbmap -layout "us,pl,de" -option "grp:alt_shift_toggle"
    [orschiro@thinkpad ~]$ cat /etc/X11/xorg.conf.d/01-keyboard-layout.conf
    Section "InputClass"
    Identifier "keyboard"
    MatchIsKeyboard "yes"
    Option "XKBMODEL" "pc105"
    Option "XkbLayout" "us,pl"
    Option "XkbVariant" "altgr-intl,"
    Option "XkbOptions" "grp:alt_shift_toggle"
    EndSection
    When using the .conf entry simply nothing happens.
    Regards
    EDIT
    I was able to identify my problem. See the following:
    The above .conf does not work since Gnome seems to fetch a default US keyboard layout from somewhere which I cannot figure out where it is. Without any invocation from my side Gnome assumes this US keyboard. However, I do not want to us the default US keyboard layout but the altgr-intl option.
    Screenshot
    So as a workaround I have to run setxkbmap -layout us -variant altgr-intl after Gnome had started. But I would like to understand how Gnome assigns the default keyboard layouts.
    Last edited by orschiro (2013-06-26 07:57:29)

    I still do not understand where the default keyboard layout is taken from. However, I use a workaround and created a file .keyboard in my home directory which is launched after startup of Gnome and changes the layouts according to my setkxbmap settings.
    More information.
    Regards

  • FileVault keyboard Layout US - How to change?

    How can I change the keyboard layout from US to DE for the boot password (FileVault)?

    I found somthing in this Communitie
    german: http://www.loggn.de/osx-filevault-2-falsches-kennwort-tastaturlayout-auf-dem-anm eldefenster/
    english: http://translate.google.com/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&la yout=2&eotf=1&u=http%3A%2F%2Fwww.loggn.de%2Fosx-filevault-2-falsches-kennwort-t a staturlayout-auf-dem-anmeldefenster%2F&act=url

  • [SOLVED]Per window keyboard layout

    What is the right way to have per-window keyboard layout? The layouts are configured via /etc/hal/fdi/policy/10-keymap.fdi. No gnome/kde - just xmonad.
    Last edited by Mr.Cat (2009-10-26 20:51:25)

    Seems, I'll have to answer this question myself. One way is to use xxkb. You should start it when your system starts (e.g. in .xinitrc). Its config (~/.xxkbrc) might look like this:
    XXkb.controls.two_state: no
    XXkb*label.text.1: E
    XXkb*label.text.2: R
    XXkb*label.text.3: H
    XXkb.mainwindow.type: tray
    XXkb.mainwindow.label.enable: yes
    XXkb.mainwindow.enable: yes
    XXkb.mainwindow.appicon: no
    XXkb.mainwindow.geometry: 12x14+0+0
    XXkb.mainwindow.label.background: black
    XXkb.mainwindow.label.foreground: white
    XXkb.mainwindow.label.font: xft:Monospace-11
    XXkb.button.enable: no
    Check out man xxkb for further information.
    Last edited by Mr.Cat (2009-10-25 22:26:34)

  • I want to purchase a Macbook Pro overseas for the keyboard layout and set the OS to English, but if I do so, would the keyboard layout also switch to English? Can I set the foreign layout as default?

    I would assume that changing the default keyboard so that I can use the proper corresponding one is possible, but I would just like to make sure before I buy one.
    Thanks in advance.

  • How come my Adobe Illustrator CC does not recognize my keyboard layout ? How can I make it do that ?

    I have an Azerty keyboard, and the Illustrator CC defaults to Qwerty.

    jpbattaille,
    This may be one for Creative Cloud support (all Creative Cloud customer service issues),
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    or for this specialized forum (where you may be able find the answer from previous threads),
    http://forums.adobe.com/community/download_install_setup
    or for Adobe Support (phone),
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • [SOLVED]Keyboard layout messy after wake up or using KVM-switch

    After waking up the computer from suspension or using my KVM-switch, the keyboard layout is pretty messed up.
    "qwertzuiopü+" becomes ".,ñpyfgchl"
    "asdfghjklöä#" becomes "aoeuidrtnsḉ"
    "<yxcvbnm,.-" becomes "<-qjkxbmwvz"
    I know the origin of the problem is that XKB is only set by my .xinitrc. But how can I bypass this? How can I set XKB with the German layout by default?
    Last edited by Dun (2015-01-21 13:41:50)

    alphaniner wrote:
    Try a conf file in /etc/X11/xorg.conf.d. Here's mine:
    $ cat /etc/X11/xorg.conf.d/00-keyboard.conf
    # Read and parsed by systemd-localed. It's probably wise not to edit this file
    # manually too freely.
    Section "InputClass"
    Identifier "system-keyboard"
    Driver "evdev"
    Option "XkbLayout" "carpalx"
    Option "XkbOptions" "ctrl:swapcaps"
    EndSection
    Ah thank you very much!

  • Xfce4 keyboard layout switcher

    I am having a strange issue with setting up xfce4 on my fathers' laptop. Every time I switch the keyboard layout, the x terminal emulator start acting weird:
    [jarda-wien@primator ~]$ whoami
    jarda-wien
    [jarda-wien@primator ~]$ echo hello
    bash: echo hello: command not found
    [jarda-wien@primator ~]$ ping www.google.com
    bash: ping www.google.com: command not found
    [jarda-wien@primator ~]$ echo $PATH
    bash: echo /bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin: No such file or directory
    Before switching the keyboard, everything works fine... As this doesn't happen on virtual terminal, it may be an xorg/xfce issue. What do you make of it?

    ok so I've made a workaround for that... The problem seems to be not only xfce4 related as the same behavior can be seen on yakuake running on xfce4 and every other terminal emulator I have tried, as well as on openbox and all the terminals. Anyway, here's the fix:
    Remove any
    Option "XkbLayout" "us,cz"
    Option "XkbOptions" "grp:alt_shift_toggle"
    and install xbindkeys from extra.
    Next edit and save the following script somewhere:
    #!/bin/bash
    # Put your desired layouts, space separated, between the brackets
    layout=(us de cz)
    # Main code, do not change, unless you know what you're doing
    current=$( setxkbmap -print | grep -o 'pc+[a-zA-Z0-9_-/]*' | sed 's/pc+//' )
    num=${#layout[@]}
    i=0
    for use in ${layout[@]} ; do
    i=$[ i + 1 ]
    if [[ $current = $use ]] ; then
    if [[ $i -eq $num ]] ; then
    setxkbmap ${layout[0]}
    break
    else
    setxkbmap ${layout[$i]}
    break
    fi
    fi
    done
    exit $?
    Make the script executable and try it! It should cycle through the specified layouts. The next step is to map the script to a keyboard shortcut in .xbindkeysrc (look up how in the wiki...)
    Everything works now, even after switching the layout!!!

  • Firefox keyboard layout changes to something I don't recognize, the traditional [ QWERTY ] reads as [ ',.pyf ] any idea why this would happen or how to change it back short of killing firefox and restarting.

    This happens randomly and infrequently. At first I thought it was my cats fault but it has recently happened while I was sitting at the computer with no feline interference. If someone could let me know how, if it's possible, to change the keyboard layout to QWERTY I will try this next time it happens to see if it can be corrected without restarting firefox. For a larger sample I will include the lines below:
    The quick brown fox jumps over the lazy dog
    yd. 'gcjt xpr,b urq hgmlo rk.p yd. na;f eri
    This is only effecting firefox, no other programs are changed and it does effect all running and new instances of firefox.

    See:
    * http://windows.microsoft.com/en-US/windows-vista/The-Language-bar-overview - The Language bar (overview)
    It is possible that you have switched the keyboard layout by accident.
    * Make sure that you have the Language bar visible on the Windows Taskbar.
    * You can do that via the right-click context menu of the Taskbar: Toolbars > Language Bar.
    * Check the keyboard language (keyboard layout) setting for the application that has focus via the icon on the Language bar.
    * You need to do that while Firefox has focus because Windows remembers the keyboard layout setting per application.
    * The default keys to rotate the layout is a combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.
    * To avoid an unintentional switch assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctr+Shift)
    * Vista: Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence

  • Cannot switch keyboard layout in applets using system settings

    I use Java Plugin Version 1.5.0 (build 1.5.0_09-b01) on Windows XP SP2 and if try to switch a keyboard layout, for example, from English to Russian, it switches only by pressing Ctrl+Shift+Shift instead of Ctrl+Shift, that used in system settings. How to obtain a switching a keyboard layout using system settings?

    Although in settings the "english" keyboard is ticked as selected
    Are you referring to the Language section of settings? If so, that has nothing to do with keyboards.
    when checking in settings the word britsh appears underneath Dutch
    You can rearrange the order of the keyboards by poking the Edit button and holding down the symbol at the far right of each keyboard name in the keyboard list (3 horizontal bars). See if that helps.

  • My keyboard layout has changed. I no longer have an @ key.

    About an hour ago, my keyboard layout changed (but only when using firefox) so that, for example, Shift+2 no longer produces @, but rather double quotes ("). Also, pressing the [ key now produces nothing, but the next key I hit after it will produce a hat. Example, the [ key and a g will give ^g. There are other peculiarities, such as the / key now shows é, and a few others.
    Everything I check on the internet seems to be telling me the problem lies in my keyboard layout settings in Windows, and possibly having to press LeftAlt+LeftShift (or just Alt+Shift) to readjust them, or bringing up the language bar, etc. But all of my efforts to fix language indicate to me that I'm currently operating with a US keyboard layout (which is what it`s supposed to be), and again, this ONLY happens in firefox and no other programs.
    Any ideas?

    See:
    * http://windows.microsoft.com/en-US/windows7/The-Language-bar-overview The Language bar (overview)
    It is possible that you have switched the keyboard layout by accident.
    * Make sure that you have the Language bar visible on the Windows Taskbar.
    * You can do that via the right-click context menu of the Taskbar: Toolbars > Language Bar.
    * Check the keyboard language (keyboard layout) setting for the application that has focus via the icon on the Language bar.
    * You need to do that while Firefox has focus because Windows remembers the keyboard layout setting per application.
    * The default keys to rotate the layout is a combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.
    * To avoid an unintentional switch assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctr+Shift)

  • Change the kernel keymap and xkbd keyboard layout?

    I'd like to remap
    CTRL+(Left,Right,Up,Down)
    to
    Begin,End,PgUp,PgDown
    And i've to say that i almost succeded, but probably there's a better way.
    For the tty, i made a modified it.map.gz called itCtrlArrows.map.gz,
    put it into /usr/share/kbd/keymaps/i386/qwerty/
    modified /etc/vconsole.conf accordingly and rebooted.
    Ttys works, fine.
    For Xorg i've had to use xbindkeys with something like:
    "xvkbd -xsendevent -text '\[Home]'"
    m:0x14 + c:113
    Control+Mod2 + Left
    "xvkbd -xsendevent -text '\[Shift]\[Home]'"
    m:0x5 + c:113
    Control+Shift + Left
    "xvkbd -xsendevent -text '\[End]'"
    m:0x14 + c:114
    Control+Mod2 + Right
    "xvkbd -xsendevent -text '\[Shift]\[End]'"
    m:0x5 + c:114
    Control+Shift + Right
    "xvkbd -xsendevent -text '\[Prior]'"
    m:0x14 + c:111
    Control+Mod2 + Up
    "xvkbd -xsendevent -text '\[Shift]\[Prior]'"
    m:0x5 + c:111
    Control+Shift + Up
    "xvkbd -xsendevent -text '\[Next]'"
    m:0x14 + c:116
    Control+Mod2 + Down
    "xvkbd -xsendevent -text '\[Shift]\[Next]'"
    m:0x5 + c:116
    Control+Shift + Down
    It works too, but it is an highly inefficient solution.
    The tty keyboard layouts are really easy to hack, could this one be done somehow with an xkb keyboard layout?
    How?
    Last edited by kokoko3k (2014-09-09 19:14:26)

    I was just trying to figure this out myself and got to the realization that keyboard layout handling in Linux == crap and total mess.
    xvkbd doesn't really works as you expect, try for example your mapping in Epiphany or Nautilus.
    From what I gather you really can't map key combination with CTRL to a keysym in X as CTRL isn't a modifier key.
    What you can do is to set a modifier key and the best way to do that would be to patch xkeyboard-config (I didn't tried yet, just looked in the code) but if you only got one keyboard layout then you can also use xmodmap and of course both method won't work in Wayland.
    See
    http://cgit.freedesktop.org/xkeyboard-config (notice in symbols/us that English (US) layout doesn't map ALT_R to ISO_Level3_Shift, "level3(ralt_switch)" )
    http://askubuntu.com/questions/5095/typ … mbinations

Maybe you are looking for