'poweroff' does more. In both case, 'systemctl' actually does the job, on Trisquel 8:
$ ls -l /sbin/shutdown /sbin/poweroff
lrwxrwxrwx 1 root root 14 Apr 28 10:03 /sbin/poweroff -> /bin/systemctl
lrwxrwxrwx 1 root root 14 Apr 28 10:03 /sbin/shutdown -> /bin/systemctl

Since I know 'systemctl poweroff' does not require 'sudo", is it really needed to run 'shutdown'?

Sergey could indeed create a launcher like that:
[Desktop Entry]
Name=poweroff
Exec=poweroff
Type=Application

Reply via email to