I have been tinkering. Mostly with I3-wm. On this MacBookpro I3-wm will no longer start. Openbox will start but rofi seems to be gone.
F.ex running rofi in terminal (keys are “dead”)
rofi_run -d gives : Failed to get Keymap for current keyboard device. Connection has error.
I have checked .xprofile, ob-autostart, i3-config, but I can’t find any typos or what could be wrong. I am a bit tired. Helped my daughter to move today. Will sleep on it.
Normally that is where I place the rofi keybinds because they are shared across window managers. Remember .xprofile is for x commands that are shared… sxhkd is for shared keybindings. Here’s an sxhkd rofi example…
# rofi menu (2 options)
alt + @button1
rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0 -width 360
super + F1
rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0 -width 360
(process:113223): X11Helper-WARNING **: 19:16:05.300: Failed to get Keymap for current keyboard device.
(process:113223): Rofi-WARNING **: 19:16:05.300: Connection has error
The strange thing is I searched for hours but could not find anything similar to this! Not even in Arch-wiki.
I only used that as it was in use originally from your output of setxkbmap -print -verbose 10
Personally I would just run pc104 (standard us keyboard layout), give it a shot with or without the -variant mac_intl as I don’t really know if it’s needed or not. Try everything as most layouts will be similar but some keys may not work as expected.
I still get kinda confused by all the different variants. I don’t think it matters much as all the keys should send specific codes that get handled by the keymap and interpreted however needed.
Great!
I have <> key down to the left! But configured with pc104 and <> key works like it should!?
If that is the difference why is <> key working? I do not understand this.
I am very happy anyway!! i3-wm boots without problems now!
It was my faulty xkbmap configuring!!
Yea that’s definitely a pc105, like I said before I’m not the most knowledgeable but AFAIK the keyboard will send specific bit patterns (codes) for each key pressed, layout won’t really matter as all keyboards send the same codes for any given character, the only difference being in the PCB layout and keyboard layout. When you press the <> key it will send the code for < or > depending on if shift is depressed. The OS sees this and say “I know that key code” and outputs the character.
You can test this by running xev(xorg-xev package) and change layouts, they should still output the same characters/codes for each keypress regardless of layout.