I want to power on the computer and have a Bash script to open all my programs in different Gnome work spaces.For example:Open text editor and CLI in the first work space.Open web browser A in second work space.Open web browser B in third work space.Open two file managers in fourth work space.How to achieve that? Any alternative?Not wishing to hibernate my computer to keep the session, wish to shut down or restart often, and start fresh.
Manage Gnome GUI via Bash?
bash;fedora;gnome
This isn't via bash, but the GNOME Shell extension Auto Move Windows lets you define rules so that programs are automatically opened on predefined workspaces.If that doesn't do you what you need, you could consider extending the extension (source here; it's in Javascript) to better fit your specific need.