Re: more accelerator keys related thoughts



On Wed, 22 Nov 2006, Lars Clausen wrote:

already taken, I would propose Alt+N (I don't have a particular good
reason for it, just that it's unused and close to M. But maybe someone
can come up with a better suggestion?).

Alt shortcuts are actually bad, as they clash with the keyboard menu
navigation, so I'm not going to add more of those.

A few days ago I noticed that 'Alt-I' is used for both 'Input methods' and the 'Image' tool. When you have menus at the top of the window, the 'Input methods' is what is activated when pressing 'Alt-I'.

A final thought goes to the property box of a shape: I think Alt+Enter
is usually expected to open up the property window. But I am not sure,
whether this setting would cause any problem.

Can you give examples of other programs that use this? I wouldn't mind having one, and using one that people know from other places would be preferable.

Opera uses it when editing bookmarks and it's standard in Windows (Explorer).

Well, that's enough of my accelerator key waffle. I would really like to
see default settings in dia, though. I hope this post might start a
discussion to find a sensible set of defaults.

Here's a full list of the current shortcuts, generated with

What's the purpose of .dia/menurc?

$ cat .dia/menurc
; dia GtkAccelMap rc-file         -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Display>/File/tearoff" "")
; (gtk_accel_path "<Display>/View/Zoom/25%" "")
; (gtk_accel_path "<Display>/Objects/Unparent Children" "")
; (gtk_accel_path "<Display>/Tools/Line" "<Alt>l")
; (gtk_accel_path "<Toolbox>/File/Open..." "<Control>o")
...

cheers
/Christian

From Dia 0.94, I got this:

$ cat .dia/menurc | grep '.*"[^"]\+")$' | \
                    sed -e ' s/.*"\(.*\)" *"\(.*\)")/\2 - \1/' | sort

<Alt>1 - <Display>/View/Zoom/100%
<Alt>2 - <Display>/View/Zoom/200%
<Alt>4 - <Display>/View/Zoom/400%
<Alt>5 - <Display>/View/Zoom/50%
<Alt>a - <Display>/Tools/Arc
<Alt>b - <Display>/Tools/Beziergon
<Alt>c - <Display>/Tools/Bezierline
<Alt>e - <Display>/Tools/Ellipse
<Alt>i - <Display>/Tools/Image
<Alt>l - <Display>/Tools/Line
<Alt>m - <Display>/Tools/Magnify
<Alt>p - <Display>/Tools/Polygon
<Alt>r - <Display>/Tools/Box
<Alt>s - <Display>/Tools/Scroll
<Alt>t - <Display>/Tools/Text
<Alt>z - <Display>/Tools/Zigzagline
<Control>a - <Display>/Select/All
<Control>b - <Display>/Objects/Send to Back
<Control>c - <Display>/Edit/Copy
<Control>d - <Display>/Edit/Duplicate
<Control>e - <Display>/View/Show All
<Control>f - <Display>/Objects/Bring to Front
<Control>g - <Display>/Objects/Group
<Control>l - <Display>/Objects/Parent
<Control>n - <Display>/File/New
<Control>n - <Toolbox>/File/New
<Control>o - <Display>/File/Open...
<Control>o - <Toolbox>/File/Open...
<Control>p - <Display>/File/Print Diagram...
<Control>q - <Display>/File/Quit
<Control>q - <Toolbox>/File/Quit
<Control>s - <Display>/File/Save
<Control>t - <Display>/Select/Transitive
<Control>v - <Display>/Edit/Paste
<Control>w - <Display>/File/Close
<Control>x - <Display>/Edit/Cut
<Control>z - <Display>/Edit/Undo
Delete - <Display>/Edit/Delete
F1 - <Display>/Help/Manual
F1 - <Toolbox>/Help/Manual
<Shift><Control>a - <Display>/Select/None
<Shift><Control>b - <Display>/Objects/Send Backwards
<Shift><Control>f - <Display>/Objects/Bring Forwards
<Shift><Control>g - <Display>/Objects/Ungroup
<Shift><Control>l - <Display>/Objects/Unparent
<Shift><Control>s - <Display>/File/Save As...
<Shift><Control>z - <Display>/Edit/Redo

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]