You are not logged in.
I'm looking for a solution for this and what I'm trying to do is :
init a shutdown when the system inits.
Then before 10 minutes it will be prompted so I can save my work.
It's pretty easy I think but I'm new to linux. I've checked twmn at notification but it's quite large with qt lib so I don't use it. A urxvtc with some text is enough for me
Thanks everyone for reading this
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
here you can find an overview of X11 messaging / notification options. Combine that with a simple shellscript and you're done
sleep 3600
/usr/bin/notify-send -t 0 "Warning" "Shutting down in 10 minutes"
sudo shutdown -h 600 &
You can cancel the shutdown using `sudo shutdown -c`
Offline
here you can find an overview of X11 messaging / notification options. Combine that with a simple shellscript and you're done
sleep 3600 /usr/bin/notify-send -t 0 "Warning" "Shutting down in 10 minutes" sudo shutdown -h 600 &
You can cancel the shutdown using `sudo shutdown -c`
Thanks for this, I will try
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline