Inkscape.org
Beyond the Basics user interface xml file filters not really disappearing
  1. #1
    Kirstie Kirstie @Kirstie🌷
    *

    Hi,

    I am trying to make a simpler version of the Inkscape interface.
    When placed in the users directory ui, Inkscape will start with less menu items.
    It could be used by schools where they use Inkscape to design for lasercutting.

    In the file menus.xml I have edited a lot.
    It is almost OK, but I do not seem to get this one right:
    When I try to hide the Filter submenu, it resurfaces as a very big submenu under Extensions.

    Does anybody know how to change this file so the filters will be really hidden?
    Thanks in advance!

    *edit
    Ok, I have made the code a bit cleaner, so it doesn't give a warning.
    The file I uploaded got a number when I uploaded it.
    When you try it in Inkscape, it should have the name menus.xml before it works.

  2. #2
    inklinea inklinea @inklinea⛰️
    *

    I did find this out :

    If you change the extension section to read :

    <submenu name="Extensions">
           <verb verb-id="EffectLast" />
           <verb verb-id="EffectLastPref" />
           <verb verb-id="org.inkscape.effect.filter.Feather" />
           <separator/>
           <!-- <effects-list/> -->
       </submenu>

    All of the extensions are gone apart from the extra filter I added ( feather ).

     

  3. #3
    Kirstie Kirstie @Kirstie🌷

    Hi Inklinea,
    Thank you very much for diving into this xml file. Yes, you made all the extensions disappear!

    It is somehow unpredictable, this xml file.
    I would like to keep (some of) the extensions though and have all the filters hidden.

    Well, maybe this stripped down version is just as good as it gets.

  4. #4
    inklinea inklinea @inklinea⛰️

    Hello Kirstie, I think Patrick Storz may be able to elaborate. I saw his name on the section on gitlab which mentions efffects-list

    I did find an odd work around. 

    If you leave the Extensions section as it is ( ignore my hacking at it ) 

    And simply move /usr/share/inkscape/filters/filters.svg up one level so it is no longer in the filters folder ( would be in a different location on windows )

    The filters no longer appear in the extension menu.

  5. #5
    Kirstie Kirstie @Kirstie🌷

    Hej inklinea, thanks for trying again.

    When it works I will be very
      HappY

    I have been working with a Windows portable version. Unfortunately there your nice hack doesn't work.
    But to know it is possible under Linux makes me hopeful and I will remember this good idea.
    Have a nice day!

Inkscape Inkscape.org Inkscape Forum Beyond the Basics user interface xml file filters not really disappearing