+ Post New Thread
Results 1 to 4 of 4
*nix Thread, Startup Scripts and nVidia FSAA in Technical; OK, I am running Ubuntu 9 with GNOME and wondering if anyone can help me. I am trying to create ...
  1. #1
    CAM
    CAM is offline

    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath, Surrey
    Posts
    4,301
    Thank Post
    870
    Thanked 406 Times in 307 Posts
    Blog Entries
    60
    Rep Power
    289

    Startup Scripts and nVidia FSAA

    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:

    Code:
    nvidia-settings --load-config-only
    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.

    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.

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,866
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    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.

  3. Thanks to powdarrmonkey from:

    CAM (5th July 2009)

  4. #3
    CAM
    CAM is offline

    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath, Surrey
    Posts
    4,301
    Thank Post
    870
    Thanked 406 Times in 307 Posts
    Blog Entries
    60
    Rep Power
    289
    I tried running .xinitrc from an interactive terminal and it worked. Somehow it isn't executing startup scripts.

  5. #4
    CAM
    CAM is offline

    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath, Surrey
    Posts
    4,301
    Thank Post
    870
    Thanked 406 Times in 307 Posts
    Blog Entries
    60
    Rep Power
    289
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Sofware deployments via startup scripts
    By Oops_my_bad in forum Windows Vista
    Replies: 1
    Last Post: 7th May 2009, 11:13 PM
  2. Another newbie NM question.....startup scripts..
    By Little-Miss in forum Learning Network Manager
    Replies: 17
    Last Post: 27th January 2009, 01:45 PM
  3. Group Policies and startup scripts
    By Hedghog in forum Windows
    Replies: 1
    Last Post: 16th June 2008, 12:43 PM
  4. Startup scripts
    By djones in forum Windows
    Replies: 10
    Last Post: 27th February 2008, 12:18 AM
  5. Computer Startup Scripts
    By Spot in forum Windows
    Replies: 18
    Last Post: 16th November 2005, 11:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •