How to Start a Program with a Graphical Interface in Full Screen at Boot on Raspberry Pi
I tried several configurations to start my Python application at boot, disabling the loading of other applications and the desktop manager. The following setup seems to work well:
-
Disable Desktop Autologin
Run `sudo raspi-config` and select Boot Options / B1 Desktop / Cli, then choose Console Autologin.
-
Start startx in rc.local
Edit rc.local using, for example, `sudo nano /etc/rc.local`.
At the end of the file, before `exit 0`, add `startx &`.
-
Configure xinitrc
sudo nano /etc/X11/xinit/xinitrc
Comment out the following line:
. /etc/X11/xsession
Add the following line to start the openbox desktop manager:
exec openbox-session
-
Start your custom software in autostart
sudo nano /etc/xdg/openbox/autostart
Add your script:
/<path_to_your_script>/<script_name> &
I am passionate about technology and the many nuances of the IT world. Since my early university years, I have participated in significant Internet-related projects. Over the years, I have been involved in the startup, development, and management of several companies. In the early stages of my career, I worked as a consultant in the Italian IT sector, actively participating in national and international projects for companies such as Ericsson, Telecom, Tin.it, Accenture, Tiscali, and CNR. Since 2010, I have been involved in startups through one of my companies, Techintouch S.r.l. Thanks to the collaboration with Digital Magics SpA, of which I am a partner in Campania, I support and accelerate local businesses.
Currently, I hold the positions of:
CTO at MareGroup
CTO at Innoida
Co-CEO at Techintouch s.r.l.
Board member at StepFund GP SA
A manager and entrepreneur since 2000, I have been:
CEO and founder of Eclettica S.r.l., a company specializing in software development and System Integration
Partner for Campania at Digital Magics S.p.A.
CTO and co-founder of Nexsoft S.p.A, a company specializing in IT service consulting and System Integration solution development
CTO of ITsys S.r.l., a company specializing in IT system management, where I actively participated in the startup phase.
I have always been a dreamer, curious about new things, and in search of “new worlds to explore.”
Comments