简体   繁体   中英

fullscreen for vlc in Awesome wm

is there a way to let awesome set vlc in full screen without displaying the menu and progress-bar? I already tried to do this using dbus, but this won´t work for vlc.

PS: the code I used for dbus is:

qdbus org.mpris.MediaPlayer2.banshee \
      /org/mpris/MediaPlayer2        \
      org.mpris.MediaPlayer2.Fullscreen True

But it seams to be a problem with mpris, I tested it with other players and it does not work. (CanSetFullscreen gives True)

1 . Add a rule in your rc.lua file by adding to the awful.rules.rules table:

awful.rules.rules = {
    { rule={ class='Vlc' }, properties={ fullscreen=true } },
    -- more rules ....
}

2 . In VLC go to Tools > Preferences , check "Start in minimal view mode", and click "Save".

3 . Reload awesome

Now when you startup VLC, it will start in full screen with no interface showing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM