How to start application based on Python + Glade?
startx python apk.py
is not working. I can run application like Firefox from text mode:
startx firefox
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityThe client argument has some parsing rules that you can find in the man pages for startx
and xinit
.
Basically, you need to have the client start with a slash or dot. This works:
$ startx /usr/bin/python apk.py
Or the common cheat to use path from env:
$ startx /usr/bin/env python apk.py
If the program can start by itself (correct #! line at start in case of python), you can just
$ startx ./apk.py
python apk.py