switch87
switch87

Reputation: 305

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.

P.S.: 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)

Upvotes: 3

Views: 1171

Answers (1)

ryanpattison
ryanpattison

Reputation: 6251

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.

Upvotes: 1

Related Questions