Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: curiosity81 on July 26, 2015, 08:41:11 AM



Title: Bitcoin Core 0.11.0: Qt-error "[...] Error: Couldn't look up rules 'xorg' [...]"
Post by: curiosity81 on July 26, 2015, 08:41:11 AM
Hi,

I stumbled over the following error message after installing the current version (0.11.0) of  Bitcoin Core for Linux32:

Code:
Error:    No components returned from XKB rules "/usr/share/X11/xkb/rules/xorg"
Error:    Couldn't look up rules 'xorg', model <model>, layout <layout>, variant <variant>
Qt: Failed to compile a keymap

After bitcoinqt has started, keyboard is not working inside of bitcoinqt.

The solution for this is simple since it is not a bitcoinqt-problem (http://lists.qt-project.org/pipermail/interest/2013-October/009303.html):

  • open "/usr/share/X11/xkb/rules/base" or similar
  • search for line "btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\"
  • insert a space between "btc5090" and the "\"

save it and you are done.

Bye,
cu


Title: Re: Bitcoin Core 0.11.0: Qt-error "[...] Error: Couldn't look up rules 'xorg' [...]"
Post by: tspacepilot on July 28, 2015, 07:57:17 PM
As you say /usr/share/X11/xkb/rules/base isn't a file that bitcoin can alter (unless you run bitcoin as root, for some reason).  I don't know enought about xkb to understand fully what's going on.  (I understand the syntax error you pointed out, but) why are those btc strings in this file?

FWIW, in my distro (debian jessie, using LXDE), I have those btc strings but not the syntax error.  What's your distro?

Hi,

I stumbled over the following error message after installing the current version (0.11.0) of  Bitcoin Core for Linux32:

Code:
Error:    No components returned from XKB rules "/usr/share/X11/xkb/rules/xorg"
Error:    Couldn't look up rules 'xorg', model <model>, layout <layout>, variant <variant>
Qt: Failed to compile a keymap

After bitcoinqt has started, keyboard is not working inside of bitcoinqt.

The solution for this is simple since it is not a bitcoinqt-problem (http://lists.qt-project.org/pipermail/interest/2013-October/009303.html):

  • open "/usr/share/X11/xkb/rules/base" or similar
  • search for line "btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\"
  • insert a space between "btc5090" and the "\"

save it and you are done.

Bye,
cu