FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.93k stars 353 forks source link

startup casting window in fullscreen #218

Open bendschs opened 3 years ago

bendschs commented 3 years ago

i found a way to maximize the window by cli: wmctrl -r :ACTIVE: -b toggle,fullscreen

the problem now is, that the Rpiplay-window is created only when something is being casted to rpiplay. I am looking for a way to tell the window being casted to immediately and automatically switch to full-screen.

any help?

srbhp commented 3 years ago

wmctrl -r rpiplay -b toggle,fullscreen works for me after starting rpiplay. May be this is the same thing what you have done. but your command didn't worked for me.

Loremwriter commented 2 years ago

Hi, i installed wmctrl and tried your code but it doesnt work for me. How do i have to use your code? It just tells me "Cannot open display".

Would be glad to get any help to start the casting screen in fullscreen at boot. Can anyone help me? :)

bendschs commented 2 years ago

i was successful with the following commands:

export DISPLAY=:0.0
wmctrl -r :ACTIVE: -b toggle,fullscreen

cheers bendsch