Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 96586  / 1 Year ago, thu, february 16, 2023, 12:17:55

I have created a restricted user which logs in automatically and Chromium runs the default home page with the screen starting maximized but I want it to run in fullscreen (F11) mode. I tried kiosk mode but I don't want to be that restricted and it doesn't seem to behave properly at all (keyboard is almost broken).



I would consider digital signage software but don't really want anything client/server. I just want the machine to boot straight into fullscreen mode. Does this work for firefox?


More From » firefox

 Answers
0

What about using xdtool http://manpages.ubuntu.com/manpages/lucid/man1/xdotool.1.html



xdotool key F11


this will work for any kind of standard focused window. Include it into start-up script.



don't have xdotool?



sudo apt-get install xdotool


in combination with --start-maximized (which does not do F11, just maximized window) on command line can fulfil your needs



shell script should make the job



chromium-browser --start-maximized
sleep 5
xdotool key F11


Firefox differs only in -fullscreen command line option. The option for F11 mode is missing as well. But consider to use Firefox and Rkiosk extension https://addons.mozilla.org/en-US/firefox/addon/r-kiosk/?src=search or the Fullscreen extension https://addons.mozilla.org/en-US/firefox/addon/full-fullscreen/



If the script stucks at chromium-browser invocation - add a & at the end:



chromium-browser --start-maximized &
...

[#32204] Friday, February 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;