Unify keyboard shortcuts
Thomas Leonard
tal00r at ecs.soton.ac.uk
Sat Aug 16 16:57:09 EEST 2003
On Sun, Aug 03, 2003 at 12:26:29AM +0200, Ellis Whitehead wrote:
> This would probably be quite easy from the KDE side. We currently have all
> the general shortcuts (i.e., not those for a single specific application) in
> ~HOME/.kde/share/config/kdeglobals, but there would be nothing preventing us
> from reading and writing to another location or with another format.
Sounds good. I think we just need to move the [Keys] section to its own
file ($XDG_CONFIG_DIRS/freedesktop.org/common_shortcuts?).
Should [Global Shortcuts] be shared too?
Are the key names the same between KDE and GTK? GTK uses keys in the form
<Ctrl>S, which is easy to convert, but some of the special keys might have
different names (or is everyone using XKeysymToKeycode?).
What happens if the config file is missing? Does the user get no default
keys, or does each application fall back to doing its own thing?
I suppose the GNOME or KDE libraries would just symlink it to their own
defaults file if it was missing, whichever was run first.
Can the user change a default key from a specific application? What
happens if I change Save from Ctrl+S to F3 in my text editor, and then
change it back? Does it go back to following the global defaults?
How are applications notified of a change? I guess we could require them
to be restarted for now, and use DBUS for real-time updates later...
> I have no idea about how Gnome does it, but would be glad to work on a
> common solution.
Does GNOME do this at all at the moment?
--
Thomas Leonard http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
More information about the xdg
mailing list