Message: previous - next
Month: June 2018

Re: [trinity-users] kate can't find gcode.xml

From: Gene Heskett <gheskett@...>
Date: Thu, 28 Jun 2018 11:40:21 -0400
On Thursday 28 June 2018 10:35:13 Stefan Krusche wrote:

> Am Donnerstag 28 Juni 2018 schrieb Gene Heskett:
> > Greetings all;
> >
> > I find that despite having gcode.xml installed at
> >
> > /opt/trinity/share/apps/katepart/syntax/gcode.xml
> I have this file on my system, too, and I think it's from the latest
> upgrade of kate in TDE PSB (Nik and Michele actually talked about it
> and announced the integration of gcode high-lighting into the package,
> but you probably know that already). I find "G-Code" in the menus:
> Tools -> Highlighting -> Other -> "G-Code"
Not there in either.

> > neither kate nor kwrite can find it, as in offer it as a choice in
> > the menu's.
> Did you restart kate / kwrite after you installed gcode.xml ?

Several times, even loading a .ngc file in case a trigger was needed.
> > geany doesn't have that either so I am used to looking at gcode
> > as plain text.
> >
> > Whats  next? The idea does sound helpfull if only to highlight the
> > typu's these ancient fingers can make.
> maybe copy "gcode.xml" to
> "~/.trinity/share/apps/katepart/syntax/gcode.xml" ...?
Humm, curiouser: copy/paste from ssh session to that machine;

gene@GO704:/opt/trinity/share/apps/katepart/syntax$ cp gcode.xml 
cp: cannot create regular file 
`/home/gene/.trinity/share/apps/katepart/syntax/gcode.xml': No such file 
or directory

There is no katepart in that path, and the whole tree is pretty sparse.  
This is a wheezy install.

> > OTOH, I find kate takes around 20 seconds of standing on the down
> > arrow key to get to the bottom of a 250 LOC .ngc file.
> That's where I use "Ctrl + End" ;-)
> > Compared to geany,
> > thats un-acceptably slow. It also apparently can't save the users
> > prefs, so every new session has to be reconfigured to enable such as
> > line numbers.
> IIRC, that's default behavior. I haven't checked again right now, but
> if I think you can configure that. Settings -> Configure Kate... ->
> Application -> Sessions -> "Save Session"
I didn't try that, didn't want to muck up the code I had loaded in this 
snapshot: but that didn't work as an insert, I'll see if it will attach. 
That worked, now lets see if the server will pass it, I did not shrink 
it in gimp first so its 420k of base64. My apologies. It should show the 
open kate ->tools -> highlighting ->other, list of choices I do have.

> Just my two cents,

Thank you, maybe we can get it to work after all.

> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-users-unsubscribe@... For additional
> commands, e-mail: trinity-users-help@... Read
> list messages on the web archive:
> Please remember not to
> top-post:

Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <>