diff --git a/config/sudoers.d/kano-desktop_conf b/config/sudoers.d/kano-desktop_conf index 2c84bdb..b29e1bb 100644 --- a/config/sudoers.d/kano-desktop_conf +++ b/config/sudoers.d/kano-desktop_conf @@ -6,8 +6,8 @@ # # Scratch is sudoed from kdesk and suffers from a similar issue. # -Cmnd_Alias KILL_DESKTOP_WIDGETS = /usr/bin/pkill -f kano-settings, \ - /usr/bin/pkill -f kano-wifi-gui +Cmnd_Alias KILL_DESKTOP_WIDGETS = /usr/bin/pkill kano-settings, \ + /usr/bin/pkill kano-wifi-gui %sudo ALL=(root) NOPASSWD: KILL_DESKTOP_WIDGETS diff --git a/systemd/kano-desktop-lxpanel.service b/systemd/kano-desktop-lxpanel.service index c69f72e..240e979 100644 --- a/systemd/kano-desktop-lxpanel.service +++ b/systemd/kano-desktop-lxpanel.service @@ -18,7 +18,7 @@ BindsTo=kano-desktop.service [Service] ExecStart=/usr/bin/lxpanel --profile LXDE Environment="DESKTOP_MODE=1" -ExecStop=/usr/bin/sudo /usr/bin/pkill -f kano-settings ; /usr/bin/sudo /usr/bin/pkill -f kano-wifi-gui +ExecStop=/usr/bin/sudo /usr/bin/pkill kano-settings ; /usr/bin/sudo /usr/bin/pkill kano-wifi-gui [Install] WantedBy=kano-desktop.service