WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Browser in Kiosk mode  (Read 3460 times)

Offline PHo

  • Newbie
  • *
  • Posts: 5
Browser in Kiosk mode
« on: January 12, 2018, 04:08:20 AM »
Hi,

There's a few posts around Browser support and at least one on Kiosk mode but most are fairly old so decided to make a new one.

I have a RasPi Zero with a USB wifi adapter. Installed piCore 9.0.3 and have the wifi working and desktop installed with TC.tcz.
Plan on having it on a screen with a browser constantly pointing to a webpage which I will host on my server to show google cal (might try another calendar) and some task/shopping list etc.
Need it to boot straight to a browser that has its homepage as this page I'll host.


So I found that fifth browser and midori were available at some time in the tcz repo. Where have they gone?

Sounds like Midori is exactly what I need, browser that can open full-screen, borderless and without a title bar. Is there still a way to install or do I have to go down the porting firefox from debian route as some people have done?


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Browser in Kiosk mode
« Reply #1 on: January 12, 2018, 04:18:03 AM »
So I found that fifth browser and midori were available at some time in the tcz repo. Where have they gone?

The fifth browser is in the piCore 9.x armv7 repo

Midori is in the piCore 7.x repos

Offline PHo

  • Newbie
  • *
  • Posts: 5
Re: Browser in Kiosk mode
« Reply #2 on: January 12, 2018, 05:48:08 AM »
Excellent stuff, after a little search came up with the following to view the repo's mentioned above:

http://repo.tinycorelinux.net/7.x/armv6/tcz/
http://repo.tinycorelinux.net/9.x/armv6/tcz/

After having a look around can you tell me whether this is the correct way of doing it:
Code: [Select]
cd /mnt/mmcblk0p2/tce/optional/
wget http://repo.tinycorelinux.net/7.x/armv6/tcz/midori.tcz
wget http://repo.tinycorelinux.net/7.x/armv6/tcz/midori.tcz.md5.txt
tce-load -i midori.tcz

Offline PHo

  • Newbie
  • *
  • Posts: 5
Re: Browser in Kiosk mode
« Reply #3 on: January 12, 2018, 05:59:32 AM »
I've found some dependancies missing so have installed the following:
Code: [Select]
tce-load -wi libxml2.tcz
tce-load -wi sqlite3.tcz
tce-load -wi libsoup.tcz

It's currently failing on libXss but can't seem to find it anywhere.

Do you have a quick way of searching for it in previous repo's?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Browser in Kiosk mode
« Reply #4 on: January 12, 2018, 06:14:35 AM »
Hi PHo
You should not blindly go mixing extensions from different repos.

Offline PHo

  • Newbie
  • *
  • Posts: 5
Re: Browser in Kiosk mode
« Reply #5 on: January 12, 2018, 06:38:39 AM »
So what would you suggest? Running from the piCore 7.x image?

From the extensions subsection of the forum that people would test if the older extension files worked and then could say what was needed to make them work. That was my understanding anyhow.

Also how come there are different packages for different versions? Is this because they are the only ones tested and confirmed or another reason?

Sorry for the downright noob questions but just trying to learn. If this is anywhere in the Tiny Wiki then please send me an RTFM link  :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Browser in Kiosk mode
« Reply #6 on: January 12, 2018, 06:51:59 AM »
Hi PHo
Quote
So what would you suggest? Running from the piCore 7.x image?
That's one possibility. Or you could put in an extension request for  Midori  here:
http://forum.tinycorelinux.net/index.php/board,46.0.html
Be sure to mention it's for piCore 9 in the request.

Quote
From the extensions subsection of the forum that people would test if the older extension files worked and then could say what was needed to make them work. That was my understanding anyhow.

Also how come there are different packages for different versions? Is this because they are the only ones tested and confirmed or another reason?

Sorry for the downright noob questions but just trying to learn. If this is anywhere in the Tiny Wiki then please send me an RTFM link
Sometimes when extensions get updated it affects other extensions requiring them to be updated too.

Offline AlexLeo

  • Newbie
  • *
  • Posts: 7
Re: Browser in Kiosk mode
« Reply #7 on: January 19, 2018, 05:31:53 PM »
I have a hacky Kiosk. I uploaded it to my GoogleDrive if you want to take a look. It's piCore 7.0 though and I didn't bother shrinking it, it's 1GB in size.
I edited the cmdline.txt as well to turn off the dhcp.
For some reason though after multiple dirty reboots(Power failure, power pulled), it stops loading mydata.tgz(probably filesystem corruption)

https://drive.google.com/drive/folders/1v0MlYxvKct0ZYTUWp1PnT40K13YrrfBo?usp=sharing
« Last Edit: January 19, 2018, 05:35:18 PM by AlexLeo »