Doc:Change Shortcut Keys

From Synfig Studio :: Documentation
Jump to: navigation, search
Error creating thumbnail: convert: unable to open image `/data/repository/synfig/wiki/images/5/59/Geographylogo.png': No such file or directory @ error/blob.c/OpenBlob/2638.
convert: unable to open file `/data/repository/synfig/wiki/images/5/59/Geographylogo.png' @ error/png.c/ReadPNGImage/3667.
convert: no images defined `/data/web/73/20/2d/wiki.synfig.org/htdocs/wiki/../../tmp/transform_14a78f453f40-1.png' @ error/convert.c/ConvertImageCommand/3044.
Language: 

English



You can use keyboard shortcuts for many operations in Synfig. You can find an overview of the default keys here: Keyboard shortcuts
As everyone has different workflows and preferences these keys may not fit you. Fortunately Synfig lets you change all keyframes by editing a text file.

Changing shortcut keys

1. Find your Synfig config file under:

 Ubuntu (and other GNU/Linux): /home/{username}/.synfig/
 Mac OS: /Users/{username}/Library/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. Change the shortcuts you want, save and close. Remember to remove the ; at the start of the line to make the custom shortcut active. Also make sure Synfig is not open while editing the file as it overwrites this file when closing. Your new shortcuts will be lost in that case.

How to have a Flash-like shortcut keys?

If you're coming from an Adobe Flash enviroment you might want to setup Synfig to use a similar keyboard setup.

1. Open your accelrc file.

2. Copy the code below and paste it on the very last part of accelrc then save and close it.

; 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")
(gtk_accel_path "<Actions>//state-draw" "y")
; navigation
(gtk_accel_path "<Actions>//seek-next-frame" "period")
(gtk_accel_path "<Actions>//seek-prev-frame" "comma")


Error creating thumbnail: convert: unable to open image `/data/repository/synfig/wiki/images/5/59/Geographylogo.png': No such file or directory @ error/blob.c/OpenBlob/2638.
convert: unable to open file `/data/repository/synfig/wiki/images/5/59/Geographylogo.png' @ error/png.c/ReadPNGImage/3667.
convert: no images defined `/data/web/73/20/2d/wiki.synfig.org/htdocs/wiki/../../tmp/transform_55859e37254a-1.png' @ error/convert.c/ConvertImageCommand/3044.
Language: 

English

Personal tools
Documentation