Hi,
In my FreeBSD, I use 'Lumina'-desktop environment with Display manager 'Slim' if this is matters.
I looked at the source script and found the file 'shutdown.cpp' and wondered if , if I added that lines it would not work in FreeBSD as well.
void Shutdown::shutdown() {
ifdef Q_OS_FreeBSD QProcess::startDetached("xterm -T Shutdown -e sudo shutdown -p now"); //OR THIS -> shutdown -p now
endif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What desktop environment are you using?
Last edit: Ricardo Villalba 2019-12-31
Hi,
In my FreeBSD, I use 'Lumina'-desktop environment with Display manager 'Slim' if this is matters.
I looked at the source script and found the file 'shutdown.cpp' and wondered if , if I added that lines it would not work in FreeBSD as well.
void Shutdown::shutdown() {
ifdef Q_OS_FreeBSD QProcess::startDetached("xterm -T Shutdown -e sudo shutdown -p now"); //OR THIS -> shutdown -p now
endif