This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| tty -s && PRINTOUT=/dev/stdout || PRINTOUT=/dev/null | |
| # the following exports are needed when running in system cron | |
| export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" | |
| export HOME=/home/myhome # change this!! | |
| export MYLANG=it-IT # and eventually also this | |
| export XDG_RUNTIME_DIR=/run/user/1000 | |
| export XDG_SEAT=seat0 |