Alberto; Using PolicyKit is obviously the best appraoch and your effort is apprieciated. All I intended the script alternative to be is something to use while that is being done. Take a look at these and see if they won't work.
nv1.sh echo "It is not recommended that this application be run in SuperUser mode unless you" echo "are experiencing proplems saving the xorg.conf file. Doing so can cause the" echo "X server to fail to execute." echo "" echo "The first time you choose SuperUser, the /etc/X11/xorg.conf file will" echo "be saved as /etc/X11/original-xorg.conf." echo "Each time after that, it will save the current /etc/X11/xorg.conf as " echo "/etc/X11/last-xorg.conf." echo "" echo "Do you wish to run in SuperUser Mode? y/n" aa="" read aa if [ $aa = "y" ] then sudo sh /etc/X11/nv.sh else nvidia-settings fi nv.sh cd /etc/X11 if [ -f "original-xorg.conf" ] then echo cp xorg.conf original-xorg.conf else cp xorg.conf last-xorg.conf fi nvidia-settings -- nvidia-settings doesn't have permissions to write xorg.conf https://bugs.launchpad.net/bugs/200868 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
