As the application you'd like run is the clutter one, you must make sure X is launched before your app. usually you need add an appropriate sleep time and run your app with &. Thus, you can insert your app entry point in rc3.d as a service. Another way is to create an start file under /etc/xdg/autostart
WangJing -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ouyong1 Sent: 2009年6月23日 10:54 To: dev Subject: [Moblin Dev] Some problems about moblin start-up Dear All, I have some problems. I would like to run a program(a clutter application) before the emergence of the desktop,I used three methods,but all useless. The first method: I add my program path into /etc/rc.local,but there is no response when i reboot the system. Second: I write in /home/username/.bashrc , some codes like this cd /home/username su username -c "./home/username/helloworld/helloworld" #the last helloworld is a executable program of clutter application I reboot system after it. Then i open the bash ,he asked me for password,and my program can run after i send the password. But i want to run my program before the emergence of the desktop. By this method , the program run after the emergence of the desktop,so it failed. The last method, I write the sanme code in /home/username/.bash_profile,there is nothing happened. Can anyone help me? Thanks ! Eric,6/23/2009 _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
