LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Running an app in startup. (https://www.linuxquestions.org/questions/mandriva-30/running-an-app-in-startup-214912/)

fulat2k 08-08-2004 02:33 AM

Running an app in startup.
 
Hi folks,

I've been trying to get the nvidia-settings app to load during startup using the "-l" switch by placing the command in .xsession and .xinitrc. Unfortunately, neither works. I'm using KDE3.2 with MDK10. Is there anywhere I can place this command?

Thanks!

meldar 08-08-2004 04:58 AM

Most login-managers (e.g. KDM and GDM) skip .xinitrc and .xsession when you specify a premade session.
A solution to this could be to set the session to default instead of KDE, and put startkde in .xsession together with nvidia-settings. Note that if you want to change desktop/wm, you have to edit the script.
As another solution, make a shell-script in ~/.kde/Autostart to launch nvidia-settings. Note that this will only work in KDE.

fulat2k 08-08-2004 05:03 AM

Thanks for the update. I'll stick with the scripts in the .kde/Autostart directory.

Cheers!

Ghost_runner 08-09-2004 05:28 PM

you can also create a desktop object, and drop it in the Autostart directory


All times are GMT -5. The time now is 10:24 AM.