How do I get Mousepad to do syntax colouring?
I wanted to add mousepad to my Slackware 14.2 system, so I got it from SlackBuilds.org.
Mousepad requires gtksourceview3, so I got that, too. Gtksourceview3, in turn, requires glade, so I got that as well. Then I built glade, which gave me ‘glade-3.18.3-x86_64-1_SBo.tgz’. I used ‘installpkg’ to install the package, without any errors. Next, I built gtksourceview3, which gave me ‘gtksourceview3-3.18.4-x86_64-1_SBo.tgz’. Again, I used ‘installpkg’ to install the package, without any errors. And finally, I built mousepad, which gave me ‘mousepad-0.4.1-x86_64-1_SBo.tgz’. Once more, I used ‘installpkg’ to install the package, without any errors. Mousepad works fine, except that it doesn’t do syntax colouring. It does correctly identify the file type—so, e.g., when I load a ‘*.c’ file, then “Document” ⇒ “Filetype” ⇒ “Source” ⇒ “C” is selected. The ‘*.lang’ files (including ‘c.lang’) are present in the ‘/usr/share/gtksourceview-3.0/language-specs’ directory. I went looking for some ‘configure’ option that might be needed to make mousepad activate syntax highlighting, but I didn’t find anything that rang a bell. Does anyone have any idea what I am missing here? |
Quote:
It has 'sqg' that builds a queue file with all dependencies for SlackBuilds, then with a command like 'sbopkg -R -k -i mousepad', sbopkg will ask if you want install the queue or just the package. Quote:
|
|
:doh:
Turned out that syntax colouring did work after all... Only silly little detail was the Colour scheme (on the “Edit” ⇒ “Preferences” dialogue) which was set to... “None”. :redface: I set it to “Classic” instead, et voilà: syntax colouring instantly showed up. Quote:
Quote:
So, no it didn’t help, but yes, it did help after all. :cool: |
All times are GMT -5. The time now is 05:18 PM. |