Поддержка > XFCE
Кнопки выключения, перезагрузки на рабочем столе и панели
vovchok:
Спасибо, но эта команда начинает выключать комп с минутной задержкой, а мне нужно сразу (и без дополнительных телодвижений). Как убрать таймаут не нашёл...
HsH:
--- Код: ---dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
--- Конец кода ---
rashid:
Доброго всем времени суток.Подскажите ,пожалуйста ,как вывести на панель задач кнопки перезагрузки и выключения компа...Runtu 14.04.2 XFCE ?
HsH:
Общее решение для XFCE4 - добавить ярлык с одной из нужных команд, описание в man xfce4-session-logout:
--- Цитировать (выделенное) ---NAME
xfce4-session-logout - Logs out from Xfce
SYNOPSIS
xfce4-session-logout
DESCRIPTION
This manual page documents briefly the xfce4-session-logout command.
The xfce4-session-logout command allows you to programmatically logout
from your Xfce session. It requests the session manager to display the
logout confirmation screen, or, if given one of the command-line
options below, causes the session manager to take the requested action
immediately.
OPTIONS
xfce4-session-logout takes the following command line options:
--logout
Log out without displaying the logout dialog.
--halt Halt without displaing the logout dialog.
--reboot
Reboot without displaying the logout dialog.
--suspend
Suspend without displaying the logout dialog.
--hibernate
Hibernate without displaying the logout dialog.
--fast Do a fast shutdown. This instructs the session manager not to
save the session, but instead to quit everything quickly.
--help Print a help screen and exit.
--version
Output version information and exit.
--- Конец цитаты ---
ek-nfn:
--- Цитата: HsH от Ноябрь 23, 2015, 22:39:39 --- Общее решение для XFCE4 - добавить ярлык с одной из нужных команд
--- Конец цитаты ---
угу, вариант на все случаи жизни ;D
Спойлер: ПоказатьСкрыть
Навигация
Перейти к полной версии