Hello,
I've just noticed that cloning is bound to alt+d. Alt will focus the menu-bar, though. So this shortcut is not usable.
best Steffen
I've just noticed that cloning is bound to alt+d. Alt will focus the menu-bar, though. So this shortcut is not usable.
We don't have a menu starting with D, of course, so this should work. Or do you mean that any pressing Alt goes to menu? Then you will miss all Alt+ shortcuts (there are many of them). I know that pressing _and releasing_ Alt activates menu in (at least some) Windows apps, but if you get the same result simply by pressing Alt and then some letter, there's something wrong going on. How do you use Alt+ shortcuts in other apps?
On Tue, 2 Nov 2004 07:19:42 -0400, bulia byak <buliabyak@...155...> wrote:
I've just noticed that cloning is bound to alt+d. Alt will focus the menu-bar, though. So this shortcut is not usable.
We don't have a menu starting with D, of course, so this should work. Or do you mean that any pressing Alt goes to menu? Then you will miss all Alt+ shortcuts (there are many of them). I know that pressing _and releasing_ Alt activates menu in (at least some) Windows apps, but if you get the same result simply by pressing Alt and then some letter, there's something wrong going on. How do you use Alt+ shortcuts in other apps?
Well, the problem is that in the german version of inkscape the File menu is called Datei- the shortcut is D. ;-) It would be awesome if I could change the keyboard mapping!?
best Steffen
Well, the problem is that in the german version of inkscape the File menu is called Datei- the shortcut is D. ;-)
Oh yes. I didn't think about it. Well, I'm trying to use Alt+ keys sparingly, only when all other keys are taken. It's impossible to predict menu letters for all languages, so I at least try to avoid the English ones.
It would be awesome if I could change the keyboard mapping!?
It's planned. One of the future versions.
Quoth Steffen Glückselig on or about 2004-11-02:
It would be awesome if I could change the keyboard mapping!?
In GTK2, on Linux at least, you can change the keyboard mapping for any action that has a menu item by hilighting the item with your rodent, and pressing the appropriate keys.
Unlike GTK+ (i.e. version 1.x), this is disabled by default :-/ You need to add the following line to ~/.gtkrc (or wherever you configure the theme on Windows)
gtk-can-change-accels = 1
I think the bindings are save in a scheme file called menurc or something. If the above doesn't work, you might be able to edit that file by hand.
HTH -trent
Hello,
In GTK2, on Linux at least, you can change the keyboard mapping for any action that has a menu item by hilighting the item with your rodent, and pressing the appropriate keys.
Unlike GTK+ (i.e. version 1.x), this is disabled by default :-/ You need to add the following line to ~/.gtkrc (or wherever you configure the theme on Windows)
I've searched my system and found several gtkrc-files. I appended the line
gtk-can-change-accels = 1
in each of them in succession with no - ehm - success.
I think the bindings are save in a scheme file called menurc or something. If the above doesn't work, you might be able to edit that file by hand.
I've found such a file for dia and gimp. Changing shortcuts works in gimp, BTW. I really like that feature in gimp. I noticed that dia and gimp would create some directories .dia and .gimp-2.0 in my 'home' inkscape creates an Inkscape-direcotry where preferences.xml is stored. But this does not contain a menurc nor gtkrc.
In gimp there is an option in the preferences whether gimp should use the dynamic shortcuts. So it seems to me that gimp is able to enable that feature from within!?
best Steffen
Quoth Steffen Gl__ckselig on or about 2004-11-02:
I've searched my system and found several gtkrc-files. I appended the line gtk-can-change-accels = 1 in each of them in succession with no - ehm - success.
Try creating one in your %HOME% directory. Mine read (not counting the $ line)
$ cat $HOME/.gtkrc-2.0 include "/usr/share/themes/Industrial Black/gtk-2.0/gtkrc" gtk-can-change-accels = 1 gtk-key-theme-name = "Emacs" gtk-font-name = "Sans 6"
I noticed that dia and gimp would create some directories .dia and .gimp-2.0 in my 'home' inkscape creates an Inkscape-direcotry where preferences.xml is stored. But this does not contain a menurc nor gtkrc.
I suppose it's possible that Inkscape doesn't use this feature -- I don't really understand how it works. I can't get dynamic bindings to work on my Linux machine (0.39cvs2004-06-16).
In gimp there is an option in the preferences whether gimp should use the dynamic shortcuts. So it seems to me that gimp is able to enable that feature from within!?
I'm not sure how the option in Gimp relates to the method I described.
-trent
Hello,
Try creating one in your %HOME% directory. Mine read (not counting the $ line)
If tried creating .gtkrc-2.0 .gtkrc gtkrc-2.0 gtkrc
containing only gtk-can-change-accels = 1
With no success.
I've tried placing the files in several other reasonable locations. Again with no success...
best Steffen
On Tue, 2004-11-02 at 17:36, Steffen Glückselig wrote:
containing only gtk-can-change-accels = 1
With no success.
I've tried placing the files in several other reasonable locations. Again with no success...
Inkscape doesn't currently use the normal Gtk facilities for handling shortcut keys, so Gtk's assignable shortcuts feature doesn't work.
That should change eventually, but will require a major rewrite in places, and many design discussions first.
-mental
Quoth MenTaLguY on or about 2004-11-02:
Inkscape doesn't currently use the normal Gtk facilities for handling shortcut keys, so Gtk's assignable shortcuts feature doesn't work.
That should change eventually, but will require a major rewrite in places, and many design discussions first.
I was afraid of that :-(
Inkscape is better than its predecessor in this respect; Sodipodi could dynamically bind keys, but would forget the changes when you quit!
-t
participants (4)
-
bulia byak
-
MenTaLguY
-
Steffen Glückselig
-
Trent Buck