Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document wallpaper-with-IP process #64

Open
FDelporte opened this issue Oct 31, 2024 · 1 comment
Open

Document wallpaper-with-IP process #64

FDelporte opened this issue Oct 31, 2024 · 1 comment
Assignees

Comments

@FDelporte
Copy link
Member

FDelporte commented Oct 31, 2024

One of the great things of Pi4J OS is the wallpaper with the IP info. Can we document a how-to for this?

Found on https://forums.raspberrypi.com/viewtopic.php?t=259108 a way to do this with Python.

Java single file app is prepared (but still needs to be tested on RPi):
https://github.com/Pi4J/pi4j-jbang/blob/main/GenerateWallpaperInfoImage.java

DISPLAY=:0 java GenerateWallpaperInfoImage.java wallpaper-source.png wallpaper-output.png
crontab -e

# Add the following line to the crontable:
@reboot (sleep 90; java /home/pi/wallpaper/GenerateWallpaperInfoImage.java /home/pi/wallpaper/wallpaper-source.png /home/pi/wallpaper/wallpaper-output.png)
@FDelporte FDelporte self-assigned this Oct 31, 2024
@DieterHolz
Copy link
Contributor

If we have the how-to, we can integrate it in our "build-script"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants