Comments (8)
In my case y have to do a
export DISPLAY=:0
Before any xdotool key , to make it work properly.
not sure if its your case or how to integrate it on crontab , but hope this help.
from chilipie-kiosk.
That sounds odd.
I just tried disconnecting from my network so I got the "page not found" page on Chrome, turned the network back on, and sent the reload keypress, and it loaded just fine.
Can you recover from that situation in any other way? For example, using the keyboard/mouse to reload the page? Does that work?
from chilipie-kiosk.
It already should be set for all commands in the crontab, though... 🤔
from chilipie-kiosk.
Thanks for all your help. I've tried the following:
$ xdotool key ctrl+R
Error: Can't open display: (null)
Failed creating new xdo instance
Then tried the export command first, which worked fine:
$ export DISPLAY=:0
$ xdotool key ctrl+R
$
So I've updated the crontab entry to the following:
* * * * * export DISPLAY=:0;xdotool key ctrl+R
from chilipie-kiosk.
Hmm, very curious!
If it's not too much to ask, could you still try and see if you can make it work by changing the DISPLAY=:0.0
at the top of the crontab file to DISPLAY=:0
to see if that fixes it as well?
Because setting it at the top should definitely set it for the environment of all cronjobs.
from chilipie-kiosk.
I'm not very in to linux commands but could the "export" before DISPLAY=:0.0 at top of the crontab, might make it work?
from chilipie-kiosk.
According to this answer it should work on Debian, but should take a closer look.
from chilipie-kiosk.
I'm struggling with this crontab doesnt change tabs. On boot the first tab displays but never changes. I can manually change the tab with export DISPLAY=:0 and xdtool ctrl-Tab etc.
from chilipie-kiosk.
Related Issues (20)
- F11 not work HOT 3
- Audio firmware missing when overlay file system enabled
- Touch support HOT 1
- URL from .txt-file results in opening an additional tab on every boot HOT 1
- Clear cache and refresh on start? HOT 6
- chromium dosn't show up.... HOT 1
- Device unusable after some days HOT 1
- sudo apt-get update issue - E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/bullseye/InRelease is not valid yet HOT 1
- Remove "save" and "print" icon on PDF viewer
- Github Discussions?
- including the machine's mac address in the url
- Install chilipie kiosk on pc whit ubunto/linux
- Looking for ideas: Installing a button to toggle between two websites
- Add Support for custom keyboard Shortcuts
- Aditional chrome startup flags for complex pages or low power Pi Zero W HOT 1
- Run kiosk on multiple HDMI outputs
- Multi-tab page monitoring, blanking issues
- Alternatives? HOT 3
- GPIO Monitor
- How to hide the cursor in select tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chilipie-kiosk.