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

Force fullscreen video to floating window

asked 2015-11-11 23:17:56 +0000

apoc gravatar image

I've accidentally discovered that on some websites you can put the video to fullscreen mode using the players functionality, then use $mod+f (fullscreen toggle), which will show the normal browser window, but the video still maximized to the window.

Next you can make the window floating and resize it.. this results in a floating video frame in front of any other non-floating window.

But that doesn't seem to work for every web video, for instance YouTube refuses to cooperate. It will simply exit fullscreen mode upon pressing $mod+f (fullscreen toggle).

How do I reproduce this behaviour for other sites, e.g. YouTube?

To clarify what I mean, I've attached a screenshot:

screenshot

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-11-11 23:44:43 +0000

Airblader gravatar image

updated 2015-11-11 23:47:13 +0000

This isn't supported behavior whatsoever and there's little you can do about it. Making it work for everything involves patching i3. The patch is quite simple, but you will break fullscreen for applications that you actually want to be fullscreened. Then this could of course be made configurable per window and so on, but then you're talking about a bigger patch.

None of this will be merged into i3. It's not how the specification is intended.

That said, I totally abuse this "bug" as well (have been for a while) and Youtube works just fine with it when using Chrome. I even have a keybinding set up for it:

bindsym $mod+y fullscreen disable; floating enable; resize set 400 300; sticky enable; move window to position 1515 20
edit flag offensive delete link more

Comments

Fantastic! For some reason I didn't try chromium, just iceweasel.. Works like a charm in chromium.. thanks a lot mate! edit: please don't fix that "bug"..

apoc gravatar imageapoc ( 2015-11-12 00:01:51 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-11-11 23:17:56 +0000

Seen: 113 times

Last updated: Nov 11