WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PiCore-12 64-bit kiosk mode Firefox  (Read 1228 times)

Offline audiophilelistener

  • Newbie
  • *
  • Posts: 16
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #30 on: January 24, 2021, 07:46:00 AM »
Hi Rich,

Learning more and more 😀
Thx.
« Last Edit: January 24, 2021, 08:06:06 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8796
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #31 on: January 24, 2021, 08:05:26 AM »
Hi audiophilelistener
You are welcome.

By the way, there's no need to quote entire posts in replies. If there's something you wish to address from a previous
post, remove the irrelevant parts of the quote.

Offline markiii

  • Newbie
  • *
  • Posts: 3
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #32 on: February 05, 2021, 09:56:48 AM »
Hi Chaps

Found this forum and post as I was googling how to do exactly the same thing as the OP.

I have xorg installed
I have firefox installed

If I manually ssh to the box and run

DISPLAY=:0 firefox -kiosk "URL Here...." &

Then firefox loads in kiosk mode with the webpage as expected.

However trying to get it to work automatically at boot fails every time. I followed the instructions below


Try this. Create a file (pick any name you like) containing the following:
Code: newbielink:javascript:void(0); [nonactive]
DISPLAY=:0 firefox &Place that file in  ~/.X.d
When you start X, the  ~/.xsession  file should execute that command after Xorg starts.

however when i reboot the file has disappeared from the X.d directory

I know a lot of Tinycore stuff doesn't survive a reboot, but I'd expected this too as thats the whole point.

Any suggestions as to how to fix this?

thanks in advance

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12864
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #33 on: February 05, 2021, 10:43:57 AM »
Did you make a backup to save the file in ~/.X.d?

Offline markiii

  • Newbie
  • *
  • Posts: 3
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #34 on: February 05, 2021, 10:48:46 AM »
of course it would help if i actually did a backup wouldn't it......

fixed  :)

Offline markiii

  • Newbie
  • *
  • Posts: 3
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #35 on: February 07, 2021, 10:56:28 AM »
So the basics,  open a kiosk mode firefox with a specific url is working

I'm having very little joy with any of the other parts i need to accomplish so lets start one item at a time

the kiosk browser opens and its not full screen

I'm using a 16:9 screen that support 1920x1080

and i get a circa 0.5" black screen to left and to the top
at the bottom I have a 2" black bar and to the right circa 6"

any suggestions appreciated, I've exhausted my google fu skills