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
Created attachment 8929 proposed patch to implement this change Pull request now attached as patch.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin/-/issues/33. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev