Difference between revisions of "Customizing Inkscape"

From Inkscape Wiki
Jump to navigation Jump to search
(Corrections)
Line 1: Line 1:
== Change keyboards shortcuts ==
== Change keyboards shortcuts ==


There is no user interface to customize shortcuts yet but you can edit ''<Inkscape install directory>share/keys/default.xml'', or add a custom ''keys/default.xml'' in the user Inkscape preferences directory to define new shortcuts or remap (override) shortcuts from the shared keymap file.
There is no user interface to customize shortcuts yet but you can edit ''<Inkscape install directory>/share/keys/default.xml'', or add a custom ''keys/default.xml'' in the user Inkscape preferences directory to define new shortcuts or remap (override) shortcuts from the shared keymap file.


In order to share same shortcuts than other softwares, following configuration files are shipped with Inkscape (look at the ''<Inkscape install directory>share/keys/'' folder):
In order to share the same shortcuts as other softwares, following configuration files are shipped with Inkscape (look at the ''<Inkscape install directory>/share/keys/'' folder):


* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/acd-canvas.xml acd-canvas.xml] for ACD System Canvas 11
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/acd-canvas.xml acd-canvas.xml] for ACD System Canvas 11;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/adobe-illustrator-cs2.xml adobe-illustrator-cs2.xml] for Adobe Illustrator CS2
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/adobe-illustrator-cs2.xml adobe-illustrator-cs2.xml] for Adobe Illustrator CS2;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/corel-draw-x4.xml corel-draw-x4.xml] for Corel Draw X4
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/corel-draw-x4.xml corel-draw-x4.xml] for Corel Draw X4;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/macromedia-freehand-mx.xml macromedia-freehand-mx.xml] for Macromedia Freehand MX
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/macromedia-freehand-mx.xml macromedia-freehand-mx.xml] for Macromedia Freehand MX;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/xara.xml xara.xml] for Xara X, Xara Xtreme and Xara LX
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/xara.xml xara.xml] for Xara X, Xara Xtreme and Xara LX;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/zoner-draw.xml zoner-draw.xml] for Zoner Draw 5
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/zoner-draw.xml zoner-draw.xml] for Zoner Draw 5.


Moreover:
Moreover:


* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/right-handed-illustration.xml right-handed-illustration.xml] is a configuration where the user draw with the right hand and want to access all shortcuts with the left one
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/right-handed-illustration.xml right-handed-illustration.xml] is a configuration for users who want to draw with the right hand and access all shortcuts with the left one;
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/inkscape.xml inkscape.xml] is the default Inkscape shortcuts configuration file.
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/keys/inkscape.xml inkscape.xml] is the default Inkscape shortcuts configuration file.


Line 21: Line 21:
=== Change icons ===
=== Change icons ===


Icons are in all in an ''icons.svg'' file located in ''<Inkscape install directory>\share\icons\''. It can be overwritted or modified by the user (be sure of what you do).  
Icons are all in an ''icons.svg'' file located in ''<Inkscape install directory>/share/icons/''. It can be overwritten or modified by the user (be sure of what you do).  


Alternatively, a custom ''icons/icons.svg'' file can be loaded from the user Inkscape preferences directory (it will override existing icons from the shared icons file, and fall back to icons from the shared icons file if some are missing in the custom one).
Alternatively, a custom ''icons/icons.svg'' file can be loaded from the user Inkscape preferences directory (it will override existing icons from the shared icons file, and fall back to icons from the shared icons file if some are missing in the custom one).
Line 27: Line 27:
Examples of existing ''icons.svg'':
Examples of existing ''icons.svg'':


* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/icons/icons.svg Default one] from the Inkscape repository
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/icons/icons.svg Default one] from the Inkscape repository;
* A ''Tango Icon Set'' for Inkscape can be sent in the ''<Inkscape install directory>\share\icons\'' directory, you can rename it.
* a ''Tango Icon Set'' for Inkscape can be sent in the ''<Inkscape install directory>/share/icons/'' directory, you can rename it.
* [http://scnd101.deviantart.com/art/SimplyGrey-inkscape-theme-103497574 SimpleGrey inkscape theme] by Scnd101
* [http://scnd101.deviantart.com/art/SimplyGrey-inkscape-theme-103497574 SimpleGrey Inkscape theme] by Scnd101.


=== Change the theme/skin ===
=== Change the theme/skin ===


In GTK, a theme is defined in a '''gtkrc''' file. On Windows, the Inkscape one is located in ''<Inkscape install directory>\etc\gtk-2.0''.
In GTK, a theme is defined in a '''gtkrc''' file. On Windows, the Inkscape one is located in ''<Inkscape install directory>/etc/gtk-2.0''.

Revision as of 21:39, 16 June 2016

Change keyboards shortcuts

There is no user interface to customize shortcuts yet but you can edit <Inkscape install directory>/share/keys/default.xml, or add a custom keys/default.xml in the user Inkscape preferences directory to define new shortcuts or remap (override) shortcuts from the shared keymap file.

In order to share the same shortcuts as other softwares, following configuration files are shipped with Inkscape (look at the <Inkscape install directory>/share/keys/ folder):

Moreover:

  • right-handed-illustration.xml is a configuration for users who want to draw with the right hand and access all shortcuts with the left one;
  • inkscape.xml is the default Inkscape shortcuts configuration file.

Change the user interface

Change icons

Icons are all in an icons.svg file located in <Inkscape install directory>/share/icons/. It can be overwritten or modified by the user (be sure of what you do).

Alternatively, a custom icons/icons.svg file can be loaded from the user Inkscape preferences directory (it will override existing icons from the shared icons file, and fall back to icons from the shared icons file if some are missing in the custom one).

Examples of existing icons.svg:

  • Default one from the Inkscape repository;
  • a Tango Icon Set for Inkscape can be sent in the <Inkscape install directory>/share/icons/ directory, you can rename it.
  • SimpleGrey Inkscape theme by Scnd101.

Change the theme/skin

In GTK, a theme is defined in a gtkrc file. On Windows, the Inkscape one is located in <Inkscape install directory>/etc/gtk-2.0.