Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.lang.perl.misc > #8770
| From | Josef Moellers <josef.moellers@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.perl.misc |
| Subject | Re: Restart Perl Application upon KDE Restart |
| Date | 2013-07-19 23:00 +0200 |
| Message-ID | <b4tnobF2b62U1@mid.individual.net> (permalink) |
| References | <b4qfe2Fbd7qU1@mid.individual.net> <ks9i9d$1bf8$1@news.ntua.gr> <qsqdnTHib9S-yXXMnZ2dnUVZ8hadnZ2d@giganews.com> |
On 07/18/2013 10:46 PM, Henry Law wrote: > On 18/07/13 21:13, George Mpouras wrote: >> define you script here >> >> /etc/rc.local > > George, I don't think that's what the OP wants. If you read the post > you'll see > >> e.g. when I exit without closing firefox, >> thunderbird, kate, they are all restarted > > So I think what's required is some way to register a Perl application > with KDE such that if it is shut down ungracefully (i.e. by the system > rather than the user) then KDE will know to restart it. Exactly. I *do* know that it's somehow ksmserver's responsibility and the applications that are running (and would therefore be eligible for restart) are recorded in said ~/.kde/share/config/ksmserverrc, but I doubt that I can just modify that file without telling ksmserver! > > It seems that he also wants some "snapshot" capability which will allow > KDE to apply some logic to the restart; in the case of the browser this > means opening the pages that were open at the point of shutdown. What > that might mean in the case of the Perl application I couldn't say. I think it would be OK to just restart the application. Restoring the application's internal state might be the application's responsibility, e.g. by storing it in an rc file in the user's home directory. > That said, I have no idea what the answer is. Thanks anyway. Josef
Back to comp.lang.perl.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Restart Perl Application upon KDE Restart Josef Moellers <josef.moellers@invalid.invalid> - 2013-07-18 17:20 +0200
Re: Restart Perl Application upon KDE Restart "George Mpouras" <nospam.gravitalsun.antispam@spamno.hotmail.anispam.com.nospam> - 2013-07-18 23:13 +0300
Re: Restart Perl Application upon KDE Restart Henry Law <news@lawshouse.org> - 2013-07-18 21:46 +0100
Re: Restart Perl Application upon KDE Restart Josef Moellers <josef.moellers@invalid.invalid> - 2013-07-19 23:00 +0200
Re: Restart Perl Application upon KDE Restart Ben Morrow <ben@morrow.me.uk> - 2013-07-19 22:44 +0100
Re: Restart Perl Application upon KDE Restart Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2013-07-20 23:35 -0400
Re: Restart Perl Application upon KDE Restart Ben Morrow <ben@morrow.me.uk> - 2013-07-21 17:13 +0100
Re: Restart Perl Application upon KDE Restart Bjoern Hoehrmann <bjoern@hoehrmann.de> - 2013-07-21 20:21 +0200
Re: Restart Perl Application upon KDE Restart "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2013-07-21 20:22 +0200
Re: Restart Perl Application upon KDE Restart "George Mpouras" <nospam.gravitalsun.antispam@spamno.hotmail.anispam.com.nospam> - 2013-07-22 02:14 +0300
Re: Restart Perl Application upon KDE Restart Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2013-07-23 07:16 -0400
Content-Transfer-Encoding: vs. Usenet Ivan Shmakov <oneingray@gmail.com> - 2013-07-25 08:15 +0000
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-25 13:59 +0000
Re: Restart Perl Application upon KDE Restart "Adam H. Kerman" <ahk@chinet.com> - 2013-07-25 15:00 +0000
Content-Transfer-Encoding: vs. Usenet Ivan Shmakov <oneingray@gmail.com> - 2013-07-25 15:19 +0000
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-25 17:40 +0000
[OT] Content-Transfer-Encoding: vs. Usenet Ivan Shmakov <oneingray@gmail.com> - 2013-07-25 19:30 +0000
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-25 21:54 +0000
Re: Content-Transfer-Encoding: vs. Usenet Rainer Weikusat <rweikusat@mssgmbh.com> - 2013-07-25 23:04 +0100
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-26 00:02 +0000
Re: Content-Transfer-Encoding: vs. Usenet "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2013-07-26 01:36 +0200
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-26 02:07 +0000
Re: Content-Transfer-Encoding: vs. Usenet Ben Morrow <ben@morrow.me.uk> - 2013-07-26 04:46 +0100
Re: Content-Transfer-Encoding: vs. Usenet "Adam H. Kerman" <ahk@chinet.com> - 2013-07-26 04:34 +0000
Re: Restart Perl Application upon KDE Restart Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> - 2013-07-28 09:22 -0400
Re: Restart Perl Application upon KDE Restart Ben Morrow <ben@morrow.me.uk> - 2013-07-28 21:23 +0100
Re: Restart Perl Application upon KDE Restart "George Mpouras" <nospam.gravitalsun.antispam@spamno.hotmail.anispam.com.nospam> - 2013-07-18 23:24 +0300
csiph-web