Difference between revisions of "Keyboard Shortcuts (Flash)"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (-the)
m (re-arranged accels)
Line 1: Line 1:
This is how you can make a Flash-like shortcut keys of the Synfig tools.
+
=== How to have a Flash-like shorcut keys in Synfig? ===
 +
This is how you can make a Flash-like shortcut keys in Synfig.
  
1. You must have Synfig installed and run at least once. :D
+
'''NOTE:''' You must have Synfig installed and run at least once. :D
2. Find your Synfig config file under:
+
 
   a.) ''Ubuntu GNU/Linux:'' /home/{username}/Synfig/
+
 
   b.) ''Windows XP:'' C:\Documents and Settings\{username}\Synfig\
+
'''1.''' Find your Synfig config file under:
   c.) ''Windows Vista:'' C:\Users\{username}\Synfig\
+
   ''Ubuntu GNU/Linux:'' /home/{username}/Synfig/
3. Open the file, named '''accelrc''', using any text editing software (GEdit, Kate, Notepad).
+
   ''Windows XP:'' C:\Documents and Settings\{username}\Synfig\
4. Copy the code below and paste it on the very last part of '''accelrc'''.
+
   ''Windows Vista:'' C:\Users\{username}\Synfig\
 +
'''2.''' Open the file, named '''accelrc''', using any text editing software (GEdit, Kate, Notepad).
 +
 
 +
'''3.''' Copy the code below and paste it on the very last part of '''accelrc'''.
 
<code>
 
<code>
 +
; misc
 +
(gtk_accel_path "<Actions>//redo" "<Control>y")
 +
; tools
 
  (gtk_accel_path "<Actions>//state-text" "t")
 
  (gtk_accel_path "<Actions>//state-text" "t")
 
  (gtk_accel_path "<Actions>//state-rectangle" "r")
 
  (gtk_accel_path "<Actions>//state-rectangle" "r")
 
  (gtk_accel_path "<Actions>//state-rotate" "<Shift>q")
 
  (gtk_accel_path "<Actions>//state-rotate" "<Shift>q")
(gtk_accel_path "<Actions>//seek-next-frame" "period")
 
 
  (gtk_accel_path "<Actions>//state-zoom" "z")
 
  (gtk_accel_path "<Actions>//state-zoom" "z")
 
  (gtk_accel_path "<Actions>//state-polygon" "n")
 
  (gtk_accel_path "<Actions>//state-polygon" "n")
Line 20: Line 26:
 
  (gtk_accel_path "<Actions>//state-fill" "k")
 
  (gtk_accel_path "<Actions>//state-fill" "k")
 
  (gtk_accel_path "<Actions>//state-circle" "o")
 
  (gtk_accel_path "<Actions>//state-circle" "o")
(gtk_accel_path "<Actions>//redo" "<Control>y")
 
 
  (gtk_accel_path "<Actions>//state-scale" "q")
 
  (gtk_accel_path "<Actions>//state-scale" "q")
(gtk_accel_path "<Actions>//seek-prev-frame" "comma")
 
 
  (gtk_accel_path "<Actions>//state-gradient" "g")
 
  (gtk_accel_path "<Actions>//state-gradient" "g")
 +
; navigation
 +
(gtk_accel_path "<Actions>//seek-next-frame" "period")
 +
(gtk_accel_path "<Actions>//seek-prev-frame" "comma")
 
</code>
 
</code>
5. Save it, and run Synfig to test.
+
'''4.''' Save it, and run Synfig to test and enjoy!
6. Enjoy!
+
 
 +
=== How to restore to default settings? ===
 +
Simply, delete '''accelrc''' and run Synfig.

Revision as of 17:33, 7 January 2009

Languages Language: 

English


How to have a Flash-like shorcut keys in Synfig?

This is how you can make a Flash-like shortcut keys in Synfig.

NOTE: You must have Synfig installed and run at least once. :D


1. Find your Synfig config file under:

 Ubuntu GNU/Linux: /home/{username}/Synfig/
 Windows XP: C:\Documents and Settings\{username}\Synfig\
 Windows Vista: C:\Users\{username}\Synfig\

2. Open the file, named accelrc, using any text editing software (GEdit, Kate, Notepad).

3. Copy the code below and paste it on the very last part of accelrc.

; misc
(gtk_accel_path "<Actions>//redo" "<Control>y")
; tools
(gtk_accel_path "<Actions>//state-text" "t")
(gtk_accel_path "<Actions>//state-rectangle" "r")
(gtk_accel_path "<Actions>//state-rotate" "<Shift>q")
(gtk_accel_path "<Actions>//state-zoom" "z")
(gtk_accel_path "<Actions>//state-polygon" "n")
(gtk_accel_path "<Actions>//state-bline" "p")
(gtk_accel_path "<Actions>//state-normal" "v")
(gtk_accel_path "<Actions>//state-eyedrop" "i")
(gtk_accel_path "<Actions>//state-fill" "k")
(gtk_accel_path "<Actions>//state-circle" "o")
(gtk_accel_path "<Actions>//state-scale" "q")
(gtk_accel_path "<Actions>//state-gradient" "g")
; navigation
(gtk_accel_path "<Actions>//seek-next-frame" "period")
(gtk_accel_path "<Actions>//seek-prev-frame" "comma")

4. Save it, and run Synfig to test and enjoy!

How to restore to default settings?

Simply, delete accelrc and run Synfig.


Languages Language: 

English