Operating System - HP-UX
1834481 Members
3233 Online
110067 Solutions
New Discussion

Re: CDE "hot key" having diff running program

 
Mike_316
Frequent Advisor

CDE "hot key" having diff running program

Hey Gang,

I have placed the following line in the /etc/dt/config/C/sys.dtwmrc file ...


Print window f.exec "xwd | /opt/graphics/common/bin/xwd2sb | /opt/graphics/common/bin/pcltrans -I -q | lp -oraw -onb "

...It HAD been working (I.E. Whenever the print screen button was pressed it brought up an xwd cursor, which when clicked on a window, sent that window to the default printer.

NOW, when you hit the print screen button, the xwd cursor comes up, but after clicking on the window, nothing happens.

If I cut and paste the command part of the line, I.E. the ...


xwd | /opt/graphics/common/bin/xwd2sb | /opt/graphics/common/bin/pcltrans -I -q | lp -oraw -onb

...part, it works fine.

Nothing that we know has changed in the CDE or any other config.

Any suggestions?

Thanks!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie
1 REPLY 1
Mike_316
Frequent Advisor

Re: CDE "hot key" having diff running program

NEVERMIND! I forgot that the sys.dtwmrc is only used to create the users home dtwmrc. After updating the sys.dtwmrc, I deleted the users dtwmrc, logged back in using CDE and everything worked fine.

I still do not know what the key which I had PREVIOUSLY programmed stopped working before I made ANY of these changes, however deleting and recreating the dtwmrc file seemed to have fixed that too.

Thanks anyway!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie