You could try to catch a simple mouse click anywhere and use it to return from full screen mode.nlc wrote: ↑Thu Sep 21, 2017 8:03 amI had the same idea and I tried a little permanent transparency on the video, with a white background under the video. It works, but when in full screen I need to have the cursor on the video too (to be able to click on some part of the video), and the true video without transparency.
But unfortunately, it seems it will be impossible ?
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
No because the goal is to be able to click on specific zone of the video to generate events on another raspberry (with ajax calls).
If the cursor can't be visible, I think I am in a dead end
If the cursor can't be visible, I think I am in a dead end

no package named gdebi-core
Hi,
The 'debinstall' script that is included in the kweb 1.7.9 tarball has this line:
sudo apt-get -y install gdebi-core
There is no package by that name available from apt-get:
sudo apt-get -y install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gdebi-core
What is the resolution, please?
Thanks.
The 'debinstall' script that is included in the kweb 1.7.9 tarball has this line:
sudo apt-get -y install gdebi-core
There is no package by that name available from apt-get:
sudo apt-get -y install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gdebi-core
What is the resolution, please?
Thanks.
re: no package named gdebi-core
Never mind. Bad package list.
Thanks,
tree
Thanks,
tree
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
No idea. I'm logging into quite a number of websites and have met no problems so far.
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
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
First Stretch version available
I've just published the first Stretch version of the kweb suite.
The hardware accelerated webkit3 engine (created by the Foundation to be used by epiphany) is not available on Stretch and so there is no need for two kweb versions any more. Both browsers have been merged into one (kweb), which now uses the GTK-3 interface.
Because python-pip is working again on Stretch, the installation of youtube-dl is now done using pip automatically during installation of the kweb suite.
The installation process has been simplified and a few scripts have been removed.
The dependencies now include python-pip and uget and git has been removed.
The kweb manual is not up to date yet (still version 1.7.0) and will be updated in version 1.8.0.
The hardware accelerated webkit3 engine (created by the Foundation to be used by epiphany) is not available on Stretch and so there is no need for two kweb versions any more. Both browsers have been merged into one (kweb), which now uses the GTK-3 interface.
Because python-pip is working again on Stretch, the installation of youtube-dl is now done using pip automatically during installation of the kweb suite.
The installation process has been simplified and a few scripts have been removed.
The dependencies now include python-pip and uget and git has been removed.
The kweb manual is not up to date yet (still version 1.7.0) and will be updated in version 1.8.0.
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
had a Omxplayer-gui setup file, which /path can fine it from jessie to copy to stretch.
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Everything (e.g. bookmarks, presets etc.) is in
/usr/local/share/kweb
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
i'm using kweb 1.7.9.8, and i've found out if i close youtube-dl server in the kweb
it seems like kweb didnt close connection properly.
so i need to kill it manually.
and does kweb support youtube subtitles/closed captions?
it seems like kweb didnt close connection properly.
Code: Select all
pi@raspberrypi:/usr/local/bin $ sudo lsof -i:9192
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kweb 2869 pi 13u IPv4 216816 0t0 TCP localhost:51128->localhost:9192 (CLOSE_WAIT)
and does kweb support youtube subtitles/closed captions?
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Similar things happens with all web browsers, just check it with "netstat -t -W -p", If you want to avoid it in this case, run the youtube-dl-server in embedded mode by starting omxplayerGUI.p404001 wrote: ↑Sat Sep 23, 2017 12:57 pmi'm using kweb 1.7.9.8, and i've found out if i close youtube-dl server in the kweb
it seems like kweb didnt close connection properly.so i need to kill it manually.Code: Select all
pi@raspberrypi:/usr/local/bin $ sudo lsof -i:9192 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME kweb 2869 pi 13u IPv4 216816 0t0 TCP localhost:51128->localhost:9192 (CLOSE_WAIT)
Perhaps within the browser, but I have never tested it. But definitely not when playing web video with omxplayerGUI.and does kweb support youtube subtitles/closed captions?
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Dear gkreidl,
I try to launch command on the raspberry with kweb through links int the Web page, but it doesn't work, I don't know why.
In my .xinitrc I have :
In my web page, I have this link :
I try to kill kweb to do a test (my true need will be to move the cursor on screen with a xdotool command). But nothing happens when I click on the link.
I set X and L option, should I do anything more ?
Regards,
Cyril
I try to launch command on the raspberry with kweb through links int the Web page, but it doesn't work, I don't know why.
In my .xinitrc I have :
Code: Select all
matchbox-window-manager &
kweb -JXLKR6 /home/pi/controlScreen2/index.html
Code: Select all
<a href='file:///homepage.html?cmd=sudo%20pkill%20kweb'>link</a>
I set X and L option, should I do anything more ?
Regards,
Cyril
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
If you are starting with a file outside of the protected area (within your home folder, for example), command execution is disabled by default. Add "C" to your options string: kweb -JXLKRC6 ....nlc wrote: ↑Wed Oct 04, 2017 4:42 pmDear gkreidl,
I try to launch command on the raspberry with kweb through links int the Web page, but it doesn't work, I don't know why.
In my .xinitrc I have :
In my web page, I have this link :Code: Select all
matchbox-window-manager & kweb -JXLKR6 /home/pi/controlScreen2/index.html
I try to kill kweb to do a test (my true need will be to move the cursor on screen with a xdotool command). But nothing happens when I click on the link.Code: Select all
<a href='file:///homepage.html?cmd=sudo%20pkill%20kweb'>link</a>
I set X and L option, should I do anything more ?
Regards,
Cyril
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
I think it's the case, I use a system command (located in /usr/bin). I tried the C option and now it works well, thank you very much !!
I looked in the documentation but I have not found the C option, it's why I have not tried it

Regards
Cyril
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
I have a couple of questions:
1.) Will this affect any of the files, programs etc. on my system when I install this?
2.) Can I ask what is the size of Kweb Suite?
3.) Is it working fine now in Stretch?
1.) Will this affect any of the files, programs etc. on my system when I install this?
2.) Can I ask what is the size of Kweb Suite?
3.) Is it working fine now in Stretch?
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
1) no
2) Package size is slightly over 4 MB and and most of this is used by the two PDF manuals.
Some additional shared libraries may be installed, but this depends on what you have installed before.
gdebi-core is installed by the install script, because it is the needed for package installation from .DEB files.
Two additional programs are installed: uget (a great downloading tool) and youtube-dl (using pip for installation).
3) Yes. I've discovered one problem so far: Flash support (using a special wrapper for pepperflash) doesn't work, because it is not compatible with GTK+3. I'm considering to switch back to GTK+2 in the next release.
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
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
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Hello,
I have a question about a example of use. To check if it's possible to solve my issue with kweb.
The kweb is very powerfull tool and can use for lots of use cases. Too much cases for a fast overview.
I would like to play a audio/video-stream in omxplayer fullsize (hw accelerated) and overlay a webcontent (Fullsized, F11) with alpha-channel over the video, so you can see the video through the Homepage. The Webcontent is specialwebsite with only alpha-channeled content.
It should be possible to remove the webcontent, so you can see the normal video.
Can I configure kweb for my mentioned above scenario.
Many thanks for your feedback
I have a question about a example of use. To check if it's possible to solve my issue with kweb.
The kweb is very powerfull tool and can use for lots of use cases. Too much cases for a fast overview.
I would like to play a audio/video-stream in omxplayer fullsize (hw accelerated) and overlay a webcontent (Fullsized, F11) with alpha-channel over the video, so you can see the video through the Homepage. The Webcontent is specialwebsite with only alpha-channeled content.
It should be possible to remove the webcontent, so you can see the normal video.
Can I configure kweb for my mentioned above scenario.
Many thanks for your feedback
--
stoney
stoney
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
This is actually easier than your previous request, to which I replied, where you talked about two displays.
Kweb doesn't need to be involved.
$ omxplayer
-h --help Print this help
-v --version Print version info
-k --keys Print key bindings
-n --aidx index Audio stream index : e.g. 1
-o --adev device Audio out device : e.g. hdmi/local/both/alsa[:device]
-i --info Dump stream format and exit
-I --with-info dump stream format before playback
-s --stats Pts and buffer stats
-p --passthrough Audio passthrough
-d --deinterlace Force deinterlacing
--nodeinterlace Force no deinterlacing
--nativedeinterlace let display handle interlace
--anaglyph type convert 3d to anaglyph
--advanced[=0] Enable/disable advanced deinterlace for HD videos (default enabled)
-w --hw Hw audio decoding
-3 --3d mode Switch tv into 3d mode (e.g. SBS/TB)
-M --allow-mvc Allow decoding of both views of MVC stereo stream
-y --hdmiclocksync Display refresh rate to match video (default)
-z --nohdmiclocksync Do not adjust display refresh rate to match video
-t --sid index Show subtitle with index
-r --refresh Adjust framerate/resolution to video
-g --genlog Generate log file
-l --pos n Start position (hh:mm:ss)
-b --blank[=0xAARRGGBB] Set the video background color to black (or optional ARGB value)
--loop Loop file. Ignored if file not seekable
--no-boost-on-downmix Don't boost volume when downmixing
--vol n set initial volume in millibels (default 0)
--amp n set initial amplification in millibels (default 0)
--no-osd Do not display status information on screen
--no-keys Disable keyboard input (prevents hangs for certain TTYs)
--subtitles path External subtitles in UTF-8 srt format
--font path Default: /usr/share/fonts/truetype/freefont/FreeSans.ttf
--italic-font path Default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
--font-size size Font size in 1/1000 screen height (default: 55)
--align left/center Subtitle alignment (default: left)
--no-ghost-box No semitransparent boxes behind subtitles
--lines n Number of lines in the subtitle buffer (default: 3)
--win 'x1 y1 x2 y2' Set position of video window
--win x1,y1,x2,y2 Set position of video window
--crop 'x1 y1 x2 y2' Set crop area for input video
--crop x1,y1,x2,y2 Set crop area for input video
--aspect-mode type Letterbox, fill, stretch. Default: stretch if win is specified, letterbox otherwise
--audio_fifo n Size of audio output fifo in seconds
--video_fifo n Size of video output fifo in MB
--audio_queue n Size of audio input queue in MB
--video_queue n Size of video input queue in MB
--threshold n Amount of buffered data required to finish buffering
--timeout n Timeout for stalled file/network operations (default 10s)
--orientation n Set orientation of video (0, 90, 180 or 270)
--fps n Set fps of video where timestamps are not present
--live Set for live tv or vod type stream
--layout Set output speaker layout (e.g. 5.1)
--dbus_name name default: org.mpris.MediaPlayer2.omxplayer
--key-config <file> Uses key bindings in <file> instead of the default
--alpha Set video transparency (0..255)
--layer n Set video render layer number (higher numbers are on top)
--display n Set display to output to
--cookie 'cookie' Send specified cookie as part of HTTP requests
--user-agent 'ua' Send specified User-Agent as part of HTTP requests
--lavfdopts 'opts' Options passed to libavformat, e.g. 'probesize:250000,...'
--avdict 'opts' Options passed to demuxer, e.g., 'rtsp_transport:tcp,...'
For example:
$ omxplayer --alpha 80 some-file
[attachment=0]stoney.jpg[/attachment]
Kweb doesn't need to be involved.
$ omxplayer
-h --help Print this help
-v --version Print version info
-k --keys Print key bindings
-n --aidx index Audio stream index : e.g. 1
-o --adev device Audio out device : e.g. hdmi/local/both/alsa[:device]
-i --info Dump stream format and exit
-I --with-info dump stream format before playback
-s --stats Pts and buffer stats
-p --passthrough Audio passthrough
-d --deinterlace Force deinterlacing
--nodeinterlace Force no deinterlacing
--nativedeinterlace let display handle interlace
--anaglyph type convert 3d to anaglyph
--advanced[=0] Enable/disable advanced deinterlace for HD videos (default enabled)
-w --hw Hw audio decoding
-3 --3d mode Switch tv into 3d mode (e.g. SBS/TB)
-M --allow-mvc Allow decoding of both views of MVC stereo stream
-y --hdmiclocksync Display refresh rate to match video (default)
-z --nohdmiclocksync Do not adjust display refresh rate to match video
-t --sid index Show subtitle with index
-r --refresh Adjust framerate/resolution to video
-g --genlog Generate log file
-l --pos n Start position (hh:mm:ss)
-b --blank[=0xAARRGGBB] Set the video background color to black (or optional ARGB value)
--loop Loop file. Ignored if file not seekable
--no-boost-on-downmix Don't boost volume when downmixing
--vol n set initial volume in millibels (default 0)
--amp n set initial amplification in millibels (default 0)
--no-osd Do not display status information on screen
--no-keys Disable keyboard input (prevents hangs for certain TTYs)
--subtitles path External subtitles in UTF-8 srt format
--font path Default: /usr/share/fonts/truetype/freefont/FreeSans.ttf
--italic-font path Default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
--font-size size Font size in 1/1000 screen height (default: 55)
--align left/center Subtitle alignment (default: left)
--no-ghost-box No semitransparent boxes behind subtitles
--lines n Number of lines in the subtitle buffer (default: 3)
--win 'x1 y1 x2 y2' Set position of video window
--win x1,y1,x2,y2 Set position of video window
--crop 'x1 y1 x2 y2' Set crop area for input video
--crop x1,y1,x2,y2 Set crop area for input video
--aspect-mode type Letterbox, fill, stretch. Default: stretch if win is specified, letterbox otherwise
--audio_fifo n Size of audio output fifo in seconds
--video_fifo n Size of video output fifo in MB
--audio_queue n Size of audio input queue in MB
--video_queue n Size of video input queue in MB
--threshold n Amount of buffered data required to finish buffering
--timeout n Timeout for stalled file/network operations (default 10s)
--orientation n Set orientation of video (0, 90, 180 or 270)
--fps n Set fps of video where timestamps are not present
--live Set for live tv or vod type stream
--layout Set output speaker layout (e.g. 5.1)
--dbus_name name default: org.mpris.MediaPlayer2.omxplayer
--key-config <file> Uses key bindings in <file> instead of the default
--alpha Set video transparency (0..255)
--layer n Set video render layer number (higher numbers are on top)
--display n Set display to output to
--cookie 'cookie' Send specified cookie as part of HTTP requests
--user-agent 'ua' Send specified User-Agent as part of HTTP requests
--lavfdopts 'opts' Options passed to libavformat, e.g. 'probesize:250000,...'
--avdict 'opts' Options passed to demuxer, e.g., 'rtsp_transport:tcp,...'
For example:
$ omxplayer --alpha 80 some-file
[attachment=0]stoney.jpg[/attachment]
- Attachments
-
- stoney.jpg (48.53 KiB) Viewed 6232 times
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
I don't would like to give the video a transparency.
I would like to give the browsercontent or the whole browser a transparency because this content is over the video.
My problem to your first hint is that the white background of the browser which is over the video should be replaced to a full transparent background. The white color of the example image should be transparent.
I would like to give the browsercontent or the whole browser a transparency because this content is over the video.
My problem to your first hint is that the white background of the browser which is over the video should be replaced to a full transparent background. The white color of the example image should be transparent.
--
stoney
stoney
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
I give you a screenshot from an other system where it is running according my descriptions.
The transparent menu is a website over the whole screen.
The transparent menu is a website over the whole screen.
- Attachments
-
- Example.JPG (249.75 KiB) Viewed 6205 times
--
stoney
stoney
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
You want to do the same thing I wanted to do some week ago. That's not possible to have the browser over the video. My need was to have a text input over the video, but that's not possible with kweb / omxplayer.
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
I separated the display in 2 zones, a 150px zone on the top of the screen, with the input text, and the same background than the video.
And I modified the video to remove the 150px, and I play it in the bottom of the screen. Fortunately, the top of the initial video was a fixed part, and here is the result :
https://www.youtube.com/watch?v=z8Ix71DoglA
And I modified the video to remove the 150px, and I play it in the bottom of the screen. Fortunately, the top of the initial video was a fixed part, and here is the result :
https://www.youtube.com/watch?v=z8Ix71DoglA
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
The white part on the bottom and on the right is because the final application run on a 1366x768 screen, and mine is 1920x1080
Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Hi is it possible to use this browser in kiosk mode? I guess that the answer is yes.
But is it safe? I don't want the user to be able to access my system when its in kiosk mode.
I just want my user to be able to browse my web page that all.
How to hide all button, address bar?
Is it possible to show a virtual keyboard?
Micka,
But is it safe? I don't want the user to be able to access my system when its in kiosk mode.
I just want my user to be able to browse my web page that all.
How to hide all button, address bar?
Is it possible to show a virtual keyboard?
Micka,