You are not logged in.

#1 2015-11-21 02:15:56

somepeople4
Member
From: Waterloo, Canada
Registered: 2015-10-06
Posts: 13
Website

[Solved] Xmonad Fullscreening Chrome

I have a small issue with fullscreening chrome (both google-chrome-stable, as well as chromium). When I press F11, or when I click fullscreen on a Youtube video (or any other video, e.g. Twitch), the original tile appears to be covered by its fullscreen version (or the fullscreen video), but it is still tiled, and it also appears to be "cut-off", as it tries to take the size of my entire screen but fitting in the tiled window.

I have looked around, and I have already put the following in my manage hook (I have links to my full config below):

isFullscreen --> doFullFloat

and surprisingly, VLC fullscreening works flawlessly. That is, when I fullscreen my VLC player, it becomes a float window with the size of the entire screen that covers everything including my xmobar. (But no effect on chrome.)

I find this very weird and hope you guys can help.

I am using the most updated versions of xmonad and xmonad-contrib. I use xmonad with a xmobar at the top, render with NVIDIA, and compose with compton. You can find my configuration files on GitHub for xmonad, or all my configs.

Thanks,
David

Last edited by somepeople4 (2015-11-23 19:48:35)

Offline

#2 2015-11-21 12:40:40

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] Xmonad Fullscreening Chrome

Add EWMH support:

import XMonad.Hooks.EwmhDesktops

Then add an event hook:

xmonad $ defaultConfig
            { ...
            , handleEventHook = fullscreenEventHook
              ...
            }

EDIT: https://code.google.com/p/chromium/issu … ?id=138979

EDIT2: Or try this method: https://wiki.archlinux.org/index.php/Xm … figuration

Last edited by Head_on_a_Stick (2015-11-21 12:52:20)


Jin, Jîyan, Azadî

Offline

#3 2015-11-23 19:48:21

somepeople4
Member
From: Waterloo, Canada
Registered: 2015-10-06
Posts: 13
Website

Re: [Solved] Xmonad Fullscreening Chrome

I went through the first method and it worked! The window is properly fullscreened!
Thank you so much!

Offline

Board footer

Powered by FluxBB