7

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
  • 193,181
  • 53
  • 473
  • 722
user1350992
  • 1,126
  • 1
  • 10
  • 15

2 Answers2

6

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
  • 188
  • 1
  • 5
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
  • 67,112
  • 21
  • 233
  • 243