Page 1 of 1

How to start my PyQT application instead of X window

Posted: Mon Oct 19, 2015 6:36 pm
by refikh
Dear Raspberry Pi group,

first of all, the board is a great little embedded device for learning and thank you for creating it.

Now I will continue with my question. I have the Raspberry Pi 2 B board, I installed Raspbian on it using the instructions given on your site. I installed the PyQT4 libraries, to run PyQT4 applications on it. I wrote a tiny test app and it works absolutely fine. However, I would like my GUI application to start without the automatic starting of LXDE manager and me going to the terminal window and typing
  • python appName.py
but rather I would like that my system boots directly into my GUI application? Without maybe starting the X window manager? Is it possible at all? And do you know how or is there a tutorial for it?

Thank you :) , I look forward hearing from you. Please let me know, if I posted the question in the wrong group.

Re: How to start my PyQT application instead of X window

Posted: Fri Nov 13, 2015 4:22 pm
by -rst-
First you would need to disable the boot to X in the raspi-config http://elinux.org/RPi_raspi-config

Then look at running your script at start up - several threads on this search.php?keywords=python+script+at+boot