You are not logged in.
Dear sirs,
please help me to set up switch keubuard layouts using Ctrl+Shift shortcut. Despite it is mentioned in Xkb Otions, it DOES NOT WORK COMPLETELY!
Offline
Providing you have set up multiple languages you can select a different keyboard layout with Alt+Ctrl+K or Alt+Space.
Offline
Aslo, just in case, do make sure that you have enabled Keyboard Layouts in Control Centre
Control Centre>Regiional & Accessibilty>Keyboard Layout Check 'Enable Keyboard Layouts'
Make sure the relevant language is in the list on the right hand side and that you have enabled Xkb Options on the Xkb Options tab
Offline
Providing you have set up multiple languages you can select a different keyboard layout with Alt+Ctrl+K or Alt+Space.
Well, these combinations do work. But I have asked about Ctrl+Shift especially.
Offline
Aslo, just in case, do make sure that you have enabled Keyboard Layouts in Control Centre
Control Centre>Regiional & Accessibilty>Keyboard Layout Check 'Enable Keyboard Layouts'
Make sure the relevant language is in the list on the right hand side and that you have enabled Xkb Options on the Xkb Options tab
Yes, Keyboard Layouts are enabled, and standard Alt+Space or Alt+Ctrl+K combinations really switch layouts. Yes, Xkp options are enabled too, but these ones do not work.
Offline
Yes, Keyboard Layouts are enabled, and standard Alt+Space or Alt+Ctrl+K combinations really switch layouts. Yes, Xkp options are enabled too, but these ones do not work.
I just tried and the options you have shown as selected don't change keyboard layout for me either... Is there any reason you do not want to use the standard keyboard shortcuts? I haven't used Xkb and don't usually have it enabled so not sure what benefits it would have.
Offline
[
I just tried and the options you have shown as selected don't change keyboard layout for me either... Is there any reason you do not want to use the standard keyboard shortcuts? I haven't used Xkb and don't usually have it enabled so not sure what benefits it would have.
There are not so mush reasons to use exactly Ctrl+Shift (however, I'd like to use it), but I just wonder why this options are present but do not work at all, just slightly more than completely... :-) Why on the earth they are there?
Offline
There are not so mush reasons to use exactly Ctrl+Shift (however, I'd like to use it), but I just wonder why this options are present but do not work at all, just slightly more than completely... :-) Why on the earth they are there?
Just for another example - this option (please see XkbOptions02.png attached) does not work, too.
And sure, I have KHotKeys daemon enabled, too (see ActionsSettings.png followed)
Last edited by madalex (2017-07-05 22:26)
Offline
+
Last edited by madalex (2017-07-05 22:25)
Offline
It seems strange that none of the Xkb options I have tried work... I also tried to set the alternative keyboard shortcut to Ctrl+Shift but that would not get accepted, instead it gives Ctrl+ISO_Next_Group as the shortcut??? and pressing Ctrl +Shift does nothing... weird...
Offline
I'm pretty sure it is now part of the Trinity installation - but worth checking that ~./trinity/Autostart folder contains a symlink to /opt/trinity/bin/khotkeys
Offline
It seems strange that none of the Xkb options I have tried work... I also tried to set the alternative keyboard shortcut to Ctrl+Shift but that would not get accepted, instead it gives Ctrl+ISO_Next_Group as the shortcut??? and pressing Ctrl +Shift does nothing... weird...
I tried this, too - with the same result.
Offline
I'm pretty sure it is now part of the Trinity installation - but worth checking that ~./trinity/Autostart folder contains a symlink to /opt/trinity/bin/khotkeys
I do not have such a symlink there...
Offline
Worth trying this followed by a restart
The first letter is a lower case L
ln -s /opt/trinity/bin/khotkeys /home/your user name/.trinity/Autostart/autostart_khotkeys
Offline
Worth trying this followed by a restart
The first letter is a lower case L
ln -s /opt/trinity/bin/khotkeys /home/your user name/.trinity/Autostart/autostart_khotkeys
No effects, absolutely.
Offline
Sorry, but I'm fresh out of ideas with this - keyboard language icon in system tray works though.
Offline
I think this may have something to do with the fact that Ctrl+Shift is already used as part of the function for text selection, for instance if you press Ctrl+Shift+(left/right/up/down) cursor keys it will highlight (select) text by line or word. If user were to use Ctrl+Shift as a keyboard shortcut it would disable this function. I don't know exactly but I figure this would probably be affecting this...
Offline
Good point Dai.
Offline
We will take a look on that and post a result in a few days
Offline
We will take a look on that and post a result in a few days
Seems it takes not so few days, yeah? ;-)
Offline
@madalex
Sorry for the delay, we are now busy with another tasks. It will be checked in detail and posted as soon as possible, hopefully till the end of the week. As a preliminary result we guess, it could be a Trinity bug. If a bug will be confirmed, we will immediately file it at TDE bug tracker.
Offline
@q4osteam
Ok, no problem, I'll wait.
Offline
We can confirm a buggy behavior of "Xkb options" in TDE. If set, it doesn't work for some shortcuts, for example keyboard layout switching. However, it will start to work once a keyboard layout is switched manually in the system tray. After that, the keyboard shortcut "ctrl+shift" switches keyboard layout, with the flag indication in the system tray remaining unchanged.
We will report these findings as a bug in the Trinity bug tracker. Thanks all for reporting.
Offline
Unfortunately, in my case it doe not work even if I switch keyboard layout manually in the system tray several times. :-(
Offline
Universal kbd layout switching method and tool:
For all of you - here is the cure for a long time known KDE 3 problem - switching with some key combinations, specially with Alt+Shift.
1. Open Synaptic --> Search for: kkbswitch-trinity (current ver. 4:14.0.4) and install it.
2. Open Trinity Control Panel --> Regional & Accessibility --> Keyboard Layout
3. Remove ANY kind of ENGLISH layout you have and JUST add your local (native) language. In my case - Bulgarian.
4. Very important step: please, check "Include latin layout" with your native layout.
5. Goto "Swithing Options" Tab
6. Uncheck "Show indicator for single layout" and "Show country flag" - these will be maintained by KKBSwitch application.
7. Goto "Xkb Options" Tab
8. Here, you can choose switching combinations you like - in my case - Alt+Shift
That all, you may close Trinity Control Center now and start KKBSwitch ( Alt+F2 --> kkbswitch)
Probably, you won't see English and your country flag at first, so feel free to set them up from "Settings" on KKBSwitch.
Step-by-step screenshots:
Hope this helps. Greetings from sunny Buglaria!
Last edited by plambi (2019-10-04 17:35)
HP z230 SFF, Xeon E3-1226 v3, 16 GB DD3L ECC, nVidia Quadro K4000, registered linux user #413596
Offline