Am Freitag, 11. September 2015 schrieb Gerhard Zintel:
On Friday 11 September 2015, Gene Heskett wrote:
Greetings;
On wheezy, running the newest r14.0.2 TDE I think, from the looks
of the update done recently.
I have several other machines, all running a wheezy sourced
release, customized with a special pinned rtai patched kernel
because the main application they run is linuxcnc.
But they are running, generally, a simple XFCE interface. And that
program runs as well as its configured to do, something I am in the
middle of re-writing in an effort to fine tune the machines
performance.
One of the things I like to do is configure check from this nice
comfy office chair is by running it over an ssh -Y login from here.
But that has always been a problem child, a puzzling one because
neither machine has in its environment, a setting for colors called
FORGROUND or BACKGROUND.
But its a showstopper, and only for linuxcnc, which contains tcl
scripting that bails out of the program before the gui can be drawn
on this screen. Other programs which use x run just fine, at least
the ones I have tried. That includes gimp, but that machine has no
gimp loadable files on it.
pasted from the login screen:
_tkinter.TclError: unknown color name "BACKGROUND"
Shutting down and cleaning up LinuxCNC...
If it ever gets past that, it will do the same for the FOREGROUND
color. BTDT but this machine was running an older ubuntu at the
time. And its been long enough since I hacked around it that today
I haven't a clue what I did then.
Does anybody have any suggestions on how to deal with this?
FWIW, the "simulated machine" version of that software runs just
fine on this machine.
Cheers, Gene Heskett
Gene,
it might be due to the fact that I'm no native speaker but - I have no
clue what you are trying to do. Can you elaborate a bit more staight
forward? Where does your workflow stop during the process? What are
the command lines you are using? Up to what point it works and where
does it stop? And what has gimp to do with that all?
Maybe others have more intuition with your description
Gerhard
BTW: You are the Gene from LAU mailing list?
I'm no native speaker, but I know what Gene is talking about :-)
Hi Gene!
you may want to add this line on your remote machines .bashrc:
xrdb -all -query|sed -e '\''s#[A-Z_]*BACKGROUND# gray90#'\'' -e
'\''s#[A-Z_]*FOREGROUND# Black#'\'' -e
'\''s#[A-Z_]*HIGHLIGHT#White#'\'' -e
'\''s#[A-Z_]*LOWLIGHT# Black#'\''|xrdb -merge;
This has to go in one line. It's just the part of the "alias"-line I sent
you ages ago to make linuxcnc work on TDE :-) This is the line as an alias:
alias linuxcnc='xrdb -all -query|sed -e '\''s#[A-Z_]*BACKGROUND#
gray90#'\'' -e '\''s#[A-Z_]*FOREGROUND# Black#'\'' -e
'\''s#[A-Z_]*HIGHLIGHT# White#'\'' -e
'\''s#[A-Z_]*LOWLIGHT# Black#'\''|xrdb -merge; linuxcnc'
Again, just one line :-)
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA.