Made a colorscheme, dropped in /usr/share/gtksourceview-3.0/styles/.
Trying to change through mousepad ui - nothing pops up.
Trying to change via terminal:
gsettings set org.xfce.mousepad.preferences.view color-scheme 'Zero'
it instantly reverts back to none (no color scheme).
Purging all themes from gtksourceview-3.0/styles/, opening mousepad - but default themes are still there.
Since it ignores default color schemes location: /usr/share/gtksourceview-3.0/styles/ where does it pick up themes from?
Where to drop my color scheme?
cscs
13 August 2023 19:36
2
Slowurroll:
/usr/share/
Maybe you want to place them in ~/.local/share/gtksourceview-3.0/styles/
https://wiki.gnome.org/Projects/GtkSourceView/StyleSchemes
apps:mousepad:start [Xfce Docs]
Manual actions required for some version changes
As of version 0.5.4 , Mousepad is likely to use GtkSourceView 4 (this is decided at compile time by the packager). If this is the case, the custom themes must be copied from ~/.local/share/gtksourceview-3.0/styles/ to ~/.local/share/gtksourceview-4/styles/ :
mkdir -p ~/.local/share/gtksourceview-4/styles/ cp ~/.local/share/gtksourceview-3.0/styles/* ~/.local/share/gtksourceview-4/styles/
Also: [SOLVED] Mousepad Dracula colorscheme / General discussion / Xfce Forums
That does not work. I already tried that.
No custom or just simply renamed theme is showing up nor does it seem to see anything under
/gtksourceview-4/styles
nor
/gtksourceview-3/styles
https://i.imgur.com/kb3DpEa.png
nikgnomic: screenshot URL edited to show inactive link in preformatted text
I solved this on my own.
I tend to solve things on my own.
Renamed gtksourceview-4.0 to gtksourceview-4. It did the trick.
screenshot in previous post shows x.xml file has an unexpected description
<_description>Color scheme used in the Kate text editor</_description>
I suggest you download the dracula.xml theme to ~/.local/share/gtksourceview-4/styles/ and check if that theme works in mousepad
I also changed theme name to x.xml and it still works on my system: https://imgur.com/x69BDmI.png
If the Dracula theme works on your system, I suggest you compare dracula.xml and x.xml themes for any differences
system
Closed
17 August 2023 06:37
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.