Save the file Now open ~/.gnome2/nautilus-scripts folder and make the script executable, Right click the file and choose Properties. Select the Permissions tab and check execute for Owner. Close Nautilus and right click the Desktop. You should now have a new menu option named Scripts. Selecting AIGLX and answer the question. Note: [Zenity doesn't have a yes/no option as of now. Zenity is included in your Fedora Core installation.

Diego Torres Milano has a python implementation of the dialog box that has Yes and No buttons: