action of "doFullFloat" upon pressing a key

Dear xmonad users, I wasted several hours trying to find this out myself -- any help is highly appreciated. My xmonad.hs has myManageHook = composeOne [ transience , isFullscreen -?> doFullFloat ] This makes $ xpdf -fullscreen something.pdf display on the whole physical screen. However, it doesn't seem to work with video players like vlc and xine. I would like to have the effect of doFullFloat upon pressing a key. How would one tell xmonad to do that? thank you, Christoph

On Mon, Aug 10, 2009 at 05:23:30PM +0200, Christoph Groth wrote:
However, it doesn't seem to work with video players like vlc and xine. I would like to have the effect of doFullFloat upon pressing a key. How would one tell xmonad to do that?
I haven't found any viable solutions to that. Currently I'm using "toggleLayouts Full" in my Layouthook to fullscreen apps which refuse to go into fullscreen by theirselfs… Other than that, there are quite a few apps which support "real fullscreen", for example smplayer (which is better than vlc anyway). :)

On Mon, Aug 10, 2009 at 05:23:30PM +0200, Christoph Groth wrote:
Dear xmonad users,
I wasted several hours trying to find this out myself -- any help is highly appreciated.
My xmonad.hs has
myManageHook = composeOne [ transience , isFullscreen -?> doFullFloat ]
This makes
$ xpdf -fullscreen something.pdf
display on the whole physical screen. However, it doesn't seem to work with video players like vlc and xine. I would like to have the effect of doFullFloat upon pressing a key. How would one tell xmonad to do that?
This should do it: import Data.Monoid .. fullFloatFocused = withFocused $ \f -> windows =<< appEndo `fmap` runQuery doFullFloat f You can then bind fullFloatFocused to a key.
participants (3)
-
Christoph Groth
-
Daniel Schoepe
-
Nils