Jump to content
altoholic

[linux] xkbcomp (remapping a keyboard)

Recommended Posts

Hello

 

Does anyone here have some experience with xkbcomp ?

Once remapped, i have a bug i can't find any answer on the internet, so far... (several days i'm on it).

Share this post


Link to post
Share on other sites

We've a couple of linux users in the Discord channel, you might try looking for help there as well. What is the bug you're experiencing? 

Share this post


Link to post
Share on other sites

/configuration

I use a keyboard, a mice (currently Roccat Nyth), and a Tartarus Chroma v2 (a sort of mini keyboard for just one hand). And other input peripherals non related to my problem.

When i play WoW, it's with Tartarus+mice. I barely touch the keyboard.

The Tartarus, by default, is mapped as a regular keyboard, which is unsuitable for my needs.

It don't have any usable driver for linux (openrazer have an open issue for the Tartarus since years, so i don't expect it to work soon, if ever).

But it can be remapped with xkbcomp, as i learned on this page: https://lampjs.wordpress.com/2015/06/26/remapchange-your-secondaryusb-keyboard-keys/

There is my dump (without remapping) xkb file: https://pastebin.com/XpR9RDPd

There is my remapped file: https://pastebin.com/3pXSKiWX

It seem to work: checking with xev, i can confirm i have the remapped keys i want on the Tartarus, while the regular keyboard keys are unchanged.

/problem

When i use any key of the Tartarus with any modifier (shift, ctrl, alt), it switch back to it's unmapped state, and became "stuck" in that state until i press the physical key who is bind to that unmapped state (usually on my regular keyboard, but it also work with the Tartarus), to "unstuck" it (and it also make it switch back to it's mapped state).

If i unmap the Tartarus, i can't reproduce the problem, so i highly suspect my configuration file to be bad. But i have no idea what's wrong in it... I read the Arch Wiki page about xkbcomp, but barely understood it.

Share this post


Link to post
Share on other sites

Fascinating! 

Unfortunately with this specific issue you might be barking up the wrong tree. You can def see if there are any users that can offer support on the Discord channel, but it really sounds like you need to find support from the folks that support xkbcomp. Unfortunately I am not one of them, and would be in the same boat as you as far as understanding it. Try cross posting on one of their support sites? Or perhaps trying a diff keymap program? I wish I had a better answer for you...

Share this post


Link to post
Share on other sites

Thank you anyway for tour answer. I managed to find the bug tracker for xkbcomp, it seem abandoned it depends of x.org, but the issues related to xkbcomp can be as old as 12y, and don't have any dev answer.

I suppose it's game over for me: i tried several other remapers, but none of them work.

Classic is in a few months, i'll try to solve my problem before, but else, i suppose it's back to Windows (and that suck, as a full time Linux user since nearly a decade).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×