this post was submitted on 13 Apr 2026
0 points (NaN% liked)
Linux Questions
3903 readers
1 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Back in the x11 days I had a script that would take a config file and open multiple programs in a specified arrangement across my displays.
I used KDE activities by task and had such a config for each task. KDE activities can run arbitrary scripts on being started. So when I opened the "work" activity for example, all my work apps would open up in my preffered arrangement. When I opened the gaming activity, steam would start on my side monitor and the main monitor had all of the other gaming related shortcuts on it etc.
Together with the preload daemon or a custom vm-touch (i switched from one to the other at some point) it was blazingly fast and very comfy. (Again, I overprovisioned my RAM so I used it by filling it post boot with a cache of pages that my apps load on startup)
Then wayland came and broke it and I didn't bother to fix it yet.
But everybody has their own prefered workflows, I'm not saying one is better than the other. Just wanted to share.
Omg absolutely separate from the purpose of this thread, but would you happen to have copies of such scripts or could you recommend some tutorials on KDE activities? I usually prefer lean DEs, but every once in a while KDE makes it so difficult for me to say no to them.
Really thank you for sharing your insight and experience on this.
KDE activities don't get much dev love, so be warned.
The activity script hooks are (or were for a long time, idk how it is now) an undocumented feature.
I'll dig all the stuff out for you later today.
Here you go:
Everything should be documented there
https://git.sr.ht/~deckweiss/x11_activity_session
It probably can be adopted to wayland (or even native kde tiling) with a bit of tinkering.
I'm instacloning this. I get from the files and from previous experience with KDE that it can be done, I just haven't gotten enough tinkering experience outside of the classics such as wmctrl to do that yet.