Difference between revisions of "Customizing Inkscape"

From Inkscape Wiki
Jump to navigation Jump to search
m (Fix and improve instructions.)
Line 4: Line 4:
== Change keyboards shortcuts ==
== Change keyboards shortcuts ==


In Edit > Preferences > Interface > Keyboard Shortcuts, you can either select one of the predefined keymaps, or you can define your own keyboard shortcuts and save them. The shortcuts that you change will be saved in the file default.xml in your user Inkscape preferences' "keys" directory.
=== Shorcuts ===
'''Edit > Preferences > Interface > Keyboard Shortcuts'''


You can also manually edit the file ''<Inkscape install directory>/share/keys/default.xml'', or manually 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.
you can either select one of the predefined keymaps, or you can define your own keyboard shortcuts and save them. The shortcuts that you change will be saved in the file default.xml in your user Inkscape preferences' "keys" directory.
 
You can also manually edit the file ''<code><Inkscape install directory>/share/keys/default.xml</code>'', or manually 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):
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):
Line 12: Line 15:
You can find a list of the available keymaps either in the Inkscape preferences, in the dropdown, or in the  
You can find a list of the available keymaps either in the Inkscape preferences, in the dropdown, or in the  
[https://gitlab.com/inkscape/inkscape/tree/master/share/keys Inkscape git repository].
[https://gitlab.com/inkscape/inkscape/tree/master/share/keys Inkscape git repository].
=== Tools Modifiers ===
'''Edit > Preferences > Interface > Keyboard Shortcuts > Modifers'''


== Change the user interface ==
== Change the user interface ==


=== Change icons ===
=== Change icons ===
'''Edit > Preferences > Interface > Icon theme'''


<s>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).</s>
Then you can select your favorite icon theme in  
 
<s>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).</s>
 
<s>Examples of existing ''icons.svg'':</s>
 
* <s>[http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/icons/icons.svg Default one] from the Inkscape repository;</s>
* <s>a ''Tango Icon Set'' for Inkscape can be sent in the ''<Inkscape install directory>/share/icons/'' directory, you can rename it.</s>
* <s>[http://scnd101.deviantart.com/art/SimplyGrey-inkscape-theme-103497574 SimpleGrey Inkscape theme] by Scnd101.</s>
 
From '''Inkscape 0.93 onwards''', Inkscape's icons are no longer taken from the icons.svg file.  Instead, the application looks them up by name from the system, in the "normal" way, as described by the [https://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html Freedesktop standard].  In brief, you can now just install SVG (or PNG) files with the appropriate names into your ''<Inkscape install directory>/share/icons/'' folder.


Then you can select your favorite icon theme in Edit > Preferences > Interface > Icon theme.
In brief, you can now just install SVG (or PNG) files with the appropriate names into your ''<code><Inkscape install directory>/share/icons/</code>'' folder.


=== Change the Interface Theme ===
=== Change the Interface Theme ===
'''Edit > Preferences > Interface > Theme.'''


In GTK, a theme is defined in a ''css''' files. You can find an example under ''<Inkscape install directory>/share/inkscape/themes/Minwaita-Inkscape/''.
In GTK, a theme is defined in a ''css'<nowiki/>'' files. You can find an example under <code>''<Inkscape install directory>/share/inkscape/themes/Minwaita-Inkscape/''.</code>


You can add your own theme, built and structured like the example theme, into your user preferences' 'themes' directory. It will then become available in Edit > Preferences > Interface > Theme.
You can add your own theme, built and structured like the example theme, into your user preferences' 'themes' directory. It will then become available in  


=== Changing Colors of Canvas Handles ===
=== Changing Colors of Canvas Handles ===


You can do that by copying the file '''node-handles.css''' from ''<Inkscape install directory>/share/inkscape/ui/'' to the folder '''ui''' in your user preferences directory and then editing the copied file (since Inkscape 1.4).
You can do that by copying the file '''node-handles.css''' from ''<code><Inkscape install directory>/share/inkscape/ui/</code>'' to the folder '''ui''' in your user preferences directory and then editing the copied file (since Inkscape 1.4).


=== Changing Menus ===
=== Changing Menus ===


You can do that by copying the file '''menus.ui''' from ''<Inkscape install directory>/share/inkscape/ui/'' to the folder '''ui''' in your user preferences directory and then editing the copied file.  
You can do that by copying the file '''menus.ui''' from ''<code><Inkscape install directory>/share/inkscape/ui/</code>'' to the folder '''ui''' in your user preferences directory and then editing the copied file.


=== Changing Toolbars ===
=== Changing Toolbars ===
Some changes can be done in '''Edit > Preferences > Interface > Toolbars'''


You can do that by copying the corresponding file '''toolbar-*.ui''' from ''<Inkscape install directory>/share/inkscape/ui/'' to the folder '''ui''' in your user preferences directory and then editing the copied file.
If you want custom buttons in your menus you can do that by copying the corresponding file '''toolbar-*.ui''' from ''<Inkscape install directory>/share/inkscape/ui/'' to the folder '''ui''' in your user preferences directory and then editing the copied file.


You can use any [[action]] that does not require user input as a command.
You can use any [[action]] that does not require user input as a command.

Revision as of 08:06, 20 June 2024

Customize inkscape.png


Change keyboards shortcuts

Shorcuts

Edit > Preferences > Interface > Keyboard Shortcuts

you can either select one of the predefined keymaps, or you can define your own keyboard shortcuts and save them. The shortcuts that you change will be saved in the file default.xml in your user Inkscape preferences' "keys" directory.

You can also manually edit the file <Inkscape install directory>/share/keys/default.xml, or manually 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):

You can find a list of the available keymaps either in the Inkscape preferences, in the dropdown, or in the Inkscape git repository.

Tools Modifiers

Edit > Preferences > Interface > Keyboard Shortcuts > Modifers

Change the user interface

Change icons

Edit > Preferences > Interface > Icon theme

Then you can select your favorite icon theme in

In brief, you can now just install SVG (or PNG) files with the appropriate names into your <Inkscape install directory>/share/icons/ folder.

Change the Interface Theme

Edit > Preferences > Interface > Theme.

In GTK, a theme is defined in a css' files. You can find an example under <Inkscape install directory>/share/inkscape/themes/Minwaita-Inkscape/.

You can add your own theme, built and structured like the example theme, into your user preferences' 'themes' directory. It will then become available in

Changing Colors of Canvas Handles

You can do that by copying the file node-handles.css from <Inkscape install directory>/share/inkscape/ui/ to the folder ui in your user preferences directory and then editing the copied file (since Inkscape 1.4).

Changing Menus

You can do that by copying the file menus.ui from <Inkscape install directory>/share/inkscape/ui/ to the folder ui in your user preferences directory and then editing the copied file.

Changing Toolbars

Some changes can be done in Edit > Preferences > Interface > Toolbars

If you want custom buttons in your menus you can do that by copying the corresponding file toolbar-*.ui from <Inkscape install directory>/share/inkscape/ui/ to the folder ui in your user preferences directory and then editing the copied file.

You can use any action that does not require user input as a command.