refikh
Posts: 1
Joined: Mon Oct 19, 2015 6:18 pm

How to start my PyQT application instead of X window

Mon Oct 19, 2015 6:36 pm

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.

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

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

Fri Nov 13, 2015 4:22 pm

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
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Return to “Python”