Am 30.11.2015 um 15:57 schrieb Gene Heskett:
> Greetings all;
>
> One of the things I always have to do, usually from another tab of the
> same terminal window that I run "linuxcnc -l" from, is to remember to
> also do a "xset -dpms" to shut off the screen blanker & monitor off
> commands.  If I forget (way too easy for me) and the job is a long
> running job, its frustrating to have to go tap the space bar or wave the
> mouse around to bring it back to life.
>
> How hard would it be to incorporate that into the successful launch of
> linuxcnc, issueing an "xset -dpms" as it sits and waits for the exit
> cleanup, and again at shutdown after the cleanup, by haveing the
> script /usr/bin/linuxcnc issue a fresh "xset +dpms";"xset dpms time1
> time2 time3", where the times might be read from a . file in the users
> ~/HOME directory?
>
> If this needs controlled because some of us never use the blanker in the
> first place, perhaps a KEYWORD in the .ini file could be used to switch
> this on/off?
>
> Perhaps maximum versatility would be to "dot source" a pair of files,
> doing nothing if they do not exist?  The startup could set really long
> delays so they would kick in if one just walks away while its running,
> or the usual short delays when its been shut down.
>
> A first glance at /usr/bin/linuxcnc looks like it could be doable, but I
> haven't a good clue as to exactly where in it to do it.
>
> Comments?  Suggestions?
>
> Thanks all.
>   
> Cheers, Gene Heskett
Hay Gene,

why don't you use a normal bash script to run all programs and load then 
linuxcnc.
I do that if i want to run master, than I need to do first a . 
./scripts/rip-environment, so I just make a script to do taht for me and 
then it starts linuxcnc.

Norbert

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to