Open applications keep open after restart/relogin.

The standard session manager used by LXDE - http://wiki.lxde.org/en/LXSession
markov
Posts: 3
Joined: Thu Feb 25, 2010 10:53 am

Open applications keep open after restart/relogin.

Postby markov » Thu Feb 25, 2010 10:59 am

Hi,

I want my open apps te be open after a restart.

How can I accomplish this??

Marc

--
What's on Shortwave guide: choose an hour, go!
http://shortwave.tk
700+ Radio Stations on SW http://swstations.tk
300+ languages on SW http://radiolanguages.tk

Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Open applications keep open after restart/relogin.

Postby Marty Jack » Thu Feb 25, 2010 12:47 pm

This is not a feature that we offer at this time.

markov
Posts: 3
Joined: Thu Feb 25, 2010 10:53 am

Re: Open applications keep open after restart/relogin.

Postby markov » Thu Feb 25, 2010 4:43 pm

Marty Jack wrote:This is not a feature that we offer at this time.


I have tried .xsession, and .Xmodmap, there must be some standard X feature??

I can put a list of apps in it: (but X needs to be active)

winmgr=${XDG_MENU_PREFIX}

case "${winmgr}" in
lxde*)
firefox &
thunderbird &
knode &
konsole &
;;
esac


Marc

markov
Posts: 3
Joined: Thu Feb 25, 2010 10:53 am

Re: Open applications keep open after restart/relogin.

Postby markov » Thu Feb 25, 2010 6:52 pm

markov wrote:
Marty Jack wrote:This is not a feature that we offer at this time.


I have tried .xsession, and .Xmodmap, there must be some standard X feature??

I can put a list of apps in it: (but X needs to be active)


I found some stuff:

http://openbox.org/wiki/Help:Autostart
from
http://openbox.org/wiki/Help:Contents

but do not know/understand what to install to autostart some apps...

Marc

Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: Open applications keep open after restart/relogin.

Postby Marty Jack » Thu Feb 25, 2010 7:12 pm

See here:

viewtopic.php?f=8&t=1354

The basic idea is that /etc/xdg/lxsession/LXDE/autostart is just like .xinit
And do avoid adding the @ signs or else you will not be able to successfully exit these applications.

mdb
Posts: 2
Joined: Tue Apr 27, 2010 8:13 am

Re: Open applications keep open after restart/relogin.

Postby mdb » Tue Apr 27, 2010 9:54 am

Reopening whatever applications were running in the last session is
different to always automatically starting an application on login.
Are there any plans to incorporate the former feature?

Alternatively, is there any way of using LXDE, or just Openbox, in
combination with something else that will allow this?

I'm using Debian Lenny KDE 3 user looking for an alternative to KDE before
I'm forced to "upgrade" to the dreadful KDE 4 in the next Debian release.
I've been playing with LXDE and I like it a lot.

However, I typically have a lot of windows open across 4 desktops
and I'm used to being able to pick up where I left off on the variety
of tasks associated with them - so this is the only major drawback
I've encountered with LXDE.

(If I use KDE + Openbox, the apps are restored, but all the windows
are opened (even if they were minimized on logout), and they are al
opened in the first desktop. Anyway, KDE is what I'm trying to escape from.)

markov035
Posts: 1
Joined: Thu Apr 22, 2010 4:16 pm

Re: Open applications keep open after restart/relogin.

Postby markov035 » Tue Apr 27, 2010 8:22 pm

I added some popular apps to

/etc/xdg/lxsession/LXDE/autostart

And that did the job.

Marc

mdb
Posts: 2
Joined: Tue Apr 27, 2010 8:13 am

Re: Open applications keep open after restart/relogin.

Postby mdb » Wed Apr 28, 2010 8:07 am

Thanks for your reply, Marc, but while that might work for you,
it's not a solution to the problem as you originally described it,
which is what I am in interested in. As I pointed out above,

Reopening whatever applications were running in the last session is
different to always automatically starting an application on login.


In case it's still not clear:
Say you have 6 editor windows (for example), showing particular files
associated with some task you are working on. The next time you
log in, if those same editor windows are reopened with the same
contents, it saves an awful lot of time - you can immediately pick up
where you left off. This is different to setting up, e.g., a browser
and a mail client to always start automatically: in the problem I am
talking about the applications that need to be started vary from one
login to the next - i.e., whatever was running the last time you
logged out.

So my question above is not for you, but someone like Marty Jack,
who said that this isn't currently a feature of LXDE, but might have
some ideas or information about it.

FabianoRosas
Posts: 1
Joined: Wed Aug 15, 2012 1:34 am

Re: Open applications keep open after restart/relogin.

Postby FabianoRosas » Wed Aug 15, 2012 1:50 am

Not meaning to bring the topic back from the dead, but my question is exactly the same as mdb's:

mdb wrote:Reopening whatever applications were running in the last session


and since it has been 2 years since you left the guy hanging I wonder if any improvement was made on this matter...

And also, I have checked the man entry for lxsession and it states that:

when the user logout, it remembers the applications in use, and restart them the next time you login.


and that's not the behavior on my system. I can never get back to a previous session after logout.

Perhaps I missed something or I'm doing something wrong?



Thanks in advance.


Return to “LXSession (Lite)”

Who is online

Users browsing this forum: No registered users and 2 guests