Tag-Archive for » kde «

Saturday, October 31st, 2009 | Author: Fusselwurm

When trying to add a javascript plasmoid to the KDE Destop (kubuntu 9.10 aka karmic), it showed only this message:

Could not create a javascript ScriptEngine

Very helpful indeed.
Turns out I had to install the package plasma-scriptengine-javascript .

Category: blah  | Tags: , , , ,  | Leave a Comment
Thursday, May 21st, 2009 | Author: Fusselwurm

I’m reading a book, and it’s, well, a plain text file. The lack of structure bothers me.
I’m using Kate, and Kate offers a simple way of adding syntax highlighting.
So I wrote a very small highlighting definition for Kate, which allows me to view quotes in a slightly different color (provided that actual quotation marks are used, not apostrophes). Yes, it does nested quotes.
I may improve it sometime, but for now I’m happy.

Usage:

copy the file to ~/.kde/share/apps/katepart/syntax/
In Kate, select Extras->Highlighting->Other->eBook txt