The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

When Flash Player fullscreen, move to another window

asked 2013-10-10 21:25:35 +0000

flylo gravatar image

updated 2013-10-10 21:26:25 +0000

I'm trying to move the flash player when it goes full screen (ie youtube), and move it to another window and keep it there. Is this functionality allowed in i3wm? If so, how am I able to map the flash player to the appropriate window?

This is the command in my config, which if works fine with other programs (ie vlc)

 for_window [class="(?i)flash"] rename workspace 5 to "5: video",move container to workspace "5: video",workspace "5: video"
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2014-04-25 22:02:37 +0000

stealz gravatar image

it is a flashplayer problem, it will exit fullscreen when it loses focus.

there is a hex hack for the libflashplayer.so around, you can try http://simonmott.co.uk/blog/view/11 for a possible version.

the idea is to open libflashplayer.so or libgcflashplayer.so with a hex editor and search it for NETACTIVEWINDOW and replace one of the letters, for example to _AETACTIVE_WINDOW

that will fix the issue of closing fullscreen flash when losing focus

edit flag offensive delete link more

Comments

This works in my case.

phairland gravatar imagephairland ( 2014-07-05 17:30:48 +0000 )edit
0

answered 2013-10-10 21:33:42 +0000

Michael gravatar image

One of the flash player’s features is that it will drop out of fullscreen on a number of occasions, such as when moving the mouse pointer to a different monitor. You didn’t say what happens, but I think the flash player might also go out of fullscreen (i.e. close) when you move it to a non-visible workspace.

There is http://deve.loping.net/projects/ignof... which apparently patches flash to disable that behavior. Worth a try. Or using HTML5 video instead ;).

edit flag offensive delete link more

Comments

I would assume that it closes when it exits out of fullscreen mode - I wasn't able to check. Thanks for your suggestion, I'll have a look. It's not a huge deal though, was just me hacking about. Thanks for your help :)

flylo gravatar imageflylo ( 2013-10-10 21:48:10 +0000 )edit

Question Tools

Stats

Asked: 2013-10-10 21:25:35 +0000

Seen: 1,079 times

Last updated: Apr 25 '14