Houston4444 / RaySession

Session manager for linux musical programs
GNU General Public License v2.0
166 stars 18 forks source link

switch to a client GUI using RaySession #59

Open newlaurent62 opened 4 years ago

newlaurent62 commented 4 years ago

Hello,

Could it be possible to add an icon to switch to the client GUI.

This will add an option to switch to the client GUI quickly from the ray session especially when you have several client that run the same application (ex: Jamulus Laurent, Jamulus Vincent ...) which is sometimes long to find in the desktop manager (ALT + tab).

BR, Laurent

Houston4444 commented 4 years ago

It's possible, but it takes some thought. Main problem is that this feature won't works on many desktops, particularly on Wayland. The design problem I see, is that the more intuitive would be to affect the client icon to this function. More, it depends on wmctrl which is recommanded but not needed for raysession. Then, even if it works, if client has many windows, a window will be randomly selected.

newlaurent62 commented 4 years ago

Obs studio can stream a selected window in the list of opened window.

May be raysession could let the user select the window to associate with the switch icon if the default one is not correct or give a regexp to select the window title to open ? (the first match)

newlaurent62 commented 4 years ago

https://github.com/Houston4444/RaySession/issues/60