Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: MrToga on June 30, 2022, 06:04:11 AM

Title: kiosk mode on firefox
Post by: MrToga on June 30, 2022, 06:04:11 AM
Hello guys,

I'm triyng to display firefox in kiosk on my x server but when I try
Code: [Select]
firefox --kiosk localhost the firefox pop but it's the same as the classic firefox like the toolbar are still visible.

I also try the tuto in the book http://tinycorelinux.net/corebook.pdf without any success.
Any thoughts?
Title: Re: kiosk mode on firefox
Post by: Rich on June 30, 2022, 07:43:36 AM
Hi MrToga
I would suggest using the search page as a starting point:
http://forum.tinycorelinux.net/index.php?action=search

In the text box labeled  Search for:  enter  firefox kiosk

Set the drop down box labeled  Search order:  to  Most recent topic first

Then click the  Search  button in the lower right corner.

You should get about 30 results. See if any of those have any useful information.
Title: Re: kiosk mode on firefox
Post by: CNK on July 01, 2022, 01:06:38 AM
There's no Firefox extension for PiCore 13, so are you using a remote display again? Is the computer Running Firefox also running Tiny Core? The --kiosk option works for me with Firefox version 102.0esr running on TC 13 (installed with firefox_getLatest.sh), displaying over the network on another computer running Xorg (but it's not a Raspberry Pi).

The --kiosk option was apparantly added in Firefox version 71.

Perhaps try running Firefox with a clean profile in case some setting or extension prevents kiosk mode from working.
Title: Re: kiosk mode on firefox
Post by: MrToga on July 04, 2022, 06:43:29 PM
Hi CNK,

You can have firefox on this repo http://tinycorelinux.net/13.x/armv7/tcz/
I found out that I can have the kiosk mode by pressing F11 so I compiled xdotool (https://github.com/jordansissel/xdotool/releases) to simulate a key pressing by using command like this :
Code: [Select]
xodotool key F11.
Title: Re: kiosk mode on firefox
Post by: CNK on July 04, 2022, 07:08:09 PM
Oh right, I didn't think to check the other architecture repos. I see that is version 68.5.0esr (http://tinycorelinux.net/13.x/armv7/tcz/firefox.tcz.info), so that's why the command-line option didn't work. As I noted earlier it wasn't introduced until FF version 71.