Solved: Any desktop environment or WM with configurable placing/opening of windows?
from wolf@lemmy.zip to linux@lemmy.ml on 30 Jun 12:18
https://lemmy.zip/post/42836270

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:

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.

#linux

threaded - newest

Dran_Arcana@lemmy.world on 30 Jun 12:41 next collapse

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 on 30 Jun 12:52 next collapse

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

wolf@lemmy.zip on 30 Jun 12:53 collapse

Which extensions do I need?

wildbus8979@sh.itjust.works on 30 Jun 12:57 collapse

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.

Bonje@lemmy.world on 30 Jun 13:01 next collapse

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 on 30 Jun 13:21 collapse

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

Bonje@lemmy.world on 30 Jun 14:06 collapse

I don’t use Gnome but first search came back with: extensions.gnome.org/…/window-state-manager/

nyan@sh.itjust.works on 30 Jun 13:52 next collapse

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

princessnorah@lemmy.blahaj.zone on 01 Jul 20:47 collapse

What’s TDE?

nyan@sh.itjust.works on 03 Jul 12:40 collapse

Trinity Desktop Environment, forked from KDE3.

sxan@midwest.social on 01 Jul 11:28 next collapse

Herbstluftwm. It’s one of the main reasons I use it.

You can run commands on the command line to create your layouts for one or more desktop (tagged spaces), assign programs to appear on tagged spaces, and then run the programs. Put it all in a shell script and hlwm runs it when it starts.

I use xtoolwait for programs I want multiple windows on different desktops for, like terminals.

I have three monitors; one is a status window, and the other two are grouped together in 8 different tags. Mod4+9 focuses the status screen, Mod4+[1-8] switch the other two monitors in sync to the other workspaces. It’s all set up when I log in, including the creation of several terminals each running tmux from sessions restored by trum-session. The only thing I have to do is enter a password to unlock my secrets so background processes can start doing their thing.

databender@lemmy.world on 01 Jul 20:04 next collapse

Used to use fluxbox and it did this; fantastic feature.

NewNewAugustEast@lemmy.zip on 02 Jul 16:46 collapse

Inst this simply KDEs activities?