Ubuntu 18.04 configure vlc always on top

Solution 1:

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)
    )
)

Solution 2:

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