You are not logged in.

#1 2016-04-12 13:10:47

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Which windowmanager can do "quasi full screen" ?

Question about "quasi full screen". I'd like to have some application play "full screen" inside its own window. I have sketched it below.

___________________________________________  ___________________________________________  ___________________________________________
|                    |                    |  |                    |                    |  |                                          |
| (1) Application    |                    |  | (2) Application    |                    |  |                                          |
| plays here         |                    |  | plays here         |                    |  |                                          |
| normally           |                    |  |"quasi full screen" |                    |  |              (3) Application             | 
|                    |                    |  | (so without        |                    |  |                   plays                  |
|                    |                    |  | all the chrome)    |                    |  |             "physical full screen"       |
|_________________________________________|  |_________________________________________|  |                                          |
|                                         |  |                                         |  |                                          |
|_________________________________________|  |_________________________________________|  |__________________________________________|

Depicted are three states:
   1. normal
   2. "quasi full screen" inside its own window. That is: full screen as defined by the application, which usually means no bars, buttons and other chrome, BUT contained within 1 window.
   3. normal full screen (so occupying the complete physical monitor).

My use cases are:
- to play a youtube "quasi full screen" on a large monitor, while keeping free screen estate to do work.
- when giving presentations: make the presentation software work "quasi full screen" (this could also be a SlideShare presentation inside a browser), while keeping some screen for other things that I want to show.

I know this is possible in XMonad and (supposedly) in herbstluftwm. I forgot the details, but it has to do with disabling/ modifying EWMH specifications, per application or event or something.
As per the XMonad documentation about hooks: fullscreenEventHook :: Event -> X AllSource   An event hook to handle applications that wish to fullscreen using the _NET_WM_STATE protocol. This includes users of the gtk_window_fullscreen() function, such as Totem, Evince and OpenOffice.org.  Note this is not included in ewmh.   But, aside Xmonad and (maybe) herbstluft, are there other window managers that can do 'quasi full screen' ?

I'd like to from you, fellow archer linux user :-)  if the window manager that you use can do "quasi full screen". Please post your thoughts and advice. Thnx.

Offline

#2 2016-04-12 13:38:21

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,708
Website

Re: Which windowmanager can do "quasi full screen" ?

Openbox has an undecorate option which removes the titlebar. On my system where the bottom and side borders are only 1px wide, this has a similar effect to what you describe.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2016-04-12 14:57:46

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Which windowmanager can do "quasi full screen" ?

regarding youtube, playing youtube videos in mpv+youtube-dl can match your requirements, +no ads advantage

Offline

#4 2016-04-12 15:14:59

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Re: Which windowmanager can do "quasi full screen" ?

Thanks for the suggestions. To make clear what I am chasing, I tried to mimic it on the Windows box that I am on at the moment (work, locked down corporate IT).

This is  normal tiles

This is full screen youtube

This is what I want: quasi full screen within a window

Last edited by PieterGen (2016-04-12 15:28:13)

Offline

#5 2016-04-12 18:56:52

Mika79
Member
Registered: 2016-03-28
Posts: 32

Re: Which windowmanager can do "quasi full screen" ?

You might take a look at Plasma/->kwin, it has broad customizability. Maybe you can make your stuff fit as you wish with it.

Offline

#6 2016-04-12 20:02:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,534
Website

Re: Which windowmanager can do "quasi full screen" ?

What you are looking for is for the WM to manage override_redirect windows.  But WMs are specifically not supposed to touch override_redirect windows.  A WM can try to ignore that protocol rule, but I can tell you from experience, that doing so will have very annoying side-effects: it will do what you want with your fullscreen youtube videos, but it will muck up a bunch of other interface elements you may take for granted and you'll suddenly wonder where all these invisible ghost windows came from.

EDIT: actually I have to take back much of what I said.  The above is the case for WMs that are not EWMH compliant.  Those that are, however, can received the NET_WM_FULLSCREEN message and most clients will use that instead of override_redirect if the WM will honor it.  So then it is up to the WM whether to actually make these windows fullscreen or not.  But just the same, you'd be asking the WM to effectively lie to the client programs which can have odd consequences.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2016-04-13 10:47:10

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

Re: Which windowmanager can do "quasi full screen" ?

Trilby wrote:

.....received the NET_WM_FULLSCREEN message and most clients will use that instead of override_redirect if the WM will honor it.  So then it is up to the WM whether to actually make these windows fullscreen or not.  But just the same, you'd be asking the WM to effectively lie to the client programs which can have odd consequences.

Thanks for clarifying. I will have to really read the Freedesktop ewmh standards. I now think that any decent tiling window manager can be hacked to do "quasi full screen".Regarding the "asking the WM to effectively lie to the client programs": yes that is true. And yes it can lead to problems.

But on the other hand:
- suppose you use two physical monitors, let's say two monitors of 1000 x 1000 pixels. You ask Youtube to play full screen on one of these monitors. Youtube would do that and not touch the other monitor.
- now you replace these monitors by one large monitor of 2000 x 1000 pixels. Again, you ask Youtube to go full screen. Now Youtube will take all of your pixels. That is (in this case) unwanted.

So perhaps the EWMH definition of Full Screen should be made more granular, as a consequence of the larger monitors we now use? I can see several "full screens"- even more than what I need right now:
a) full screen A (the type of screen rendering as defined by the client program) within the current window
b) full screen B (the type of screen rendering as defined by the client program) within a predefined new window. This can be of any size, including the size of the physical monitor. That case would be "classic full screen"
c) full screen C (the type of screen rendering as defined by the client program) within a predefined new window, spanning multiple monitors

Right?

Anyway, until then, I'll have to dive into EWMH standards and hack my wishes into a window manager...

Offline

Board footer

Powered by FluxBB