trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: March 2019

Re: [trinity-users] Making TDE aware of non-Trinity applications

From: Gene Heskett <gheskett@...>
Date: Mon, 11 Mar 2019 12:15:44 -0400
On Monday 11 March 2019 09:40:53 Dr. Nikolaus Klepp wrote:

> Hi Gene!
>
> Anno domini 2019 Mon, 11 Mar 07:49:50 -0400
>
>  Gene Heskett scripsit:
> > On Monday 11 March 2019 04:49:49 Dr. Nikolaus Klepp wrote:
> > > Anno domini 2019 Sun, 10 Mar 11:56:17 -0500
> > >
> > >  Michael scripsit:
> > > > On Sunday 10 March 2019 11:02:50 am Gene Heskett wrote:
> > > > > On Sunday 10 March 2019 11:35:32 BorgLabs - Kate Draven wrote:
> > > > > > On Sunday 10 March 2019, J Leslie Turriff wrote:
> > > > > > > 	Is there a way to make TDE aware of running non-Trinity
> > > > > > > applications so that they can be resurrected after
> > > > > > > Logout/Login?  I have at least one X11-based application
> > > > > > > (X2 - The Programmer's Editor) that I use extensively, and
> > > > > > > it would be nice if it could remember across Logout/Login
> > > > > > > events. I'm wondering if something like a DCOP wrapper
> > > > > > > might do the job?
> > > > > > >
> > > > > > > Leslie
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ----------------------------------------------------------
> > > > > > >---- ------ -
> > > > > >
> > > > > > Load the application into your autostart dir.
> > > > > > /home/foo/.trinity/autostart
> > > > > > Also, check the program's setting to see if it has an
> > > > > > autostart feature.
> > > > > >
> > > > > > Kate
> > > > >
> > > > > Hi Kate; I have some stuff in that caregory, and since I'm the
> > > > > only (sorta human) user, I've found a start stanza for such in
> > > > > /etc/rc.local works well if it doesn't need a login. And since
> > > > > I setup ssh-keys, all that stuff now works well after a fresh
> > > > > boot. So all my other machines that are alive, are mounted to
> > > > > /sshnet at a reboot without my having to remember 4 to 6 of
> > > > > those commands to do by hand each time.
> > > >
> > > > Gene, Kate,
> > > >
> > > > Would either of these work for launching several of these types
> > > > of Konsole commands like (using keys for login):
> > > >
> > > > ssh "$PORT" -L 11111:$IP:25 -L 22222:$IP:110 "$ACCOUNT@$IP"
> > > >
> > > > at TDE login?
> > >
> > > Sure it works. But you have to make sure that you kill the ssh
> > > instance when logging out of TDE :-)
> >
> > I am not, at least consciously.  Is that why a logout here is a full
> > hot reboot?
>
> That logout behaviour can be configured somewhere in tcontrol (I have
> mine to just fhut down the machine and don't ask me again). The
> problem with the ssh example is that when user A logs out and ssh is
> not closed, and a user B logs in, then B still has the portredirection
> of A in place ... which could lead to funny helpdesk calls, 'cause the
> cure number 1 aka "reboot" will seamingly fix the problem for user B
> ... till user A wants to log in and calls the helpdeskt which tells
> him to reboot which solves the problem for user A till user B wants to
> log in and calls ... *sigh* ... things could be so easy if users just
> were not creative :-)
>
> Nik
>
Yeah Nik, but we are creative. Like my email handling here. This reply 
was as the result of hitting the + key, which takes me to the next 
unread message, I chose to reply to list (or I can tap the + key to go 
to the next unread). clicked on that button, and now I'm typing. When 
I've said with my fingers what I want, a ctrl+return sends it.

Wash, rinse, repeat.

Fetchmail runs and gets new mail on a 3 minute loop, hands it off to 
procmail which runs it past spamd, then clamd, which sends the spam 
straight to the spam folder, the detected viri to a mailfile I delete 
occasionally, and puts the rest into /var/spool/mail.

Inotifywait sees the closing of that file and exits with the name of that 
file, which saves the name for a couple millisecs, in a bash script that 
sends kmail a getmail message and restarts inotifywait. I 
start "mailwatcher" in the /etc/init.d facility, and kmail is started 
when I log in.  So all I do is the wash. rinse, repeat.

Computers are for doing your work for you, so make em do it. :) Besides, 
I'm getting lazy in my dotage, in addition to being slowly converted to 
bionic. I've gained plastic eyes and a pacemaker in the last 5 months 
since I hit 84. ;-)

As D.A. said, thanks for the fish. Yes I'm careing for my wife of 30 
years this fall, whose slowly failing from COPD and osteoporosis, but I 
have enough other interests to keep me out of the bars. I'm in the 
middle of bringing a 5th machine tool to life, a 600x390mm gantry mill, 
by running it with LinuxCNC. So my garage and a shop building in the 
back yard both runeth over, plus I have most of the last 3 fancy blanket 
chests I'm making cut out, but got some badly warped mahogany for lids. 
I stuck the supplier for another $400 in air dried mahogany over that. I 
cut all the Green & Green joinery for those on a cnc mill, now awaiting 
assembly once warmer weather arrives and I can work outside. Too many 
hobbies for an old fart and the limited amount of real estate under roof 
and heated.

Take care now Nik.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>