Can I change the colors scheme in the gcode editor?

More
2 years 11 months ago #285094 by Aciera
Is there a way to change the color scheme in the gcode edtior? I can't read the text in the highlighted line:

 

Attachment not found

Please Log in to join the conversation.

More
2 years 11 months ago #285419 by Trav328
I just came here in search of the same answer,  we're you able to figure it out ? 

Gmoccapy and the editor seem to work great , but that color has to go. The bar or the font.

Please Log in to join the conversation.

More
2 years 11 months ago #285487 by rodw
Sometimes colours in an application are set by the desktop theme.
I had a similar issue with sheetcam and changing the desktop theme fixed it (on linux)
Try playing atround with the desytop theme

Please Log in to join the conversation.

More
2 years 11 months ago #285531 by Aciera
I'm on a rip installation. I modified the file '<my_linuxcnc_rip_install_folder>/lib/python/gladevcp/hal_sourceview.py':

I added this:
Code:
        manager = GtkSource.StyleSchemeManager().get_default()         scheme = manager.get_scheme("oblivion")         self.buf.set_style_scheme(scheme)

here:
 

Attachment not found



which give me:

 

Attachment not found

Please Log in to join the conversation.

More
2 years 11 months ago #285585 by Aciera
We can also change the highlighting in the gcode preview from this:
 

Attachment not found


 
to this:
 

Attachment not found



by changing line 78 from:
Code:
        self.add_mark_category('motion', '#c5c5c5')

to:
Code:
        self.add_mark_category('motion', 'black')

Please Log in to join the conversation.

More
2 years 10 months ago #289265 by HansU
You can do this without need to change anything in the source code. See forum.linuxcnc.org/gmoccapy/51124-gmocap...release-2-9-2#289264

Please Log in to join the conversation.

More
2 years 10 months ago #289271 by HansU
I implemented that now as a setting, so will be available soon ;-)

github.com/LinuxCNC/linuxcnc/pull/2811

Please Log in to join the conversation.

Time to create page: 0.292 seconds
Powered by Kunena Forum