+ Reply to Thread
Results 1 to 4 of 4

Thread: Startup Scripts and nVidia FSAA

  Share/Bookmark
  1. #1
    CAM
    CAM is offline

    Reputation Reputation
    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath
    Posts
    495
    Blog Entries
    30
    Thank Post
    104
    Thanked 28 Times in 22 Posts
    Rep Power
    11

    Default 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

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,450
    Thank Post
    343
    Thanked 687 Times in 576 Posts
    Rep Power
    144

    Default

    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 (05-07-2009)

  4. #3
    CAM
    CAM is offline

    Reputation Reputation
    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath
    Posts
    495
    Blog Entries
    30
    Thank Post
    104
    Thanked 28 Times in 22 Posts
    Rep Power
    11

    Default

    I tried running .xinitrc from an interactive terminal and it worked. Somehow it isn't executing startup scripts.

  5. #4
    CAM
    CAM is offline

    Reputation Reputation
    CAM's Avatar
    Join Date
    Mar 2008
    Location
    Burgh Heath
    Posts
    495
    Blog Entries
    30
    Thank Post
    104
    Thanked 28 Times in 22 Posts
    Rep Power
    11

    Default

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

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

Posting Permissions

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