From 30a2d8bfd1dbf3c071655be7ac57d29cbc4ea9a5 Mon Sep 17 00:00:00 2001 From: crt0mega Date: Wed, 13 Jun 2018 18:13:27 +0200 Subject: [PATCH] Using gksudo instead of pkexec, fixed readme --- hardware/zwattman.sh | 4 +++- readme.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hardware/zwattman.sh b/hardware/zwattman.sh index fc7db0c..2eb2c57 100755 --- a/hardware/zwattman.sh +++ b/hardware/zwattman.sh @@ -15,7 +15,9 @@ #MCLK_DOWN_HYST MCLK_ACTIVE_LEVEL" if [ "$(id -u)" != "0" ]; then - pkexec $0 + #pkexec $0 + gksudo $0 + exit fi CARD="card0" diff --git a/readme.md b/readme.md index bc85a0a..617024d 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,8 @@ Trigger warning: Most of them need "zenity" to be installed. - games/witcher-2-import - Creates a symlink to your The Witcher savegames, allowing the Linux version of The Witcher 2 to import these. +- hardware/zwattman.sh + - Simple Zenity GUI for changing Wattman settings on Kernel 4.17+ - playonlinux/pol-steamhelp - Provides a simple GUI to install Steam games via AppID in PlayOnLinux "Virtual Drives".