Starting a GUI program at startup
Posted: Tue Mar 08, 2016 4:39 pm
I have a Python program using a GUI based on the PyQt toolkit.
I have written a .sh file, hoping to make my program run at startup.
While the .sh file works when executed at the command line, it doesn't work when called by /etc/X11/I it/xinitrc or /etc/X11/Xsession.
Where should my .sh file be called from? I know that rc.local is appropriate for command-line programs but not for GUI programs.
I have written a .sh file, hoping to make my program run at startup.
While the .sh file works when executed at the command line, it doesn't work when called by /etc/X11/I it/xinitrc or /etc/X11/Xsession.
Where should my .sh file be called from? I know that rc.local is appropriate for command-line programs but not for GUI programs.