This is my first question here in forum. I have an RPi 3B+ with Raspbian OS installed in it with 16gb SD Card. I am developing a GUI application using PyQT. It's running just fine. I want it to start when the RPi boots. It's happening when I add it's location in autostart file located at /etc/xdg/lxsession/LXDE-pi/autostart. But I don't want anything else on the desktop except the application. I also saw people rebooting with root mode but IDK if it's safe. I just don't want any menu, Functionality, network statuses etc on the desktop GUI. Can it be disabled? Thanks for the help :) Regards Sahil
1 Answer
I suggest you to try out this guide: setup-raspberry-pi-for-kiosk-mode This guide starts with the installation of Raspbian Lite and then installing X11.
Steps:
Flash Raspbian Lite.
Install X11 and related packages. sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox
In the file, /etc/X11/xinit/xinitrc, write the script to start your pyqt application.
In the file, /etc/profile, append the line "startx -- -nocursor".