Re: Interface of `shutdown', 'halt', ... programs
[2016-10-06 12:23] Ian Jackson <firstname.lastname@example.org>
> part text/plain 1395
> Dmitry Bogatov writes ("Re: Interface of `shutdown', 'halt', ... programs"):
> > Thank you for your advice, Ian. You guessed correctly -- 'sudo init 0' is
> > good enough for me and I have little knowledge about "pointy-clicky"
> > things. While I can install GNOME on virtual machine (sigh) there are
> > also other desktop enviroments (KDE, XFCE, ...).
> > Is there some common way to get "pointy-clicky widget"? I assume
> > (correct me, if I am wrong) all desktop enviroments share some
> > mechanism how to invoke root-only command (shutdown) as regular user,
> > so there may be way to invoke just shutdown menu, without need other
> > parts of desktop enviroments.
> Do you have the ability to install on a second system, or maybe dual
> boot, or something ? I would suggest doing a default install but with
> runit (not sure how one would even do that) and just letting it
> install gnome.
Here is the trick: one can't simply install runit as pid1 as long as
it is not Pre-depends of `init`
> Failing that: I use `trayer' on my laptop as a thing to allow the
> handful of desktoppy pointyclicky icony things I like, to have their
> icon. Eg the network manager applet.
`trayer'. For some reason, it showed nothing to me, so I installed
it's ancestor `fbpanel', which provides 'shutdown' and 'reboot'
buttons, which invokes corresponding scripts. Seems that 'reboot' and
'shutdown' which are /sbin/init 6 and /sbin/init 0, and ignore command
line will suffice.
X-Web-Site: https://sinsekvu.github.io | Note that I process my email in batch,
Accept-Languages: eo,ru,en | at most once every 24 hours. If matter
Accept: text/plain, text/x-diff | is urgent, you have my phone number.