Gradient Mesh for Ubuntu?

General discussions about Inkscape.
Vitor Mazuco
Posts: 13
Joined: Mon Jan 05, 2015 10:53 pm
Location: São Paulo, Brazil

Gradient Mesh for Ubuntu?

Postby Vitor Mazuco » Wed Jan 28, 2015 11:19 pm

I use Ubuntu 14.04 32 bits, and I want to use Gradient Mesh on Inkscape.

I https://www.youtube.com/watch?v=c73D8-I21oU watched that exist a tutorial, but I didn't saw this resource in my Inkscape.

How can I enable this Gradient Mesh?

Thanks!

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Gradient Mesh for Ubuntu?

Postby ragstian » Wed Jan 28, 2015 11:51 pm

Hi.

To enable the mesh gradient in the developers version ( 0.91 ):

Add the following to your default.xml file:

Code: Select all

<bind key="m" modifiers="Ctrl" action="ToolMesh" display="true" />
<bind key="m" modifiers="Alt" action="Mesh_Prefs" display="true" />
<bind action="MeshPrefs" />


Insert this just before the "tools:" in the file.
You can then invoke the mesh by Ctrl M

Good Luck.
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Vitor Mazuco
Posts: 13
Joined: Mon Jan 05, 2015 10:53 pm
Location: São Paulo, Brazil

Re: Gradient Mesh for Ubuntu?

Postby Vitor Mazuco » Thu Jan 29, 2015 12:42 am

Hello Ragnar!

Where I put this file xml and where I found "tools:"?

Thanks so much

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Gradient Mesh for Ubuntu?

Postby ragstian » Thu Jan 29, 2015 1:27 am

Hi.

The default.xml is already installed on your system. You have to edit the file, NOT "put" the file anywhere.
You have to edit the default.xml file already on your system.
On my linux box (openSuse) the file is in /usr/share/inkscape/keys, your Ubuntu box might be different.
Use the file explorer to search for the file.

Insert the code before the line which has tools: in it. Part of the file will look like this after the edit:

Code: Select all

  <bind action="FileVacuum" />

  <bind key="w" modifiers="Ctrl" action="FileClose" display="true" />
  <bind key="W" modifiers="Ctrl" action="FileClose" />

  <bind key="q" modifiers="Ctrl" action="FileQuit" display="true" />
  <bind key="Q" modifiers="Ctrl" action="FileQuit" />

  <bind key="m" modifiers="Ctrl" action="ToolMesh" display="true" />
  <bind key="m" modifiers="Alt" action="Mesh_Prefs" display="true" />
  <bind action="MeshPrefs" />
<!-- Tools -->

  <bind key="F1" action="ToolSelector" display="true" />
  <bind key="s" action="ToolSelector" />
  <bind key="S" action="ToolSelector" />


Good Luck.
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Vitor Mazuco
Posts: 13
Joined: Mon Jan 05, 2015 10:53 pm
Location: São Paulo, Brazil

Re: Gradient Mesh for Ubuntu?

Postby Vitor Mazuco » Thu Jan 29, 2015 4:07 am

Ok, thanks very much


Return to “General Discussions”