Go to advanced search

by jpezz
Sat Jun 01, 2019 8:41 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

Commands are always run in a terminal by default. If a ".desktop" file is found in/usr/share/application for the command (exact match), no terminal is used (by default, but this can be disabled). To run background scripts without a terminal, they have to be entered in the "direct command execution ...
by jpezz
Thu May 30, 2019 7:34 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

It seems like my iframe shell scripts all start by running a visible lxterminal that quickly disappears. But it can cause confusion to the kiosk users because they flash on the screen. They both have entries in the "direct command execution" section. The information there is confusing as whether the...
by jpezz
Fri Apr 19, 2019 10:15 pm
Forum: Beginners
Topic: [Boot Time] Wifi needed - Static IP vs. DHCP
Replies: 1
Views: 122

Re: [Boot Time] Wifi needed - Static IP vs. DHCP

How quickly do you need the wi-fi? In a stand-alone setup I don't want wi-fi but I do need it to get the time from NIST, so I added a "nohup" backgrounded script in my rc.local file that turns on wi-fi, updates the clock from NIST then turns it off. Because it is backgrounded, it doesn't delay the b...
by jpezz
Fri Apr 19, 2019 10:05 pm
Forum: Beginners
Topic: Can't get list command to work on my Hard Drive "Seagate Bac"
Replies: 5
Views: 242

Re: Can't get list command to work on my Hard Drive "Seagate Bac"

FYI: Unix never did like spaces in names nor many "special" characters. You can "escape" them by preceding them with a backslash or, better yet, learn to keep away from the OS-specific best-not-to-use (which Windows cmd also has). Both accept the underscore which not only allows single words to look...
by jpezz
Fri Apr 19, 2019 9:58 pm
Forum: Beginners
Topic: Error when running tkinter in a script as a process
Replies: 3
Views: 253

Re: Error when running tkinter in a script as a process

You probably need a few things prior to running the python program 1) You need to excute $xhost + which allows other users to output to your display. This must be done BEFORE the (even root-owned) GUI runs once you are logged in. Note, the xhost command doesn't have to allow everyone anything but do...
by jpezz
Fri Apr 19, 2019 9:40 pm
Forum: Beginners
Topic: pi boot and run impress and then a slideshow
Replies: 10
Views: 426

Re: pi boot and run impress and then a slideshow

Instead of trying to to the whole thing at reboot, try it first from the command line $ prompt. Does it work? Does it find the slideshow file? Now try running it from another directory (keep the slideshow where it is but do a "cd Download" or other directory. Does it still find the file and run it? ...
by jpezz
Fri Apr 19, 2019 9:21 pm
Forum: Beginners
Topic: TouchScreen with Raspberry
Replies: 1
Views: 154

Re: TouchScreen with Raspberry

I have done 3 touchscreen systems: 1) A museum question/answer system that used shell scripts and built-in programs such as gxmessage and feh for displaying and getting back information based on user selections. It is not Pi specific so it was easy to explain what you want for an output and what you...
by jpezz
Wed Apr 17, 2019 8:30 pm
Forum: Troubleshooting
Topic: plexar 2430mw touchscreen gets error mesage and won't align.
Replies: 0
Views: 75

plexar 2430mw touchscreen gets error mesage and won't align.

First, let me say I've never had any trouble in the past with HP or Acer touchscreens. They were simply plug-and-go. $uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux dmesg shows usbhid 1-1.3:1.1: couldn't find an input interrupt endpoint The touchscreen...
by jpezz
Fri Apr 05, 2019 2:44 pm
Forum: Troubleshooting
Topic: Can I get back the flashing green light?
Replies: 8
Views: 319

Re: Can I get back the flashing green light?

HawaiianPi wrote:
Fri Apr 05, 2019 2:15 am
jpezz wrote:
Fri Apr 05, 2019 1:33 am
Green light, wherefore art thou?
Dead, most likely. :cry:

The question is, what killed it? :?
Oh well! Better the light than the Pi. Thanks.
by jpezz
Fri Apr 05, 2019 2:42 pm
Forum: Troubleshooting
Topic: Can I get back the flashing green light?
Replies: 8
Views: 319

Re: Can I get back the flashing green light?

All that did was stop the poweroff from completing. Thanks anyway. What makes you think it didn't complete? (ETA: You did disable your script when you tried the other method, didn't you?) The Pi doesn't power off as such - it just halts*. Either method produces exactly the same result as far as I c...
by jpezz
Fri Apr 05, 2019 1:33 am
Forum: Troubleshooting
Topic: Can I get back the flashing green light?
Replies: 8
Views: 319

Re: Can I get back the flashing green light?

I have a Pi 3B+ and used the shutdown switch program described here: https://www.instructables.com/id/Simple-Raspberry-Pi-Shutdown-Button/ . It works great. However, the first time I used it, it flashed the green light as it said but then on, there is no green light EVER i.e. on bootup, disk access...
by jpezz
Fri Apr 05, 2019 1:26 am
Forum: Troubleshooting
Topic: Can I get back the flashing green light?
Replies: 8
Views: 319

