how to toggle full screen from the command line when vlc is already running
Posted: 09 Dec 2022 12:23
I am running the latest version of the following packages
- arch linux 6.0.10-arch2-1 #1
- bash 5.1.16(1)-release
- VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
How do I toggle full screen from the command line when vlc already running?
One idea is to use playerctl as follows, but apparentley is has no full-screen command?
Another is to is to use something like this
... ??? although that is obviously for doing something with the volume
as described here https://unix.stackexchange.com/question ... with-qdbus
But how that works is not obvious to me either and I don't know the structure of how dbus works and the pay off for learning this for one command seems hardly worth it.
Anyone know if dbus will support full screen toggle?
- arch linux 6.0.10-arch2-1 #1
- bash 5.1.16(1)-release
- VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
How do I toggle full screen from the command line when vlc already running?
One idea is to use playerctl as follows, but apparentley is has no full-screen command?
Code: Select all
playerctl --player=vlc full-screen
Code: Select all
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:org.mpris.MediaPlayer2.Player string:Volume variant:double:1.0
as described here https://unix.stackexchange.com/question ... with-qdbus
But how that works is not obvious to me either and I don't know the structure of how dbus works and the pay off for learning this for one command seems hardly worth it.
Anyone know if dbus will support full screen toggle?