CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-02-2011, 08:39 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road
Touchy interface with different GTK theme

Was fooling with themes and the Touchy interface.
I patched it to use a different theme then the system.
I think the red buttons look better then the blue.
Or maybe both...
Attached Thumbnails
Click image for larger version

Name:	Screenshot-EMC2-Touchy.jpg‎
Views:	133
Size:	68.4 KB
ID:	137625  
Reply With Quote

  #2   Ban this user!
Old 07-03-2011, 01:48 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

yea like the layout , can you post your changes ?
love to try it
Reply With Quote

  #3   Ban this user!
Old 07-03-2011, 02:08 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

You need to download the blue-joy theme:
Download GNOME-Look.org
It has to go in the usr/share/themes folder (you need root permission to do that)
At that point you could change the theme for the whole system and load Touchy.
The buttons will be blue

I then loaded the button PNG with GIMP and changed the color to red.
I just changed the button image so everything else is still blue

To allow one to just change the theme on Touchy,
I patched EMC 2.5 ,downloaded with git. (patch attached)
From there on the preference tab one can choose what ever theme that is available.
Attached Images
 
Reply With Quote

  #4   Ban this user!
Old 07-03-2011, 02:11 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Sorry I couldn't upload the file as a patch so renamed it as a txt file.
Attached Files
File Type: txt touchy_gtk_theme.txt‎ (9.1 KB, 31 views)
Reply With Quote

  #5   Ban this user!
Old 07-03-2011, 03:21 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

A little bit of color makes a big difference:
Attached Thumbnails
Click image for larger version

Name:	Screenshot-EMC2-Touchy-1.jpg‎
Views:	104
Size:	80.8 KB
ID:	137639  
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-03-2011, 09:05 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

Originally Posted by chester88 View Post
A little bit of color makes a big difference:
great ! i'm loving it , flash next !
cant wait for the next instalment . all compiled ok here btw
Reply With Quote

  #7   Ban this user!
Old 07-03-2011, 02:45 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Here is the patch that includes the ability to change the DRO text colors.
(again uploaded as a text file but really is a patch file)

after applying the patch you have to manually change them in the .touchy_preferences file.

It is found in your home file folder but is hidden. Click on view / show hidden
Its a text file.

If you have already run touchy after the patch you'll see:
dtg_textcolor = default
abs_textcolor = default
rel_textcolor = default

change or add them :
dtg_textcolor = #0B33E9
abs_textcolor = #EB1B11
rel_textcolor = #00FF00

Not sure there is anything else I would change on Touchy (color wise). This was the best looking theme I found but I don't actually use Touchy.

I am getting interested in building another GTK based frontend and was just playing with what could be done to make the GUI look better / more configuarable.
Both Touchy and Axis are well thought out and functional.
The only real complaints I have heard about AXIS and Touchy is that they are restrictive on what can be added or changed eg for custom controls. Glade_vcp helps a lot but still they are restrictive about where the panels go.
Touchy could use the graphic display.
(All my opinion)

The worry with a totally configurable GUI is it is usually easy to make it not work properly.

I looked at a few MACH3 screens but most of them look too crowded to me.
If you find a better theme or screen let me know or suggestion let me know.
Attached Files
File Type: txt touchy_gtk_theme__with_dro_textcolor.txt‎ (11.4 KB, 30 views)
Reply With Quote

  #8   Ban this user!
Old 07-04-2011, 03:37 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

yes i'd agree with your idea's too , mach is far too cluttered for a machine
but for gui idea's etc the screensets and flash are good .

i for one would like to see EMC2 reach the same gui feel
as that for me is the real letdown , but dont get me wrong i love Emc far more than Mach for it's functionality .

what's your feeling about using QT4 ? for developing themes has anyone try'd ? or some form of flash , similar to Mach is this feasable

i hope to get into the GUI side shortly and see what can be turned out
this theme has given some great thoughts , only now need to practice it

i presume this theme could be used across other EMC screen gui's at some stage
Reply With Quote

  #9   Ban this user!
Old 07-04-2011, 03:42 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

also for example , for ideas , i would like to go for something like the 'Benny's screen '
screenset for mach3 .

so your definately on the right road Chris
Reply With Quote

  #10   Ban this user!
Old 07-04-2011, 04:46 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

I have not used QT at all nor do I know any developer that has used it in EMC.
There is python bindings I think, pyqt ? That would make it easier as there are modules for the rest of the 'glue' for EMC using python.
Is QT better looking?

I want to use gtk and glade. I have the most experience with them.
I had already patched touchy to allow adding of gladvcp widgets to touchy but that was not excepted.

Now that I found one can make GTK pretty it motivates me to build my own highly configurable GUI.

I think Benny's screens are controls placed over images. i'll have to play with that.
Might be interesting to build buttons that display custom user images when on and off.
actually this is how the Blue-Joy theme works - though all buttons show the same images.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-04-2011, 04:52 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

This theme can not be applied to AXIS or TKemc as they use tkinker for gui widgets.
I'm sure there is a way to change their theme too I just not as interested in researching it.
I have patched gladevcp to allow GTK theme changes (it of course uses GTK)
Which actually can make them look better when inside AXIS.
Reply With Quote

  #12   Ban this user!
Old 07-04-2011, 05:21 AM
 
Join Date: Jan 2007
Location: UK
Posts: 97
cncbasher is on a distinguished road

the reason i mention QT is the fact not only for the Gui , but bonus of being cross platform should the need arise at some stage .

Qt — Qt - A cross-platform application and UI framework

and that it's used for mobile phone use , so evolving over time touch screens and stuff , could be interesting for quite a number of applications within EMC
pendants for example .
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- cnc interface gabrielmrc Stepper Motors and Drives 0 01-05-2011 08:09 AM
User profile not respecting the selected "Theme" coykiesaol Autodesk Software (Autocad, Inventor etc) 0 12-07-2010 12:40 AM
Need Holiday theme dxf files turftoes General CAD Discussion 0 11-22-2010 10:36 AM
usb interface turion Open Source CNC Machine Designs 3 08-25-2010 11:24 AM
MARIO BROTHERS THEME SONG Musick7 Videos 3 08-24-2009 09:09 PM




All times are GMT -5. The time now is 05:04 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361