Re: Can I get back the flashing green light?

Can't help with the light, but you don't need a script for that on the 3B+. Just add the following line to /boot/config.txt dtoverlay=gpio-shutdown,gpio_pin=3 You can change the GPIO pin, but leaving it at 3 means the same button will start the Pi up again too. Of course, if you use I2C which uses ...
by jpezz
Thu Apr 04, 2019 1:41 pm
Forum: Troubleshooting
Topic: Can I get back the flashing green light?
Replies: 8
Views: 319

Can I get back the flashing green light?

I have a Pi 3B+ and used the shutdown switch program described here: https://www.instructables.com/id/Simple-Raspberry-Pi-Shutdown-Button/ . It works great. However, the first time I used it, it flashed the green light as it said but then on, there is no green light EVER i.e. on bootup, disk access,...
by jpezz
Fri Mar 01, 2019 2:37 am
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

Recommended enhancements to kweb: Simple ability in kiosk mode to show forward/back arrows on pages. Simple ability in kiosk mode to timeout pages when inactivity reaches preset time so browser automatically returns to home page. This has to be done inside the web page using JavaScript. No kidding ...
by jpezz
Sun Feb 17, 2019 2:44 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

Recommended enhancements to kweb: Simple ability in kiosk mode to show forward/back arrows on pages. Simple ability in kiosk mode to timeout pages when inactivity reaches preset time so browser automatically returns to home page. By-user configuration pages in local directory so features can be enab...
by jpezz
Tue Feb 12, 2019 4:20 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

So this should work? But it doesn't. <iframe src="file:///homepage.html?cmd=/bin/date%3E/home/admin/telegraph/Date_of_Command" width="0" height="0" name="getaccessdate"></iframe> In kiosk mode, nothing happens. W/o kiosk mode (i.i. "K" removed), I get a terminal window whose name is "Date_of_Comman...
by jpezz
Mon Feb 11, 2019 11:38 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

No, that won't work. You have to add the hidden command to each of your HTML files, a small invisible iframe (0x0, border width =0) whose src attribute contains the command link. You can also use JavaScript to set the src at load time. So the code would look like this to add a command in each page ...
by jpezz
Mon Feb 11, 2019 9:02 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

But what makes kweb use that file? I would like to put a hidden command in that file and want it executed every time every page loads. Will that work? How would I grab the name of the page I loaded and output that name to a file so I know what page was just loaded? I must be really slow! No, that w...
by jpezz
Thu Feb 07, 2019 9:38 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

I have read the manual multiple times. I still don't understand exactly how to accomplish my task. That was the same problem I had with the Javascript. Once shown the back button script, it didn't take me long to figure out the forward button and a button to go to the main page.Right now I'm trying...
by jpezz
Thu Feb 07, 2019 1:57 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

3) Right now there is no ability to log out in kiosk mode with mkiosk without a keyboard or real mouse (with a right click). The only choice is to powercycle the Pi. I'll need to incorporate one page that has a hidden place where touching it will activate logout and/or shutdown. I should mention I ...
by jpezz
Thu Feb 07, 2019 1:52 am
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

3) Right now there is no ability to log out in kiosk mode with mkiosk without a keyboard or real mouse (with a right click). The only choice is to powercycle the Pi. I'll need to incorporate one page that has a hidden place where touching it will activate logout and/or shutdown. I should mention I ...
by jpezz
Wed Feb 06, 2019 9:15 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

1) There is no forward arrow in the toolbar, only a back button. 2) A back button using Javascript is really simple, e. g.: <a href="javascript:history.back()"><button>Back</button></a> Aha! GREAT HELP! Not only did that do what I wanted but it allowed me to do an intelligent search for a way to go...
by jpezz
Tue Feb 05, 2019 10:17 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

You can either hide the complete toolbar (kiosk mode) or show it. Back/forward could be done in Javascript. In local HTML files you can als use keyboard command links. Thanks again for your reply. However, the first alternative - no toolbar or no arrows is not what I need. Is there any way to remov...
by jpezz
Mon Feb 04, 2019 8:16 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

Settings commands require root access (sudo). Configuration (browser) does not require root rights. The file is ".kweb.conf" inside the user's home directory. To create it from the menu page, copy kweb_about_c.html from /usr/local/share/kweb into the home/userx directory. You can also create .kweb....
by jpezz
Mon Feb 04, 2019 4:33 pm
Forum: Raspbian
Topic: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)
Replies: 1537
Views: 661842

Re: Kweb Suite (Minimal Kiosk Browser, omxplayerGUI)

I read the manual and did a search of this topic and I'm still confused. It appears there is only one place to have all the configuration settings (such as homepage and options set. It also appears one could start kweb with the options and homepage on the command line. What I can't find is a way to...

Go to advanced search