Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LXQt: save session upon exit?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 178

PostPosted: Wed Oct 05, 2016 9:43 am    Post subject: LXQt: save session upon exit? Reply with quote

Does LXQt/openbox offer the possibility to save the session before logging off?

Meaning, when logging back again to be able to restore things like qterminal with all its tabs and working directories, okular with all the open PDF documents, open editor windows, and so on.

[Edit: Moved from previous thread to this standalone thread]
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Oct 06, 2016 9:23 am    Post subject: Reply with quote

In the past I used tuxonice

Code:

*  sys-kernel/tuxonice-sources
      Latest version available: 4.5.4
      Latest version installed: [ Not Installed ]
      Size of files: 86.643 KiB
      Homepage:      https://dev.gentoo.org/~mpagano/genpatches/ http://tuxonice.nigelcunningham.com.au/ https://github.com/NigelCunningham/tuxonice-kernel
      Description:   TuxOnIce + Gentoo patchset sources
      License:       GPL-2 freedist



The requirements are a big enough swap space on the hdd, running this kernel and configuring it.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Fri Oct 07, 2016 1:54 am    Post subject: Reply with quote

The mainline kernel has hibernate support too, but that is not what OP wants. Hibernate support does not help if you intend to change to a new kernel version, or you need to log off to let another user log in.
Back to top
View user's profile Send private message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 178

PostPosted: Thu Oct 13, 2016 12:05 am    Post subject: Reply with quote

Roman_Gruber, thanks for your reply, but as Hu pointed out, i am not looking for hibernation but for an X session manager: https://en.wikipedia.org/wiki/X_session_manager

LXQt has lxqt-base/lxqt-session but from what i can tell, it is unable to automatically identify the running applications and request them to save their state. As far as i can tell, the only option is for the user to add these applications to the session manager's list of "autostart" clients manually, one by one.

Most of the time this is probably OK: We usually want to start our DE with a small number of the same applications (terminal, etc.). But not always. For example, i would like to be able to restore a number of PDF files that were open when the previous session closed. They change from session to session, and there is no point entering them manually to the autostart list every time before closing the session!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum