Page 1 of 1

restart application on login?

Posted: Sat Oct 24, 2009 9:39 am
by davemilter
I wonder can lxde restart applications after login?

I mean, lets say I run opera and xterm, after that logout.
On the next login and start of lxde can it run opera and xterm automaticaly?

Re: restart application on login?

Posted: Sat Oct 24, 2009 1:54 pm
by Neal
To start an app on log in, add it to your /home/"name"/.config/Autostart and /usr/share/autostart folders.

Re: restart application on login?

Posted: Sat Oct 24, 2009 3:28 pm
by davemilter
Neal wrote:To start an app on log in, add it to your /home/"name"/.config/Autostart and /usr/share/autostart folders.
I don't mean that I start again and again the same set of applications,
I want to see applications that I not close before logout in previous session.

Re: restart application on login?

Posted: Sun Oct 25, 2009 2:19 pm
by maces
Hi

For me that's the same, could you explain it a bit more detailed?

maces

Re: restart application on login?

Posted: Sun Oct 25, 2009 3:57 pm
by davemilter
maces wrote:Hi

For me that's the same, could you explain it a bit more detailed?
There difference is dynamic vs. static.

For example if you technical writer, in every day job you need OpenOffice's writer and
Thunderbird, so you edit autostart scripts/configs and in after login you see text processor and
mail client windows, this is static autostart.

But if you technical writer and at then end of day you have open several files 1.pdf and 2.pdf,
a.doc and b.rtf and want continue working with these documents at the next morning,
at another end of day you have open 3.pdf and 10.pdf and also c.txt and also want
continue working with these documents at the next day.

Of course you can edit configuration at the end of each day, before switch off computer,
but for what then Desktop Environment?

As I know xfce, kde and gnome can restart applications that were not closed before login,
without any manual editing, so this is some kind of common functionality of DE,
and I wonder is this implemented in LXDE.

Re: restart application on login?

Posted: Mon Oct 26, 2009 11:31 am
by maces
Oh I see, thanks for clearing. AFAIK that's not possible in LXDE at the moment. Feel free to add a future request in the tracker.

maces