GNOME Bugzilla – Bug 338805
Allow multiple keybindings for all Metacity functions
Last modified: 2006-07-25 09:24:32 UTC
Metacity now allows any keybinding specified by a string pref <foo> to also be specified by a list of strings <foo>_list. (See bug 164831.) control-center should support editing these lists.
I'm interested to know how best we should do this. I'm happy to put the work in if we can get consensus on the UI. Options I can think of: 1) We do it just as we do now, where they enter a string. However, the string is split at commas before being put into gconf. I like this solution because it's easy to implement, at least until we decide we want something else. If nobody objects within a few days I'll do it this way. 2) We display it the same way as 1), but when they edit it, a dialogue pops up where they can add and remove entries from a list, in a similar way to editing lists in gconf-editor. 3) We replace the current control with a tree control so that people can enter multiple child records for each keybinding. It's not very clear how this will show usefully when the child records are collapsed.
Having thought this over, I've decided that it's a silly idea. We should allow multiple keybindings if people want to edit gconf, but entering multiple keybindings isn't exactly the sort of thing people want to do every day. It's most useful for distributors who want e.g. alt-f1 and ctrl-Esc to do the same thing.
FWIW my use case for this is that I want to have my own keybindings (say, Super+left/right for switching workspaces) while at the same time letting other people that have to use my laptop use the standard GNOME keybindings (Ctrl+Alt+left/right). (Also FWIW I am the sort of person that doesn't mind using gconf-editor.)