15
submitted 12 hours ago* (last edited 10 hours ago) by wolf@lemmy.zip to c/linux@lemmy.ml

When using TMUX, it is easy to create a script, which opens TMUX, configures the screens/panes of TMUX and open/run programs.

I like this a lot.

My baseline would be something like, when I login, some applications are executed and their windows automatically placed on a virtual desktop.

For example:

  • Open Firefox and put it on virtual desktop 1
  • Open Terminal in fullscreen and put it on virtual desktop 2
  • Open VSCode and put it on virtual desktop 3

Something like that is possible with sway, in the environment I am working, sway is not able to run XWayland applications w/o crashing.

Is there any way to have this functionality on Gnome, Mate, Xfce?

Even better would be something to open several windows and arrange them automatically for different work tasks/projects I am working on. Any ideas?

Edit: Solved! Thanks for the input. Auto Move Windows extension for Gnome solves my problem.

top 8 comments
sorted by: hot top controversial new old
[-] Bonje@lemmy.world 8 points 11 hours ago* (last edited 11 hours ago)

KDE window rules can do this natively

Hyprland window rules can also do this natively

Gnome can also do this with extensions as mentioned

[-] wolf@lemmy.zip 1 points 11 hours ago

Thanks, but could you clarify which extension to move for Gnome? native window placement is AFAIK just for the overview.

[-] Bonje@lemmy.world 1 points 10 hours ago
[-] Dran_Arcana@lemmy.world 3 points 11 hours ago

I do this with awesomewm. You define window startup behavior in the main config. Applications can have static behavior to start in certain places or will default to "wherever my cursor currently is". I suspect i3 has similar functionality

[-] wildbus8979@sh.itjust.works 2 points 11 hours ago

This can easily be achieved in Gnome with a couple of extensions

[-] wolf@lemmy.zip 2 points 11 hours ago

Which extensions do I need?

[-] wildbus8979@sh.itjust.works 3 points 11 hours ago

Native Window Placement I think it's called, I'm not in front of the computer. It's installed by default at least in Debian. And gTile for tiling.

[-] nyan@sh.itjust.works 1 points 10 hours ago

TDE has this natively under the advanced window settings, so I would expect KDE to have it too.

this post was submitted on 30 Jun 2025
15 points (100.0% liked)

Linux

55801 readers
849 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS