You are not logged in.

#1 2011-10-11 20:04:45

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Flash 11 Fullscreen with Awesome WM [SOLVED]

Hey all,

I have read in the forums that by taking out web browsers from the "rules" section in rc.lua, flash would automatically go fullscreen in awesome.
However, even without said rules, flash 11 fullscreen video gets tiled for me in awesome 3.4.  Eventually it becomes embedded again in the browser window.  This works the same in all browsers.

The only workaround--which is not ideal--is to make it floating as it gains focus.
Does anyone know anything I can do for it to "just work" like it did in awesome 3.3?  Thanks.

Last edited by Intrepid (2011-10-11 22:53:34)


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#2 2011-10-11 20:51:12

kalhartt
Member
Registered: 2011-10-04
Posts: 2

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

I had to add a rule instead of removing one.

awful.rules.rules = {
    .......
    { rule = { instance = "plugin-container" },
        properties = { floating = true } },
}

Offline

#3 2011-10-11 21:24:02

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

@kalhartt, While that should work in theory, it did not work here.  I can confirm that flash is technically run as "plugin-container" in firefox.


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#4 2011-10-11 22:30:15

itti
Member
Registered: 2007-06-01
Posts: 79

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

I identify the flash overlay window via it's class (which seems to change from release to release). At the moment my flash fullscreen rule looks like this:

...
 { rule = { class = "Exe"}, properties = {floating = true}
...

One can find out the overlay window's class with xprop. Just run

sleep 5 && xprop

in a terminal and go into fullscreen flash. Then when the xcursor changes to a target cursor click on the overlay and analyze the xprop output in the terminal.

Last edited by itti (2011-10-11 22:32:29)

Offline

#5 2011-10-11 22:53:16

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

@itti, thanks, I was looking for that!  I was using xprop before but never was able to catch the flash window in time.  Using sleep helped a lot! smile


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#6 2012-12-17 20:52:06

ddidderr
Member
From: Germany
Registered: 2012-12-17
Posts: 1

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

@itti, thanks! Window class "Exe" works. I did the xprop before and there was nothing with "Exe" in the output. WM_CLASS was "plugin-container" as well as WM_NAME. No occurence of the string "Exe". But it works when I tell awesome class = "Exe' and it does not work if I tell awesome class = "plugin-container" (which is what the output of xprop says). So HOW did you figure that out? And what is wrong?

Offline

#7 2013-01-08 15:37:03

ZenKen
Member
From: Deutschland
Registered: 2013-01-08
Posts: 1

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

For me it was

class = "Plugin-container"

Lowercase "plugin-container" and "Exe" didn't work, and xprop reports:

[...]
WM_CLASS(STRING) = "plugin-container", "Plugin-container"
[...]

So anyone seeing this, just be sure to check the case.

Offline

#8 2014-07-17 01:33:34

pectopah
Member
Registered: 2014-07-17
Posts: 1

Re: Flash 11 Fullscreen with Awesome WM [SOLVED]

Suggesting this approach:

client.connect_signal("focus", function(c) 
 if  c.name == "plugin-container" then  
    flash_client = c
    mt = timer({timeout=0.1})
    mt:connect_signal("timeout",function() flash_client.fullscreen = true
    mt:stop() end)
    mt:start()      
 end
end)

Offline

Board footer

Powered by FluxBB