I love that Activities are getting some love again!
Something that came up over and over again was the desire to use certain apps differently in different Activities. For example in your “Home” Activity, you could have your email client set up to only show your home email accounts, whereas in your “Work” activity, you could have the same app set up with only the work email accounts, or with both. But it would be the same email client app in each Activity, just configured differently!
[…]
We thought this feature would be useful even outside of Activities, so our conclusion thus far has been to build it first! After it’s in production and the kinks have been worked out, it would then become the basis for the Activities system’s new scope: “configure and use your apps and virtual desktops differently in each Activity.”
That makes a lot of sense.
There’s several applications that could benefit from such “settings (and state) profiles”:
- web browsers (I currently maintain the Activity-aware Firefox wrappers, but would love if this was automatic)
- text editors – e.g. different Kate Sessions bound to different Activities
- e-mail, as mentioned
- other chat applications – e.g. imagine having different sets of channels and contacts depending on the Activity (that might be hard to do, because the subscriptions are likely server-side)
One thing that might be a bit tricky is easily sending things (tabs, projects/files, contacts, …) from one such “containerised” Activity to another.
Another thing that I think would push Activities to the next level is the Wayland session-suspend / checkpoint restore that @David_Edmundson (sorry for the ping, mate
) demoed a few years ago. Just imagine per-Activity sessions that when you suspend it, it stores everything to the disk and when you restore that Activity, it resumes it exactly the way everything was.
I imagine a caveat of this ”Wayland checkpoint restore” might be how to handle apps and services that sync with other Activities/sessions/internet.
Anyway, super excited about this. And if Activity-suspend-and-restore can become more toolkit agnostic, that would be a dream come true!
(P.S. I really need to finish my blog post about how I use Activities … just so much to do)