Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: KDE: How to save more than 1 session and choose one on login?

  1. #1

    Default KDE: How to save more than 1 session and choose one on login?

    Can someone tell me how to save more than 1 session (in KDE) and choose among them at login?

    I have several different projects I'm working on each month. Any particular project requires me to have 3-8 documents open (to read, sometimes .doc, sometimes .pdf), a number of different webpages (also for reading), alone with 2-3 different docs open in editors.

    When I want to switch from project A to project B (or from project B to playing games), it is nice to be able to close everything, have a clear memory (and desktop/workspaces) and then be able to go back to project A or B or games, etc. later in the day, tomorrow, next week, etc.

    There must be a way to do this, right? The basic session saver does a GREAT job saving 1 session for me, so it must have a way to remember several and let me choose. But how?

    Searching in forums only produced this little nugget from an old post: That I can use
    qdbus org.kde.ksmserver /KSMServer saveCurrentSessionAs "name"

    to save any particular session with a particular name. But then how do I reload that one as opposed to another? (For that matter, where does it save them?)

    Thank you in advance for any help!

    Rick

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: KDE: How to save more than 1 session and choose one on login?

    You could consider having more than one user account. Then log in to the appropriate one. Then configure each to preserve sessions via System Settings >> Startup and Shutdown >> Session Management.

  3. #3

    Default Re: KDE: How to save more than 1 session and choose one on login?

    On 07/27/12 21:36, rabarrett pecked at the keyboard and wrote:
    > Can someone tell me how to save more than 1 session (in KDE) and choose
    > among them at login?
    >
    >

    Use different logins for each.

  4. #4
    dd@home.dk NNTP User

    Default Re: KDE: How to save more than 1 session and choose one on login?

    On 07/28/2012 03:36 AM, rabarrett wrote:
    > There must be a way to do this, right?


    back in the old days ('90s) with OS/2 you could create a 'work folder'
    on the desktop and place in it (links to) an open copy of (for example)
    a pdf viewer open to a particular pdf, a web browser open to a page,
    docs open in editors/applications a spread sheet open to (say) Taxes2012..

    and, then work on (say) your personal income taxes ...when done with
    that for the day, then just close that 'folder' and it and all in the
    folder would close....and none of the browsers, editors, doc viewer,
    spread sheets etc etc etc etc inside were left running..

    tomorrow, just click on the folder, and when it opened everything inside
    it opens to just where you were yesterday when you closed it..

    maybe a FATE <https://features.opensuse.org/> could be worthwhile....OR
    does KDE's "Activities" do the same???? (i've not used "Activities" but
    if it does as described, then i will begin!)

    --
    dd

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: KDE: How to save more than 1 session and choose one on login?

    Quote Originally Posted by kensch View Post
    On 07/27/12 21:36, rabarrett pecked at the keyboard and wrote:
    > Can someone tell me how to save more than 1 session (in KDE) and choose
    > among them at login?
    >
    >

    Use different logins for each.
    I am with those promoting this. Typicaly a case for diferrent user acounts. It will not only enable you to keep different sessions saved, but also to keep the complete environments apart. Thus having a complete different Desktop look for different project/user (even KDE for one and Gnome for other). And, as one can have different sessions open at the same time, you can easily switch between ssesions and thus users and thus projects, with a simple Ctrl-Alt Fn with no need to log out/in all the time during he day when you want to change.

    Also keeping apart all the files from the different projects ensures that interference between them is avoided.
    Henk van Velden

  6. #6

    Default Re: KDE: How to save more than 1 session and choose one on login?

    Well, I appreciate the idea of having multiple users, though I'm not sure it's idea, it's a possible work around to what I want.

    It seems like it will require setting up n profiles, n browsers and other options & specifications (the way I want, even if they're the same from one user to another), etc.

    There's also a little difficulty in accessing similar files, though I suppose I could share directories, etc.

    It's a reasonable work around, but since the capability is clearly there (if KDE can save one session for each user), why isn't there a way to save multiple sessions and choose?

    Thanks for the (partial) solution/work around, I hadn't thought of that yet.

    Rick
    (I'll look into "Activities," I'm not sure what's being referred to yet.)

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: KDE: How to save more than 1 session and choose one on login?

    Quote Originally Posted by rabarrett View Post
    There's also a little difficulty in accessing similar files, though I suppose I could share directories, etc.
    That is done by making users sharing the same group and then users giving apropriate read/write/execute access to the group.
    Unix/Linux is a multi-user system and you should at least understand the basics of this.
    Quote Originally Posted by rabarrett View Post
    It's a reasonable work around, but since the capability is clearly there (if KDE can save one session for each user), why isn't there a way to save multiple sessions and choose?
    Because it is saved in a specific set of files in the users home directory. And as long as the desktop software (like KDE) does not implement having multiple sets in there (and a way to differentiate between them)), there is but one /homerabarrett/.kde4/.... for user abarrett.

    It might be possible to design/program such a feature. But my guess is that you must try to ask that in a Feature Request facility of e.g. KDE or Gnome, or where you want it. Be prepared then to offer a solid case, because support for your case must come from those who want this like you and who see there it is a possibility to make it.
    Henk van Velden

  8. #8

    Default Re: KDE: How to save more than 1 session and choose one on login?

    Using multiple users ended up being a very poor solution. There are just too many preferences I have to reset within each profile: display properties, web browser extensions and book marks, email program preferences, etc, etc. Having to set them all to my preferred choices in each program for each of 5 users is a lot of pointless work. It would be nice if I could just choose from several sessions. Programmers see the need for multiple desktops, why not multiple sessions saved?

  9. #9

    Default Re: KDE: How to save more than 1 session and choose one on login?

    On 08/25/12 23:26, rabarrett pecked at the keyboard and wrote:
    > Using multiple users ended up being a very poor solution. There are
    > just too many preferences I have to reset within each profile: display
    > properties, web browser extensions and book marks, email program
    > preferences, etc, etc. Having to set them all to my preferred choices
    > in each program for each of 5 users is a lot of pointless work. It
    > would be nice if I could just choose from several sessions. Programmers
    > see the need for multiple desktops, why not multiple sessions saved?
    >
    >


    Just set them up in the first user profile and copy them to the other
    ones. It's just a matter of a couple of directories. And make sure you
    change the perms on the copies to the new user profile.

    Just a thought.

  10. #10

    Default Re: KDE: How to save more than 1 session and choose one on login?

    Quote Originally Posted by rabarrett View Post
    Using multiple users ended up being a very poor solution.
    Absolutely - I disagree with everyone here. You don't create a new user for the sole purpose of restoring a session. We're not the Borg.

    Quote Originally Posted by rabarrett View Post
    There are just too many preferences I have to reset within each profile: display properties, web browser extensions and book marks, email program preferences, etc, etc. Having to set them all to my preferred choices in each program for each of 5 users is a lot of pointless work.
    You could at least have changed and exported KDEHOME before login to avoid adding users .. but it would just have been another stupid workaround.


    Quote Originally Posted by rabarrett View Post
    It would be nice if I could just choose from several sessions. Programmers see the need for multiple desktops, why not multiple sessions saved?
    It seems not to be possible (or I don't know how) without hacking ksmserver. I posted a hack (not a solution) here: http://forums.opensuse.org/english/o...-sessions.html. But if it works for you, you can call it a 'solution'.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •