hildwin
Posts: 5
Joined: Fri Jul 12, 2013 7:39 pm
Location: Berlin
Contact: Website

Re: Minimal Kiosk Browser

Sat Jul 13, 2013 8:48 am

Thanks for this great piece of software. I would like to use it as a (somehow) news screen.

Does anyone know a solution for a refresh of the homepage .htm after a period of time, for example every five minutes?
Last edited by hildwin on Sat Jul 13, 2013 11:25 am, edited 1 time in total.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Sat Jul 13, 2013 9:39 am

hildwin wrote:Thanks for this great piece of software. I would like to use it as a (somehow) news screen.

Does someone know a solution for a refresh of the homepage .htm after a period of time, for example every five minutes?
http://en.wikipedia.org/wiki/Meta_refresh
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hildwin
Posts: 5
Joined: Fri Jul 12, 2013 7:39 pm
Location: Berlin
Contact: Website

Re: Minimal Kiosk Browser

Sat Jul 13, 2013 11:26 am

Thanks! Works great.

mriksman
Posts: 7
Joined: Wed Jan 23, 2013 7:27 am

Re: Minimal Kiosk Browser

Sun Jul 14, 2013 5:36 am

Sorry to hijack this thread, but I noticed some mention of Chromium?

I am coding in nodejs, and wanted to display a Twitter Bootstrap page (HTML5/CSS) in a simple full screen display on the RPi. Appjs and node-webkit are two packages that allow this, and are based on Chromium/CEF.

Can Chromium be built and run directly on an X Server in full screen mode?

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Sun Jul 14, 2013 6:49 am

If you mean that it should only show the content of a web page full screen, without any window elements, that is what's called "kiosk mode" Chromium is available for the RPi and I've read somewhere, that it's supports kiosk mode, but haven't tried it. It's to heavy-weight for me.

You might try using Minimal Kiosk Browser which is built around webkit (as Chromium). It supports full screen kiosk mode and I use it normally directly from X, without starting a desktop (it's my desktop replacement). But it needs a small window manager (I use matchbox). If you modify two lines in the source code (already there, disabling full screen call and setting a definite screen size instead), you can also run it without a window manager on bare X.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Pompey Boy
Posts: 1
Joined: Fri Aug 23, 2013 12:23 pm

Re: Minimal Kiosk Browser

Fri Aug 23, 2013 12:26 pm

This works very nicely on 2013-07-26-wheezy-raspbian.img

Thanks for sharing your work.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Fri Aug 23, 2013 4:48 pm

Thanks,

and version 1.1 is well on the way. Still simple and fast, but a few more options ...
support for VLC for audio playback (playlists)
support for other video pages than youtube.com
disable / enable Cookies
optional configuration file for kwebhelper.py (no need for a new install, if you change some options)
more command line options ...
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hoal
Posts: 3
Joined: Mon Sep 02, 2013 11:36 am

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 11:37 am

As per the earlier reply by someone else, this doesn't seem to work:

[email protected] ~ $ /usr/bin/kweb
-bash: /usr/bin/kweb: No such file or directory
[email protected] ~ $ ls -la /usr/bin/kweb
-rwxr-xr-x 1 root dialout 20960 Sep 2 11:34 /usr/bin/kweb
[email protected] ~ $ stat /usr/bin/kweb
File: `/usr/bin/kweb'
Size: 20960 Blocks: 48 IO Block: 4096 regular file
Device: b302h/45826d Inode: 32746 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 20/ dialout)
Access: 2013-09-02 11:34:02.579579165 +0000
Modify: 2013-09-02 11:34:02.579579165 +0000
Change: 2013-09-02 11:34:02.579579165 +0000
Birth: -
[email protected] ~ $

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 12:45 pm

Strange, it's there and at the same time it isn't. Do you run a full Raspbian version?
hoal wrote:As per the earlier reply by someone else, this doesn't seem to work:

[email protected] ~ $ /usr/bin/kweb
-bash: /usr/bin/kweb: No such file or directory
[email protected] ~ $ ls -la /usr/bin/kweb
-rwxr-xr-x 1 root dialout 20960 Sep 2 11:34 /usr/bin/kweb
[email protected] ~ $ stat /usr/bin/kweb
File: `/usr/bin/kweb'
Size: 20960 Blocks: 48 IO Block: 4096 regular file
Device: b302h/45826d Inode: 32746 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 20/ dialout)
Access: 2013-09-02 11:34:02.579579165 +0000
Modify: 2013-09-02 11:34:02.579579165 +0000
Change: 2013-09-02 11:34:02.579579165 +0000
Birth: -
[email protected] ~ $
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hoal
Posts: 3
Joined: Mon Sep 02, 2013 11:36 am

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 12:48 pm

gkreidl wrote: Do you run a full Raspbian version?
Yes, and all up to date.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 12:57 pm

Does it appear in the programs list on your desktop (section internet)?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hoal
Posts: 3
Joined: Mon Sep 02, 2013 11:36 am

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 1:10 pm

Yes, shows up fine. Nothing happens when clicking it, though.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Mon Sep 02, 2013 1:29 pm

Did you unpack it on the RPi or on a different computer?

You could try to recompile it, but you'll need some dev-packages (gtk+-2.0-dev and libwebkit-dev). Then run (inside kweb-1.0 folder)
make clean
make
sudo make install
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Chillman90
Posts: 4
Joined: Sat Sep 07, 2013 8:35 am

