Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
computer:raspberry_pi_timeclock [2016/03/05 23:43] tdobes [Part 5: systemd / browser and customization] |
computer:raspberry_pi_timeclock [2016/04/03 20:51] (current) tdobes |
||
---|---|---|---|
Line 183: | Line 183: | ||
echo 'sys.exit(app.exec_())' >> /usr/local/bin/simplebrowser.py | echo 'sys.exit(app.exec_())' >> /usr/local/bin/simplebrowser.py | ||
chmod +x /usr/local/bin/simplebrowser.py | chmod +x /usr/local/bin/simplebrowser.py | ||
+ | |||
+ | # NOTE: If you're fighting a javascript problem, add this line after creating the QWebView: | ||
+ | # web.settings().globalSettings().setAttribute(QWebSettings.WebAttribute.DeveloperExtrasEnabled, True) | ||
echo '#!/bin/sh' > /usr/local/bin/timeclock-browser.sh | echo '#!/bin/sh' > /usr/local/bin/timeclock-browser.sh |