Gcode window text color change Gscreen
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
07 Feb 2019 00:09 #125895
by Ivan_The_Red
Gcode window text color change Gscreen was created by Ivan_The_Red
I switched to a darker theme and it inverted the color of my text from black to white. When I run a loaded program, the "current line" is highlighted in yellow which is almost impossible to readsince the text is white. Is there any way to change the colors of the text or the "highlighting" color?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
07 Feb 2019 00:35 #125896
by cmorley
Replied by cmorley on topic Gcode window text color change Gscreen
can you post the theme's .gc file?
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
07 Feb 2019 00:43 #125899
by Ivan_The_Red
Replied by Ivan_The_Red on topic Gcode window text color change Gscreen
ill have to wait until tomorrow to post that file because im not in the shop right now. i dont know much about linux , would that file be located in my \usr\shared\themes\whatever theme directory ?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
07 Feb 2019 07:01 #125906
by cmorley
Replied by cmorley on topic Gcode window text color change Gscreen
yes it should be - if you downloaded normally (you can also put a copy in the configuration file so you can have customized themes for gscreen)
Gladevcp's Gcode display uses the gtk.STATE_SELECTED color from the theme.
It should be defined in the .rc file.
It's been a while so there may be more then one defined so hopefully it's clear when I read it.
Chris M
Gladevcp's Gcode display uses the gtk.STATE_SELECTED color from the theme.
It should be defined in the .rc file.
It's been a while so there may be more then one defined so hopefully it's clear when I read it.
Chris M
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
07 Feb 2019 07:03 #125907
by cmorley
Replied by cmorley on topic Gcode window text color change Gscreen
sorry it's actually called 'gtkrc' usually inside the gtk-2.0 folder.
Chris M
Chris M
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
07 Feb 2019 21:52 #125957
by Ivan_The_Red
Replied by Ivan_The_Red on topic Gcode window text color change Gscreen
Im looking at the file right now and there isnt any mention of that setting. If it helps, im using the Xfce-dusk theme from my Linuxcnc install.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
08 Feb 2019 10:29 #125992
by cmorley
Replied by cmorley on topic Gcode window text color change Gscreen
I use mint and that theme us not installed - can you compress the whole them and post it?
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
21 Feb 2019 00:47 - 21 Feb 2019 00:49 #126840
by Ivan_The_Red
Replied by Ivan_The_Red on topic Gcode window text color change Gscreen
Finally had the time to get this file uploaded, sorry it took forever. There wasn't much to compress , the file was in a folder all by itself ?
Last edit: 21 Feb 2019 00:49 by Ivan_The_Red.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
22 Feb 2019 10:37 #126901
by cmorley
Replied by cmorley on topic Gcode window text color change Gscreen
So I looked into this:
If you are using linux 2.7 it's hard coded as yellow so you would need to edit the hal_sourceview.py file directly
If you are using master it should have been themed properly but I didn't think of the sequence of events so it gets the theme color before the theme is added -hence always the same base color.
I'm pushing a fix - it's small enough you could just edit the file.
After the change it's will follow the theme's base selected color.
It will probably be file but if you wanted to change it then change this in the gkrc file (what ever color you want of course):
base[SELECTED] = "#FF0000" # red
Let me know if you would rather instructions of what to edit directly
Chris M
If you are using linux 2.7 it's hard coded as yellow so you would need to edit the hal_sourceview.py file directly
If you are using master it should have been themed properly but I didn't think of the sequence of events so it gets the theme color before the theme is added -hence always the same base color.
I'm pushing a fix - it's small enough you could just edit the file.
After the change it's will follow the theme's base selected color.
It will probably be file but if you wanted to change it then change this in the gkrc file (what ever color you want of course):
base[SELECTED] = "#FF0000" # red
Let me know if you would rather instructions of what to edit directly
Chris M
Please Log in or Create an account to join the conversation.
- Ivan_The_Red
- Offline
- Premium Member
Less
More
- Posts: 92
- Thank you received: 2
23 Feb 2019 01:04 #126971
by Ivan_The_Red
Replied by Ivan_The_Red on topic Gcode window text color change Gscreen
Thanks for looking into this, I changed the value in the gtkrc file but it change anything. I found the .py file you were talking about in a few different places on my hard drive but i have absolutely no idea whats going on inside that file. If you have the time and desire i would sure like to know how to change the colors in that window for all of the elements including its background.
I also looked for different themes to see if that would be a work around but nothing suited my needs.
I also looked for different themes to see if that would be a work around but nothing suited my needs.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds