Can't set keyboard layout in X

Hello!
Some days ago X stopped setting XkbLayout to "no" despite me having specified it in /etc/X11/xorg.conf.d/01-keyboard-layout.conf.
The layout is different when setting it with setxkbmap, e.g. special AltGR characters like ] is gone.
I use .conf files in /etc/X11/xorg.conf.d/ and synaptics touchpad apparently works.
rasmus@angrist ~ % cat /etc/X11/xorg.conf.d/01-keyboard-layout.conf
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "no"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "compose:ralt, caps:escape, terminate:ctrl_alt_bksp"
EndSection
rasmus@angrist ~ % cat /etc/X11/xorg.conf.d/10-evdev.conf
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Xkblayout" "no"
EndSection
Let me supply some output. The output of `setxkbmap -print -verbose 10' before running `setxkbmap no':
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: evdev
layout: us
options: compose:ralt, caps:escape, terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(evdev)+capslock(escape)+compose(ralt)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)+capslock(escape)+compose(ralt)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };
After running `setxkbmap no':
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: evdev
layout: no
options: compose:ralt, caps:escape, terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+no+inet(evdev)+capslock(escape)+compose(ralt)+terminate(ctrl_alt_bksp)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+no+inet(evdev)+capslock(escape)+compose(ralt)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc104)" };

Hey!
I got some success with disabling iBus in .xinitrc:
#### iBUS eviroment variables
#export XIM="ibus"
#export GTK_IM_MODULE="ibus"
##export QT_IM_MODULE="xim"
#export QT_IM_MODULE="ibus"
#export XMODIFIERS="@im=ibus"
#ibus-daemon -d -x &
as well as having this config in /etc/X11/xorg.conf.d/01-keyboard-layout.conf:
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "no"
Option "XkbVariant" "nodeadkeys"
# Option "XkbOptions" "compose:ralt, caps:escape, terminate:ctrl_alt_bksp"
EndSection
DIsabling iBus solved autoconfig of keyboard to "no", and the new config with the addition of XkbModel solved not being able to use AltGr. I recon there is some bug in iBus and the config for X has changed in some way. Also, writing ^ and ~ and other characters in URxvt works now, as it has not worked for a long time, probably some years. I always thought there had something to do with Awesome.

Similar Messages

  • How can i set a layout for MIGO screen

    Hello all,
    How can i set a layout for MIGO screen. & make that layout default. Like i want to drag Requistioner column next to quantity in MIgo screen. temporarily I can drag but is there a way to save as layout & save it.

    Hi
    First you arrange however you want and then go to table settings which is there in the right corner of the item details and create a variant and save.
    Find a button with blue yellow and white at the top end above the vertical drag bar when put the cursor it will show you as Configuration.
    After creating the variant tick the check box use as standard setting below the variant
    Hope it helps
    Edited by: Girish  Adaviswamy on Mar 3, 2010 1:27 PM

  • [CLOSED] Unable to set keyboard layout from /etc/X11/xorg.conf.d/

    This is my /etc/X11/xorg.conf.d/10-keyboard.conf:
    Section "InputClass"
    Identifier "keyboard-layout"
    MatchIsKeyboard "on"
    Option "XkbLayout" "cz,us"
    Option "XkbOptions" "grp:alt_shift_toggle"
    EndSection
    I wrote the according to the wiki recommendations, but it doesn't work. Issuing setxkbmap -layout "cz,us" -option "grp:alt_shift_toggle" automatically after logging in serves as a temporary solution, but I'm highly interested in fixing the primary issue. I would greatly appreciate if someone helped my find the error in my config file and/or posted their way to change the xorg keyboard layout in order to compare it with my way and find the error. Also note that I'm using Awesome WM so desktop environment ways of setting the keyboard layout aren't applicable in my case.
    Last edited by C5OK5Y (2012-12-28 15:01:25)

    @chris_l: Thank you for your /etc/X11/xorg.conf.d/01-keyboard-layout.conf.
    I have found out that the actual problem isn't in the configuration file but in the actual keyboard (more accurately xorg) - the keyboard gets incorrectly identified and xorg seems to think that it's a pointer (mouse). When I connect a different keyboard, the layout gets set correctly, xorg just isn't setting the keyboard layout correctly to the keyboard that I use. I have filed a bug report so this thread can be considered closed.
    Last edited by C5OK5Y (2012-12-29 12:58:44)

  • [SOLVED] Can't change keyboard Layout on Xorg 1.8

    Hi all
    I'm trying to configure the Input Hot-plugging on Xorg 1.8 but the keyboard layout is still on US keyboard and I need to change it.
    I use some of the configurations of some people of the forum but it still on US, now my 10-evdev-conf file is like this:
    Section "InputClass"
    Identifier "Keyboards Defaults"
    Driver "evdev"
    Option "XkbLayout" "latam"
    Option "XkbModel" "microsoft"
    MatchIsKeyboard "on"
    EndSection
    If there are a similar topic, Can you put the link?
    Thanks
    Last edited by MiloCB04 (2010-06-25 04:22:30)

    Sorry, but i found the problem, I saved 10-evdev.conf as 10-evdev-conf, and here is my code
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "be"
    EndSection
    Section "InputClass"
    Identifier "mouse-all" ## to use a PS/2 mouse :P
    MatchIsPointer "on"
    Driver "evdev"
    EndSection
    so I hope that someone can use this solve

  • Can't change keyboard layout

    I've bought my new Macbook when i traveled to US, though i live in Brazil. I just want my keyboard to have a brazilian layout, with the special characters, and stuff. I've already tried to go to International > Input Menu, and change its configuration, but even though the brazilian flag appears on my right-upper side of the screen, it doesn't change the keyboard layout at all!
    I've set my Mac OS X Leo to be fully in English, 'cause i thought it wouldn't be a problem changing the layout. I don't want the whole software in portuguese, 'cause it really doesn't looks good. Some words are forgotten and other weird things happen. And I don't want the US layout keyboard all the time, 'cause i need to write some stuff in portuguese too.
    Anyone has any sugestions? Anything to do with the initial setup?
    Thanks in advance!

    See this article for an explanation and fixes:
    http://m10lmac.blogspot.com/2007/02/fixing-brazilian-keyboard-layout.html

  • Rime Chinese Input Set Keyboard Layout

    Hello,
    I am trying to install rime chinese input. Unfortunately I have a keyboard with a QWERTZ-Layout, which I am very accustomed to. I am using rime in Gnome Shell. Is there any way to keep the German keyboard layout whilst switching to rime? My chinese is not very good, so I hope this forum appropriate for this question.
    Any help is welcome.
    Edit:
    I solved it for the while by tweaking the rime.xml in /usr/share/ibus/component/
    This is my customized file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- filename: rime.xml -->
    <component>
    <name>com.googlecode.rimeime.Rime</name>
    <description>Rime Component</description>
    <exec>/usr/lib/ibus-rime/ibus-engine-rime --ibus</exec>
    <version>1.0</version>
    <author>GONG Chen &lt;[email protected]&gt;</author>
    <license>GPL</license>
    <homepage>http://code.google.com/p/rimeime/</homepage>
    <textdomain>ibus-rime</textdomain>
    <engines>
    <engine>
    <name>rime</name>
    <language>zh</language>
    <license>GPL</license>
    <author>GONG Chen &lt;[email protected]&gt;</author>
    <icon>/usr/share/ibus-rime/icons/rime.png</icon>
    <layout>us</layout>
    <longname>Rime</longname>
    <description>Rime Input Method Engine</description>
    <rank>0</rank>
    <symbol>&#x37A2;</symbol>
    </engine>
    <engine>
    <name>rime::de</name>
    <language>zh</language>
    <license>GPL</license>
    <author>GONG Chen &lt;[email protected]&gt;</author>
    <icon>/usr/share/ibus-rime/icons/rime.png</icon>
    <layout>de</layout>
    <longname>Rime-DE</longname>
    <description>Rime Input Method Engine with German keyboard layout</description>
    <rank>0</rank>
    <symbol>&#x37A2;</symbol>
    </engine>
    </engines>
    </component>
    Edit2: Unfortunately rime only gets started with the original layout somehow. Thus I reverted to simply tweak the <layout> option in the default engine in the rime.xml file.
    Last edited by Alcasa (2015-04-07 07:29:21)

    i use fcitx-rime, you can change the layout for rime in the input method configuration panel while not change you system layout.

  • Setting keyboard layout with Mate Desktop

    Hi everyone,
    I use now Mate Desktop following the wiki <https://wiki.archlinux.org/index.php/MATE>.
    Since mate-display-manager doesn't work, I use SliM with auto login.
    I'm using french dvorak keyboard (bépo), and I put it in System > Preferences > Keyboard, and removed the other one. But it's not working, it's using default US keyboard.
    Does anyone had the same issue ?
    Thanks.

    The DE doesn't matter if you change the keyboard layout in Xorg.
    Here's my /etc/X11/xorg.conf.d/10-keyboard.conf:
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "us, ro(std)"
    Option "XkbOptions" "grp:alt_shift_toggle, grp_led:scroll, terminate:ctrl_alt_bksp"
    EndSection
    Make sure you don't have another keyboard section in some other xorg.conf (/etc/xorg.conf or /etc/X11/xorg.conf) or in a different *.conf file in the "/etc/X11/xorg.conf.d/" folder. Because one may inhibit the other.

  • How to Make a Keyboard Layout for X11/OpenOffice

    While OpenOffice has a setting to use standard OS X keyboard layouts, you may find that some of these do not work correctly, especially if deadkeys are involved. In that case you will need to create a new layout in the form of a keymap file, which you place in your home folder and invoke when needed via the command "xmodmap mykeymap" in an xterm (or by putting the same line in some config file).
    You keymap file should just contain the minimum necessary modifications of the default X11 map, which you can see by doing the command "xmodmap -pke | less" in an xterm (after making sure the preference item for using OS X layouts is turned off).
    Some fiddling with the entries of your file may be necessary, as both X11 and apps that use it have quirks and bugs of various sorts. Below is the file I made to do Vietnamese in OpenOffice as an example:
    keycode 26 = abreve
    keycode 27 = 0x00E2
    keycode 28 = 0x00EA
    keycode 29 = 0x00F4
    keycode 30 = dead_hook
    keycode 31 = dead_grave
    keycode 33 = dead_belowdot
    keycode 34 = dead_tilde
    keycode 36 = dead_acute
    keycode 37 = U0111
    keycode 38 = U01A1
    keycode 41 = U01B0

    This is a feature Apple should definitely add customization to on OS X.
    You can make custom keyboard layouts that include any characters you want using Ukelele.
    http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele
    I doubt Apple is going to incorporate this into OS X, but you can suggest it here:
    http://www.apple.com/feedback/macosx.html

  • Canadian French Keyboard Layout

    I live in the Quebec Province of Canada and I'm used to a different Keyboard Layout for the "French Canadian" Layout.
    When setting up my computer the only choice I have is "Canadian French CSA" with correspond to the "Canadian Multilingual" Layout (see: en.wikipedia.org /wiki/File:KBCanadian_MultilingualStandard.svg)
    I can't find anywhere a real French Canadian Keyboard (see: en.wikipedia.org /wiki/File:KBCanadianFrench.svg)
    Anyone have an idea how I can fix that issue? Is there a place where I can download additional Keyboard Layouts or something?
    Thanks
    Message was edited by: BenoitLefebvre

    See if this helps:
    http://m10lmac.blogspot.com/2009/11/three-keyboards-for-canadian-french.html

  • Wrong X keyboard layout after upgrade

    Hi,
    I have an Eeepc 701SD with LXDE/GDM running on it.
    Today I ran a pacman -Syu after about 2 weeks. For some reason, now my keyboard layout on X seems to be using the US keyboard layout, while it should be abnt2 (I'm from Brazil)
    I still have the hal policy "10-keymap.fdi" there, setting the "input.xkb.layout" to "br" as it was before, and hal service is running.
    Strange that I didn't see any xorg or hal packages being updated, mostly gtk, gnome and gdm related packages.
    Does anyone have any idea on what can be causing this?
    Thanks.

    teletrabi wrote:for gdm >=2.28 you can adjust the keyboard layout in a dialog at the bottom of the login-screen.
    (this dialog appears, when the password field is active) ...this works for me
    Thanks a lot for the tip. This solved my problem. Also I checked the keyboard layout settings at system -> preference -> keyboard and it shows the right layout settings after restarting (not like in the past after gnome 2.28 update).
    Yours,
    Engin

  • Assigning keyboard layout automatically to certain applications?

    i want to assign my keyboard layout to automatically switch to swedish or US when i switch to certain applications. the reason is because of some keyboard layout collision with shortcuts bug in some applications.
    example: i use swedish layout in my writing apps like text edit, mail and ichat, and US layout in some of my working apps because of the shortcut bug problems. so when i switch to ichat i want the keyboard layout to autmomatically switch to swedish and when i switch back to the working app id like it to switch to US.
    so far ive used the input menu, but its a drag doing that all the time, i did assign the input menu switching to a shortcut which makes the process a bit easier but sometimes i tend to forget to do it and the application shortcuts stop functioning when i activate the buggy app and i have to restart it. ugh!
    also i tried with checking the "allow a different input source......" setting in international but its just really what im looking for.
    anyway, it gets really annoying doing this manually everytime when switching, which i do really often.
    is there a way to do this, maybe some third party application? i've tried to google it but i didnt find an app that lets me do such a configuration.
    powerbook hi-res 7200rpm   Mac OS X (10.4.3)  

    im not sure how that OS9 keyboard layout thing works
    but im not using classic at all on my computer.
    The point is that you can use OS9 keyboard layouts that are based on KCHR resources in OS X just by changing the name and installing them in Users/username/Library/Keyboard Layouts. I have no idea if it would solve your problem, but I think it would be worth a try. You can download Swedish.rsrc here (using a Mac):
    http://homepage.mac.com/thgewecke/fs/FileSharing9.html
    Another approach is to take a keyboard that does work and try editing it so it works like a Swedish layout even though programs think it is US or whatever.

  • Wireless logitech keyboard - unable to set keyboard map in X.

    Hi,
    i have a wireless usb keyboard - logitech k360. When I restart X i always have to manually set keyboard layout using "setxkbmap pl" which is little annoying.
    My laptop keyboard has polish layout set correctly. I tried to modify /etc/X11/xorg.conf.d/keyboard.conf, but cannot find the right options. Here's how it looks now:
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbModel" "logii350"
    Option "XkbLayout" "pl"
    Option "XkbOptions" "terminate:ctrl_alt_bksp"
    EndSection
    I've tried to remove option XkbModel, tried to set it to pc105 and now it is set to logii350 (I've searched through the /usr/share/X11/xkb/rules/ to find my exact keyboard model but it isn't there).
    Funny thing is, that when I type some polish character at my laptop keyboard, suddenly wireless keyboard gets good layout.
    Any thoughts?

    Is this one with the Logitech Unifying Device receiver?
    There are a few threads on this forum about it defaulting to the default QWERTY layout (hell, I have an AZERTY layout - not just as a locale, the key prints are AZERTY). It seems to be some udev bug.

  • Setting report layout to A4 wide?

    How can we set report layout to A4 wide?
    Thanks in advance.
    Regards,

    You need to change the Height and width of all the three sections ie header,main and trailor and the values should be same for all the three sections.
    One more thing you can do is go to properties at report level and change the orientation to landscape from portrait

  • How can I stop OSX from changing my keyboard layout

    I have an English system, a French AZERTY keyboard (I live in France), and I work in five languages. I have three keyboard layouts installed, including French, of course (I use French numeric).
    After a recent update, OSX suddenly started changing my input layout against my wishes. I have always set my preferences to use the same keyboard in all documents unless I manually change it - so please don't tell me about that feature, I know about it. It's not the problem.
    It seems to want to revert to the system language (English) rather than the keyboard layout I've specified. I tried changing my interface language to French, and guess what? It wanted me to have the French keyboard layout!
    If some Apple engineer decided we should automatically have the same keyboard layout as our system language - this is bad UX. Some of us touch type (and therefore are used to one keyboard layout) and need for it to stay put. Others use different layouts with different character sets (Arabic, Chinese, Hebrew, Cyrilic, etc.). Don't force me to have the "convenient" setting automatically with no override. If there is a way to get around this problem, please tell us. I've seen lots of complaints around about this phenomenon, but no solutions so far. Not from Apple, and not from anyone else, either.
    Thanks.

    Bookmark and use this;
    Download the '''[https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Mozilla Search Reset]''' {web link}
    This add-on is very simple: on installation, it backs up
    and then resets your search preferences and home page
    to their default values, and then uninstalls itself. This
    affects the search bar, URL bar searches, and the home page.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to set custom keyboard layout as default?

    I've downloaded a german keyboard layout for normal PC keyboards from this page: http://www.nullpointer.de/stuff/keylayout/index.de.
    Everything works fine. The layout is showing up in "Input Sources".
    But for some reason I cannot uncheck the default "Apple German Keyboard Layout" as you can see in this screenshot:
    The TickBox next to it is disabled...
    This leads to the problem that in some applications that layout is being used (switched to) automatically instead of keeping the new one...
    How do I set a custom keyboard layout as default and/or deactivate built-in one?
    Thanks in advance!
    MemphiZ

    This has come up before, and I think it is not possible.  The OS always keeps one of its own Latin keyboards active, and unfortunately I have not seen any way that these (located in system/library/keyboard layouts/applekeyboardlayouts.bundle) can be modified by the user.
    PS Another possible source for "PC" layouts for people using that kind of hardware instead of Apple keyboards is the set of Logitech layouts provided when you download Ukelele.

Maybe you are looking for