r/linux4noobs • • 1d ago

Meganoob BE KIND Saving a set of windows for future use?

I'm using Bazzite, and I literally just switched, so my knowledge on Linux is extremely bare bones. I'd like to set up a group of windows on a screen and 'save' their layout so that I can open them all at once at any time. Specifically, I'm trying to have OBS and a few webpages open, since from what I can tell, flatpak OBS can't add custom docks. Is there a way to do this? Or is it a manual process every time?

4 Upvotes

5 comments sorted by

1

u/AutoModerator 1d ago

✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-4

u/ask_compu 1d ago

linux is not "barebones", i think KDE (the desktop environment bazzite uses) might be able to do what u need, it can certainly save window locations and sizes and force them when an app opens, having all the apps open at once can likely be done via a script

6

u/Zachalope64 1d ago

Linux isn't, but my knowledge on it is. I don't know what you mean by a script.

1

u/DannoXYZ 1d ago edited 1d ago

Think of it as series of commands, or a recipe or movie script that's directing actors:

open web-browser window#1, position AxB, url=blah
open web-browser window#2, position CxD, url=blah2
open web-browser window#3, position ExF, url=blah3
tell X10 box#5 to turn on coffee machine

You can save these into single text file. So when you double-click it, it runs all your commands so you don't have to do it all manually.

1

u/ask_compu 1d ago

windows has .bat files

linux has .sh files

the most basic script is just a list of commands