From 67ad38a7e60512bdd1d3d919e5b5cf7d15f47ef1 Mon Sep 17 00:00:00 2001 From: Luke D Jones Date: Wed, 23 Sep 2020 16:51:09 +1200 Subject: [PATCH] Ditch the gsync line in screen settings file. Oops - Add force option to `systemctl reboot`. Be careful. --- asus-nb-ctrl/src/main.rs | 2 +- data/90-nvidia-screen-G05.conf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/asus-nb-ctrl/src/main.rs b/asus-nb-ctrl/src/main.rs index 39d1fd56..fd0a3821 100644 --- a/asus-nb-ctrl/src/main.rs +++ b/asus-nb-ctrl/src/main.rs @@ -119,7 +119,7 @@ fn do_gfx( ); do_gfx_action( command.force, - Command::new("systemctl").arg("reboot"), + Command::new("systemctl").arg("reboot -i"), "Reboot Linux PC", "Please reboot when ready", )?; diff --git a/data/90-nvidia-screen-G05.conf b/data/90-nvidia-screen-G05.conf index 6ff2f46c..7e561fc5 100644 --- a/data/90-nvidia-screen-G05.conf +++ b/data/90-nvidia-screen-G05.conf @@ -1,5 +1,4 @@ Section "ServerLayout" Identifier "layout" Option "AllowNVIDIAGPUScreens" - Option "metamodes" "nvidia-auto-select +0+0 {AllowGSYNC=On, AllowGSYNCCompatible=On}" EndSection