Skip to content

MQTT-controlled fullscreen browser utilizing pywebview

Notifications You must be signed in to change notification settings

c-base/mqttwebview

Repository files navigation

A MQTT-connected web view

How to install

  • Install the dependencies like this:
sudo apt install python3-gi gir1.2-webkit-3.0 libwebkitgtk-3.0-dev
pip3 install -r requirements.txt --user
  • Then clone the git repo: https://github.com/c-base/mqttwebview.git

How to run

  • cd into the freshly cloned directory
  • Run the program with ./run_mqttwebview.sh

Run automatically at boot time

Set i3 as the default window manage (session) in lightdm.

Add the following line to /home/$USER/.i3/config:

exec /home/$USER/mqttwebview/run_mqttwebview.sh

How to run X11 without mouse cursor and also disable display sleep

in /etc/lightdm/lightdm.conf change the line

xserver-command=X

into this:

xserver-command=X -nocursor -s 0 dpms