This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Predefined Brushes

Tags: None
(comma "," separated)
michaelstolz
Registered Member
Posts
125
Karma
0

Predefined Brushes

Thu Jun 07, 2018 12:48 pm
I have some extra brushes installed after downloading Krita 4.0.3. Unfortunately with a big mistake. Too many tags have been created, many of them empty. How can I delete the errors without, and retain the correct ones?


http://www.bild.me/bild.php?file=435077 ... pinsel.jpg
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS

Re: Predefined Brushes

Thu Jun 07, 2018 3:33 pm
You can try go to settings-->manage resources-->open resource folder and then go to 'tags', there open kis_brushes_tags.xml

There, remove all sections that looks something like this:

Code: Select all
<resource identifier="dummy">
  <tag blacklisted="true">ink</tag>
 </resource>


Save and restart Krita.
michaelstolz
Registered Member
Posts
125
Karma
0

Re: Predefined Brushes

Mon Jun 11, 2018 4:26 pm
Unfortunately, the file is in XML format. I have no idea how to delete these lines.
User avatar
Quiralta
Registered Member
Posts
301
Karma
5
OS

Re: Predefined Brushes

Mon Jun 11, 2018 4:35 pm
michaelstolz wrote:Unfortunately, the file is in XML format. I have no idea how to delete these lines.


You need to open the file with a text editor, is likely that if you just click on it, it will be open with a browser and show the text in a "read only" format. I'm not sure the names for text only editors for windows (I don't use the system), I remember last week read notepad++ is one of them.

Once you open it as a editable text, just remove what TheraHedwig mentioned. (where "dummy" is your extra unneeded tags)


Self educated by a very bad teacher!
My Stuff
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Predefined Brushes

Mon Jun 11, 2018 7:25 pm
Simple way: Rename it as a .txt file then double-click it to edit it with your usual text editor. When you've finished, rename it back to being a .xml file.
michaelstolz
Registered Member
Posts
125
Karma
0

Re: Predefined Brushes

Fri Jun 15, 2018 8:04 am
I changed the file from XML to TXT. The dummies deleted, but at Krita in the ad are still all in it. What do I do now?
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Predefined Brushes

Fri Jun 15, 2018 9:25 am
After you'd deleted the 'dummies', did you rename the file from .txt to .xml to put it back to normal?
michaelstolz
Registered Member
Posts
125
Karma
0

Re: Predefined Brushes

Fri Jun 15, 2018 1:58 pm
Yes, I have.
User avatar
Quiralta
Registered Member
Posts
301
Karma
5
OS

Re: Predefined Brushes

Fri Jun 15, 2018 2:19 pm
michaelstolz wrote:I changed the file from XML to TXT. The dummies deleted, but at Krita in the ad are still all in it. What do I do now?


You can check directly on these folders to make sure you don't have more than one xml file of the same, also will be better if you edit the file while Krita is closed (accessing the directory manually, since now you know where is located).

Check this two places: https://docs.krita.org/en/KritaFAQ.html ... ces-stored

It may be that the corrupted xml is not the user's but Krita's, thus make sure you check both.


Self educated by a very bad teacher!
My Stuff
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Predefined Brushes

Fri Jun 15, 2018 5:44 pm
In the kis_brushes_tags.xml file, can you see any line (or section) that contains the name of the brush tags that you want to remove?

In your original post, the screenshot shows a list of brushes, apparently in the list of brush tags. I'm very puzzled as to how this situation happened.
michaelstolz
Registered Member
Posts
125
Karma
0
Sorry to come back with the problem. But so far I could not solve it. I hope there is one more solution to erase these Tumph tags. If maybe a developer from the Krita team would take a look at this, I'd be glad. Somewhere these tags have to be stored if they keep coming back.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]