WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline audiophilelistener

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

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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11588
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #31 on: January 24, 2021, 11: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, 12:56:48 PM »
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: [Select]
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: 14798
Re: PiCore-12 64-bit kiosk mode Firefox
« Reply #33 on: February 05, 2021, 01:43:57 PM »
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, 01:48:46 PM »
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, 01:56:28 PM »
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