trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: March 2019

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

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 21 Mar 2019 00:36:47 -0500
On 03/20/2019 11:46 PM, J Leslie Turriff wrote:
> You're apparently misunderstanding what I'm looking for.  I don't want
> this program to Always start when I login, only when it was running at
> the time that I previously logged out.  That's why I wondered if some
> sort of DCOP wrapper might be appropriate.
> 

Leslie,

  To accomplish what you want, you application needs a .desktop file which is
basically how kde session-manager keeps track of what is running when logout.
You can

$ cat ~/.kde/share/config/ksmserverrc

(or make the TDE name changes needed, I don't think the config files are renamed)

  Anyway, you can create a desktop file for whatever application you have that
you want to restart (easiest way is with kmenuedit and just create an icon for
your program and TDE will create an entry in ~/.local/share/applications.

  If I recall correctly, once TDE can associate the running application with a
desktop file in applications it can restart, then the session manager can add
it to ksmserverrc for restart on login

-- 
David C. Rankin, J.D.,P.E.