My purpose is to use a keybinding to bring the open minimised VLC media player to focus and make it full screen. This is repeated often and will be used very many times across hours of numerous videos, hence the need for the keybinding. Turns out that the small script for wmctrl I have above works o...
Don't know why I did not think of these solutions earlier. Two solutions available. I prefer the first # use xdtool to send an f for fullscreen to the application using the application ID xdotool windowactivate --sync "$(xdotool search --class VLC | head -1)" key f # use the built-in funct...
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,...
Pre-ramble : I am running Arch linux, just saying, though I do not think this is a linux specific question. I can likely adapt an answer from windows or anything else and post back the linux specific answer here, so don't worry if you post a windows solution. In any case the vlc binary will be the ...