Originally Posted by zetrotrack000
PS. PowerTop is showing that the process is running, but its not working like it used to do when I launch it from terminal.
This is just a guess...
It might be that your python script runs BEFORE there are enough desktop parts active to support it correctly. For example, the desktop is an X-Windows DISPLAY. If your script's shell cannot learn the active DISPLAY or if your script cannot get proper access, the the script will not be able to create and open an on-desktop window.
There are ways for your script to wait until needed resources are available.
There are ways to impose a sequence on the various login-time applications.
If all else fails, you could insert a run-time delay (consider adding a WAIT=nn script parameter) to allow for some time passage and those resources to be active.