You are not logged in.

#1 2012-04-03 20:49:34

Expez
Member
Registered: 2012-03-31
Posts: 14

Can't get flash to work with Xmonad

I've tried the 3 suggestions in the FAQ, to get flash to work. In my xmonad.hs, pasted below, you can see these 3 attempts, two of them currently commented out. I'm running xmonad 0.1

This is the behaviour I'm seeing:

A float opens which covers 80% of the screen, showing the 90% black and the top 10% of the flash video content, if I open it on a 720p tv. If I open it on my 2560x1440 monitor then the float almost opens like a float, taking up almost the entire left half of the monitor (about 40% of the screen real estate).

I have two 1920x1080 monitors, a 2560x1440 monitor and an old-as-shit tv running 720p.

What else can I try?



import XMonad
import qualified XMonad.StackSet as W
import XMonad.Util.EZConfig
import XMonad.Layout.NoBorders
import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.ManageHelpers

main = do
  xmonad $ defaultConfig
--xmonad $ ewmh defaultConfig
    { terminal    = "urxvt"
    , modMask     = mod4Mask
    , borderWidth = 2
    , layoutHook = myLayoutHooks
    , manageHook = myManageHooks
    --, handleEventHook = myHandleEventHooks
    } `additionalKeysP` myKeys

myHandleEventHooks = fullscreenEventHook

 -- red border is useless on full-screened windows
myLayoutHooks = smartBorders (layoutHook defaultConfig)

myManageHooks = composeAll
-- Allows focusing other monitors without killing the fullscreen
    [ isFullscreen --> (doF W.focusDown <+> doFullFloat)

-- Single monitor setups, or if the previous hook doesn't work
    --[ isFullscreen --> doFullFloat

    ]

Offline

Board footer

Powered by FluxBB