vibou.gTile icon indicating copy to clipboard operation
vibou.gTile copied to clipboard

Feature Request: Cycling through multiple monitors with preset keybindings

Open jpvermeil opened this issue 6 years ago • 2 comments

Hi there. First off, this is the single best extension I've ever come across. Much thanks for all the hard work.

The recently introduced (global) resize presets are really what I have always hoped for. Yet, I think a big improvement with respect to multi monitor setups would be being able to "cycle" through the different monitors.

The "old fashioned" way would be to hit the shortcut and place a window by choosing its size on the gTile grid that shows up. With global shortcuts however you want to place the window without gTile being shown. This leaves you with the problem of having to place the entire window on whatever monitor you want it to be before using a global shortcut.

So the suggestion is to cycle the windows through all available monitors if the preset keybinding is hit multiple times. For example if you have 3 monitors and press the preset 4 consecutive times do something like this:

  1. 2x2 0:0 0:1 - Do this on the current monitor first (first one - which is the current default behaviour)
  2. 2x2 0:0 0:1 - Do this on the next monitor (second one)
  3. 2x2 0:0 0:1 - Do this on the next monitor (third one)
  4. 2x2 0:0 0:1 - Do this on the next monitor (first one again)

I only use global shortcuts with a small number of presets so this would really improve my gTile experience by a lot.

Cheers and keep it up!

jpvermeil avatar Jul 31 '17 13:07 jpvermeil

Hi, I do have multiple monitors - 4 monitors in rather awkward positions - two one above other, two on sides roughly 3/4 height down. I found that Gnome built-in facilities to move windows between monitors are quite sufficient. Super-shift (up-left-down-right) works just fine. And you do not have to cycle through monitors, you can move windows in needed direction to desired monitor. That is so much better than just cycling through monitors. Also, current implementation of global keyboard resize presets is persistent. It means, it produces same outcome each time you pressed. With cycling, window sometimes can be moved, sometimes will stay on same monitor. That would do for very awkward user experience. With due respect, I am not going to implement your request. But, this is open source, just grab code and go wild! Add functionality you want, and present to community. If people will like it, maintainer most likely will incorporate it into master.

scherepanov avatar Jul 31 '17 15:07 scherepanov

Thanks for the clarification. To be honest I was not aware of this Gnome feature. With a little shortcut reassignment this works quite smoothly.

But who knows, if I have some spare time I might take a closer look at this again :).

Thanks and keep it up!

jpvermeil avatar Aug 01 '17 05:08 jpvermeil