You are not logged in.

#1 2010-12-15 17:21:51

bratmaxe
Member
From: Germany
Registered: 2010-11-07
Posts: 71

Xmonad - prevent web browser from going "fullscreen"

Hi,

is there a possibility in xmonad to prevent an application (in my case the web browser) from resizing to fullscreen when it's the only window on a workspace? I have a huge display and do not want chromium to resize to the full resolution. I've done a lot of searching on this problem (and I can't believe that I'm the only one with this issue) but didn't find anything about that. Maybe because of my bad English...

As mentioned in the title, the WM is xmonad.

Thank you very much.

Offline

#2 2010-12-15 17:33:33

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Xmonad - prevent web browser from going "fullscreen"

You could use a different layout. There is quite a few of them in contrib.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2010-12-15 17:35:05

bratmaxe
Member
From: Germany
Registered: 2010-11-07
Posts: 71

Re: Xmonad - prevent web browser from going "fullscreen"

That's true, but i only want my web browser to behave like that, not all applications.

Offline

#4 2010-12-15 17:44:37

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Xmonad - prevent web browser from going "fullscreen"

Well, you could write a manageHook that tests if it is the only window on the screen, and if it is, changes the layout, or floats the browser with a spesific size


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2010-12-15 17:48:02

bratmaxe
Member
From: Germany
Registered: 2010-11-07
Posts: 71

Re: Xmonad - prevent web browser from going "fullscreen"

This idea sounds good, i will try to do so. Thank you.

Offline

Board footer

Powered by FluxBB