Re: Minimal Kiosk Browser

Sat Sep 07, 2013 9:03 am

Hello,

I just got my Pi and I installed raspbmc. Is there a way to use the Minimal Kiosk Browser on it?

If so, I'm not that skilled in Linux, is there a guide how to set it up?

@Guenter
Your name seems German, maybe you can contact me in German, because that's my mother tongue. :D

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Sat Sep 07, 2013 1:16 pm

I never tried raspbmc and so I cannot really tell you.

Minimal Kiosk Browser has been compiled for raspbian and requires webkit for gtk+. And it also requires X and some kind of windows manager, if you want to use it without going to the desktop.

You can contact me via PM in German, if you like.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

d3vi0us
Posts: 1
Joined: Tue Sep 17, 2013 9:24 am

Re: Minimal Kiosk Browser

Tue Sep 17, 2013 9:38 am

Two Question,

Everything seem to run fine, but no PDF ever load.

Also would like to load these in the actual browser not an external program.

Thanks.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Tue Sep 17, 2013 2:37 pm

d3vi0us wrote:Two Question,

Everything seem to run fine, but no PDF ever load.

Also would like to load these in the actual browser not an external program.

Thanks.
Check the settings in kwebhelper.py (pdf viewer). And install xpdf and set kwebhelper.py to use it. It's much better then mupdf (should be preinstalled). After changing kwebhelper.py you need another "sudo make install". That will change in the next version. There will be a separate settings program and settings can be changed at run time. Another thing you might check is, if there is a "Downloads" folder in your home directory. That's where PDFs are loaded to (and checked later on so they are not downloaded again).

There is no browser currently for the RPI which supports plugins for PDFs - and no plugin either. So opening them (automatically) with a separate program is the only chance.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

tylkomat
Posts: 5
Joined: Wed May 29, 2013 8:28 am

Re: Minimal Kiosk Browser

Tue Sep 24, 2013 10:35 am

Is it possible to open a url with username and password like

Code: Select all

username:[email protected]://url.com
?

tylkomat
Posts: 5
Joined: Wed May 29, 2013 8:28 am

Re: Minimal Kiosk Browser

Tue Sep 24, 2013 11:26 am

Yes right *facepalm*, seems I should go home early today ^^

EDIT:

Seems I can stay longer. It does not work. It just opens the url without login data and shows the login screen. I tried on localhost. I know this was working with an older version.

Code: Select all

kweb "http://user:[email protected]/test"
Seems alright or?

EDIT2:

Note doesn't work on redirects.

xgrewellx
Posts: 5
Joined: Thu Sep 12, 2013 6:10 pm

Re: Minimal Kiosk Browser

Fri Sep 27, 2013 1:46 am

How do I go about changing what page this opens to. I want it to go to http://localhost instead of the current homepage.html

I have a php script that I want to execute using kweb and just can't for the life of me figure out how to change the default homepage.


Thanks for this amazing piece of software!

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Fri Sep 27, 2013 7:15 am

xgrewellx wrote:How do I go about changing what page this opens to. I want it to go to http://localhost instead of the current homepage.html

I have a php script that I want to execute using kweb and just can't for the life of me figure out how to change the default homepage.
Start kweb from a terminal or write a small script like that:
kweb http://localhost/my.php

By changing one line in the source code and recompiling you can set this as default and connect it to the home button.
Replace:
homepage = g_strjoin(NULL,"file://",homedir,"/homepage.html", NULL );
with
homepage = "http://localhost/";
(or whatever you need).

Then kweb will always start with this page and clicking the home button will return to it.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Bob.Lee
Posts: 1
Joined: Sun Sep 29, 2013 9:09 pm

Re: Minimal Kiosk Browser

Sun Sep 29, 2013 9:31 pm

Hi, I wonder if this Minimal Kiosk Browser can be used as a replacement of "uzbl" browser that I am using to do the following:

1. External app starts the browser by command line
2. At start up, the browser shows static web page or plays .h264 or mp4 video
3. External app controls the browser to show another web page

I am using uzbl as it allows for external app to send command via redirected stdin.

Bob

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Mon Sep 30, 2013 6:11 am

1), and 2) are no problem, but no to 3). You may have a look into the source code and the gtk+ documentation. Perhaps there is a simple way to add a message event that takes external commands.

uzbl is very special.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

xgrewellx
Posts: 5
Joined: Thu Sep 12, 2013 6:10 pm

Re: Minimal Kiosk Browser

Mon Sep 30, 2013 1:28 pm

gkreidl wrote:
Start kweb from a terminal or write a small script like that:
kweb http://localhost/my.php
This works great, but how do I get it to launch in kiosk mode this way. I've read the readme 5 times and feel, well, not very smart now haha.

gkreidl
Posts: 6091
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Minimal Kiosk Browser

Mon Sep 30, 2013 2:15 pm

xgrewellx wrote: This works great, but how do I get it to launch in kiosk mode this way. I've read the readme 5 times and feel, well, not very smart now haha.
You won't! But give me a few more day to finish version 1.1 (working on the manual right now, yes a real manual!). It will take up to 2 arguments, an options string and an URL. That's exactly what you are looking for.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Raspbian”