Page 1 of 1

Disable desktop controls for raspberry

Posted: Wed Oct 08, 2014 8:33 pm
by cnguyen
How do I run a python script (pyqt) while at the same time disabling controls outside the script. Basically , how do I disable the desktop control and lock user input to the script only.

Thanks. Love this forum.

Re: Disable desktop controls for raspberry

Posted: Thu Oct 09, 2014 12:19 am
by elatllat

Re: Disable desktop controls for raspberry

Posted: Thu Oct 09, 2014 7:15 pm
by cnguyen
I wanted to run a pyqt app while disabling windows control. Here's what I figured out so far and it seems okay for now.

In terminal:
sudo nano /etc/xdg/lxsession/LXDE/autostart

comment out with # the first 3 lines
#@lxpanel --profile LXDE
#@pcmanfm --desktop --profile LXDE
#@xscreensaver -no-splash

add my pyqt script
@sudo /usr/bin/python3 /home/pi/gui.py