CAM (5th July 2009)
OK, I am running Ubuntu 9 with GNOME and wondering if anyone can help me. I am trying to create a startup script to execute a command related to the nVidia drivers. They are quite poorly designed in that they refer to a config file in the user's home folder that does not load on booting Ubuntu. You have to execute the following command on startup to re-enable any custom settings in the nvidia-settings control panel:
Apparently this goes in the ~/.xinitrc or ~/.xsessions file but neither work even if I make them executable, Cedega still insists on running applications without FSAA. Running the command manually in the terminal works so something is preventing the command from executing. I also tried to put it in /etc/X11/xinit/xinitrc but that failed too.Code:nvidia-settings --load-config-only
Also I tried making it a script in /etc/init.rd but that failed.
Any ideas? I now have this command spread about in multiple places but Ubuntu refuses to execute the scripts.

Run your ~/.xinit file from an interactive terminal after you've logged on, so you can see if there are any errors shown that are normally hidden. You might find you need a full path to the command (like /usr/bin/... or similar).
Say 'which nvidia-settings' if you're not sure where it lives.
CAM (5th July 2009)
I tried running .xinitrc from an interactive terminal and it worked. Somehow it isn't executing startup scripts.
On my search I found this article:
Adding Startup Applications in Ubuntu Jaunty 9.04 | Krishnamoorthy Blogs
I immediately said "screw the console" and tried the command in here and it didn't work. Then I figured "hey, nothing saying I can't execute ~/.xinitrc from here as a script is a program after all." So after a bit of cheating and pointing GNOME's Startup Applications tool to the script it has enabled 3D FSAA.
There are currently 1 users browsing this thread. (0 members and 1 guests)