8

Ubuntu 18.04 with Cinnamon desktop.

  1. VLC option View / Always on top doesn't work.
  2. Right click on window title + Always on Top does work, but only for the current video

The first item is likely due to a bug in either VLC or GTK.

I'd like to configure VLC to always be on top when playing, without having to click on the frame title each time I open a video. Any answer to work around the bug in item 1, or to automate the workaround in item 2 is welcome.

muru
  • 197,895
  • 55
  • 485
  • 740
user1350992
  • 1,136

2 Answers2

8

I found an easy way to activate it, via Ubuntu, not VLC. According to maketecheasier and verified by myself on Ubuntu 20:

Click on VLC window
Press ALT + Space
Select "Always on top" from the menu
Benjam
  • 318
  • 2
  • 6
3

You can achieve the first with devilspie or its GUI counterpart gdevilspie. You may refer to this detailed answer by @Isaiah to learn more about how to use devilspie.

Once you're done setting up devilspie, add the following rule.

(if 
  (is (window_class) "vlc")
    (begin
        (above)
    )
)
pomsky
  • 68,507