Ubuntu – okular and external movie player compete for owning the screen

okularpresentation

I have been using okular as my primary pdf viewer, and for pdf presentation. Usually my pdf presentations contains link to external movie files, which, upon clicks, will be opened in an external movie player (I use VLC). I notice that okular in presentation mode seem to compete with VLC for "owing" the screen, and as a result, the screen is flickering back and forth between okular and VLC. This only happened after some recent updates in Ubuntu 12.04, and only happened when I use the presentation mode. Is there a solution to avoid this problem? Many thanks.

Best Answer

You can set up to call

wmctrl -a Okular

on globally on pressing some key, say Win-o and VLC

wmctrl -a VLC

on also globally on pressing some other key, say Win-v.

Then during presentation You can invoke the window You want manually.

How to call a think in Ubuntu it is a separate question. In Kubuntu there's a custom shortcut.