You are not logged in.
Hi, I have used xmonad for some time now and I can not figure out a way to implement my preferred fullscreen behavior. I would like to be able to watch a video stream or flash video in one window, such that the video is using the full window, i.e. the video is fullscreen inside a window.
I started to begin to look at other tiling window managers, but haven't found one, which allows this kind of behavior. Does anybody know a wm in which this is easy to implement (or how to implement it in xmonad, i am generally very happy with it)? Thanks for any ideas, suggestions, etc.
Offline
Are you trying to achieve something like this?
I don't think a WM can do this for you, it must be done application-side.
For the screenshot, I switched VLC to minimal mode with [Ctrl-H], but using mplayer or cvlc would have worked as well.
Sometimes, switching an application to fullscreen inside the application and then toggling fullscreen-mode inside the WM
can also have the desired effect. (I'm using i3, so this might not work with xmonad)
Offline
WM Can do it by ignoring the the _NET_WM_FULLSCREEN atom, or removing it. You could in example just add return inside setfullscreen function in monsterwm, then fullscreen windows are ignored.
Last edited by Cloudef (2012-04-01 10:27:14)
Offline
This is the result I get by default in xmonad. If an application tries to play a video fullscreen it is just gets it's own tiled window that it fills ... as long as I am in a tiling mode. For example, if I go to youtube, and hit the fullscreen button, the video opens in a new tiled window filling that window.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
thanks for the replies
@qrl: yes, that is what I want to achieve, specifically to have a new window besides this; it works for me in vlc as well, but does not with the fullscreen mode of stream and flash movies
@cloudef: that might be exactly what I wanted, I have to look into that
@ trilby: i think it was the default behavior in earlier versions of xmonad, at least according to this post http://comments.gmane.org/gmane.comp.gnome.wm-spec/1497 . In my xmonad, the size of the fullscreen is bigger than the window size, but otherwise the behavior you described.
Offline
I looked into how to disable the _NET_WM_STATE_FULLSCREEN in i3, but didn't really succeed. Do I need to change it in the source code and recompile it?
Offline
Yes. I looked at the source and there is two ways you can do it. Either disable the event handling for WM_STATE atoms by commenting out
xcb_event_set_client_message_handler(&evenths, handle_client_message, NULL);in mainx.c
Or add return to the event handler function so you can hack it to be more flexible later.
The event handler is in handlers.c the function handle_client_message.
Offline