Skip to content
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

Default custom command keyboard shortcuts are only valid for QWERTY keyboards #2730

Open
jesus2099 opened this issue Jan 17, 2021 · 2 comments

Comments

@jesus2099
Copy link

Default shortcut keys for custom commands are ctrl+1, ctrl+2 and ctrl+3
This only works on QWERTY keyboards.
My AZERTY (French) keyboard have those keys as:

Keyboard
QWERTY 1 2 3
AZERTY (shift) 1 2 3
AZERTY (no modifier) & é "

Even if I press Ctrl+Shift+&, it does not trigger the first custom command (sort, in my case, see #2582).

So I had to change the key binding in the settings (hopefully, it's great that this is possible!):

Key binding Before After
Send to custom command 1 <Primary>1 <Primary>ampersand
Send to custom command 2 <Primary>2 <Primary>eacute
Send to custom command 3 <Primary>3 <Primary>quotedbl

Would it be possible to set those by default if French keyboard is used?
Maybe not.

@elextr
Copy link
Member

elextr commented Jan 17, 2021

Similar if not duplicate of #1368 and others referenced in that. Also #1633 that has stalled.

Geany does not know the keyboard layout, the GTK library does not provide it, so we can do nothing based on keyboard layouts.

However you should be able to manually re-bind any problematic bindings to your particular keyboard, and that should be remembered in your user config.

@jesus2099
Copy link
Author

jesus2099 commented Jan 17, 2021

Interesting tickets.

I have not noticed any others yet in several weeks of using Geany but I will now check all the other default keyboard shortcuts, to see if there are other problems than custom commands for French AZERTY keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants