Implement list of window class names that default to each layout
Submitted by Glen Whitney
Assigned to Igor Slepchin
Description
Currently, even if the group policy is per_window or per_application, all windows or applications (respectively) that this plugin encounters for the first time default to the first layout on the list, layout 0 (i.e. group 0). I propose a feature whereby one can specify for each of the other layouts (1, 2, or 3), a comma-separated list of window class names which will default to using that layout. (A new window would be given the layout corresponding to the first layout of 1, 2, or 3 for which its class name appears on this default list, or layout 0 if there are no matches.) This feature would allow the user to have particular applications come up immediately using specific keyboard layouts, without having to manually switch to them each time the application is started.
I have submitted a proposed implementation of such a feature as a pull request for the github mirror; it can be accessed at https://github.com/xfce-mirror/xfce4-xkb-plugin/pull/6
Version: git