8000 GitHub - TimoLin/DesktopPi: Turn Raspberry Pi to a small Desktop Screen that shows some information.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TimoLin/DesktopPi

Repository files navigation

DesktopPi

A PyQt5 based GUI program to show some interesting information on the Raspberry Pi with a 3.5inch GPIO screen.

Prerequisites

Hardware:
Raspberry Pi 3B and a 3.5 inch GPIO screen

Environment:

sudo apt install python3-pyqt5
pip install -r requirements.txt

Configuration

Config file content:

[DEFAULT]

GH_TOKEN = YOUR_GITHUB_TOKEN

URL = CFD_ONLINE_JOBS_URL

1. GitHub statistics

Firstly, copy config file:

cp config.ini.example config.ini

Go to github token settings and generate a new personal token. Put it to YOUR_GITHUB_TOKEN.

2. CFD Job monitor

If you are a CFD engineer student who is seeking for a PhD scolarship, a Post-Doc position or an industry job, this DesktopPi provides a small screen showing the latest job posted on cfd-online.
Choose one of the following jobs' url and put it to CFD_ONLINE_JOBS_URL:

Set Raspberry Pi menu bar to autohide

Right click menu bar -> Panel Settings -> Advanced -> Check Minimize panel when not in use.

Run

python desktopPi.py

Cron job to scheldue the screen on/off at morning/night

Type crontab -e and put the following content at the end of the cronjob.

# Turn off screen at night time 23:30
30 23 * * * DISPLAY=:0 xset dpms force off
# Turn on screen at morning time 8:00
00 08 * * * DISPLAY=:0 xset dpms force on

Demo

May-06-20:13-36

Acknowledgement

The CPU/RAM's UI design and PyQt code are adapted from earthinversion/SystemMonitorApp (MIT License).

Thermo icon was taken from xiaoyou-bilibili/pi_tool.

Others used Alibaba Iconfont.

About

Turn Raspberry Pi to a small Desktop Screen that shows some information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0