WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Switching keyboard layouts in Xfbdev?  (Read 320 times)

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Switching keyboard layouts in Xfbdev?
« on: March 06, 2017, 06:31:15 AM »
Anybody knows how to get layout switching working using Xfbdev?

Xserver: Xfbdev
Window manager: dwm

I tried using setxkbmap but got an error:
XKB extension not present on :0

So, it looks for me that xkb tools are designed for use with Xorg only.
I was also able to get needed characters with xmodmap, but as far as I could understand I only could type them holding the 'Super' modificator. It's not quite comfortable. What should I do to get a permanent layout switch? Is it possible for Xfbdev?
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9560
Re: Switching keyboard layouts in Xfbdev?
« Reply #1 on: March 06, 2017, 11:03:25 AM »
TinyX uses the keymap from the console. I don't think it's possible to use two layouts switched by a button, at least traditionally (you could bind that key to xmodmap invocations through your WM or other method).
The only barriers that can stop you are the ones you create yourself.

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Switching keyboard layouts in Xfbdev?
« Reply #2 on: March 06, 2017, 11:07:39 AM »
Okay, can you please give me a hint for easy binding a key to some kind of xmodmap (or other) invocation? I don't know what should I google. DWM, Xfbdev (it's TinyX now?).

I can make two different xmodmap map files, then and rotate them by pressing a key button.
« Last Edit: March 06, 2017, 11:09:34 AM by Scampada »
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Switching keyboard layouts in Xfbdev?
« Reply #3 on: March 06, 2017, 11:17:24 AM »
Okay, okay, sure, it's something about xbindkeys. Sorry for bothering.
The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.

Offline Scampada

  • Full Member
  • ***
  • Posts: 164
Re: Switching keyboard layouts in Xfbdev?
« Reply #4 on: March 06, 2017, 01:55:05 PM »
Йоб done!



The winning entries in UNIX users' hymns competition were 'What's the buzz, tell me what's happening' and 'Strange Thing Mystifying' songs from A.L.Webber's musical.

Tiny Core Linux. Like Gentoo, except Gentoo is easier.