It sure would be nice if there was a convenient portable way to find out how to reboot the desktop session with, say, "xdg-settings get desktop-reboot-command"; but, alas, there isn't.
http://portland.freedesktop.org/xdg-utils-1.1.0-rc1/scripts/xdg-settings looks like it would not be impossible to do, but I suspect that the hurdle is not primarily technical.
It sure would be nice if there was a convenient portable way to find out how to reboot the desktop session with, say, "xdg-settings get desktop- reboot- command" ; but, alas, there isn't.
http:// portland. freedesktop. org/xdg- utils-1. 1.0-rc1/ scripts/ xdg-settings looks like it would not be impossible to do, but I suspect that the hurdle is not primarily technical.