-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fresh install startup errors "Could not convert keysym to keycode" #336
Comments
Hmm, it doesn't look like a packaging problem, but I'm not sure what's going on /cc @dkogan |
The keysym/keycode table can be printed with raboof: two things could be improved with our diagnostics here:
Are either of those easy to implement? |
Agreed. That looks pretty simple (https://github.com/raboof/notion/blob/master/ioncore/conf-bindings.c#L100), do either of you want to give it a go?
I agree that would be great, tracked in #104, not sure how hard it would be. |
I'm looking at notion/ioncore/conf-bindings.c Line 61 in e98a4df
It looks at the binding ( I haven't looked to see what notion3 does differently here. gabrielmontagne: can you tells us about your custom keyboard config? |
Ah, I don't think they default keybindings in notion3 bound anything to capslock at all, while in notion4 they do |
Might be worth mentioning -- I don't know why I didn't specify it before -- both Debian and Notion are both freshly installed. I haven't changed any configuration of anything yet. So if you install the distro, install Notion and try to start it, you get the error. |
Ah, no, but yes, you are totally right @dkogan, I do have exactly that, Sorry, I should've mentioned that! |
Cool. So this is 100% clear then. notion4 has some binding with gabrielmontagne: configuring your notion to not have bindings that use this key whould fix it. Search for raboof: remapping Also, unsettable bindings maybe should produce a warning instead of causing notion to not run at all. It'd be awesome if there was an error message that stated what binding failed, and what config file it came from. Thanks! |
It worked perfectly! Thanks so much! I've been using this WM since before the not- times. I love it so much. Thanks for keeping it fresh and youthful 🤟 |
I changed those caps lock bindings before using them and accidentally avoided this issue. They might suit you
|
I think having that one is really central to the consistency of the default keybindings, so I'd much prefer to keep it. I agree remapping capslock is common enough that we should handle it gracefully, though, so...
Yeah, maybe it should just be a warning in the logs, not even a popup? |
Maybe... For a default, a warning in the logs would be ok. But for something in a user config, there should be a popup: the user explicitly asked notion to do something that it ended up not doing. So it should loudly communicate to the user that their intent was ignored. I'm assuming it's not really easy to tell whether something came from a default config or not, right? So we should just pick one of the behaviors (log message or popup). Maybe a popup would be the better of the two? If it told the user what to do to silence the warning? |
I'd rather prefer a popup as it really grabs your attention that the binding will not work. |
JFR, since my keyboard doesn't have a Windows key (I know, rare these days) I use Caps as META (remapped to Mod4). |
On fresh install on Debian -- using the bundled version,
4.0.2+dfsg-5
, I get the following error on startup,I know it could be a packaging problem, but does this ring a bell? If it's not a bug, is there a work-around for it? On other machines with notion 3, I have zero problems.
The text was updated successfully, but these errors were encountered: