Добавить
Уведомления

Tutorial - How to create a power menu with YAD

#linux #yad #linuxhub In this video we learn how to create a linux power menu to exit a user session calling for "Reboot, Shutdown and Logout". The script is created with yad and can be easily used on most linux distros. ##Installation## sudo apt install yad ##ubuntu/debian/mint sudo pacman -S yad ##arch sudo dnf install yad ##fedora sudo yum install yad ##centos/rhel ##The Script## yad --center --undecorated --skip-taskbar --timeout="25" --timeout-indicator="top" --button="Restart:systemctl reboot" --button="Shutdown:systemctl poweroff" --button="Logout:kill -9 -1" --button="Cancel:1" ############################################### on the next tutorial i will show you how to add images to the buttons to style it better.

12+
26 просмотров
2 года назад
20 февраля 2024 г.
12+
26 просмотров
2 года назад
20 февраля 2024 г.

#linux #yad #linuxhub In this video we learn how to create a linux power menu to exit a user session calling for "Reboot, Shutdown and Logout". The script is created with yad and can be easily used on most linux distros. ##Installation## sudo apt install yad ##ubuntu/debian/mint sudo pacman -S yad ##arch sudo dnf install yad ##fedora sudo yum install yad ##centos/rhel ##The Script## yad --center --undecorated --skip-taskbar --timeout="25" --timeout-indicator="top" --button="Restart:systemctl reboot" --button="Shutdown:systemctl poweroff" --button="Logout:kill -9 -1" --button="Cancel:1" ############################################### on the next tutorial i will show you how to add images to the buttons to style it better.

, чтобы оставлять комментарии