This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Different keyboard layout for each activity

Tags: None
(comma "," separated)
tomiki
Registered Member
Posts
1
Karma
0
Hi all,
I have 2 activities, I would like to use for each activity different keyboard layout, but this option is missing in configuration of keyboard (Keyboard settings - Layout tab - "Switching Policy" = no option for activities).
Should be like this:
a) 1st activity: US keyboard layout
b) 2nd activity: different keyboard layout

Is it possible somehow?

Thank you.

Tom
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I'm afraid this isn't possible at the moment.

If you are proficient in writing Python scripts however, you can probably write your own daemon to watch for changes in the current activity using KActivityManagerD's D-Bus interface, and then using the D-Bus interface of the Keyboard system to trigger a change in layout there. This would achieve the functionality you are after.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]