Openbox (.obshutdown.rc)

menu de shutdown para o Openbox

Categoria: Miscelânea

Software: Openbox

[ Hits: 6.793 ]

Por: Guilherme Moreira de Oliveira


Como todos nós sabemos, o Openbox não tem um menu shutdown padrão, esse é o config de um menu estiloso para encerrar a sua sessão no Openbox.

Em buttons você coloca os botões que serão mostrados no menu, em theme, você pode definir o tema padrão do obshutdown e em labels você define o rótulo dos botões.


#
# Openbox shutdown dialog
#

[general]
version = 0.1
verbose = false
default_action = shutdown
composite = true
transparency = true
transparent = 0.5
theme = foom
buttons = cancel logout shutdown restart

[actions]
logout = openbox --exit
shutdown = dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown
restart = dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot
lock = 
switch = 
suspend = 
hibernate = 
custom = 

[shortcuts]
logout = l
shutdown = s
restart = r

[labels]
cancel = CANCEL
logout = LOGOUT
restart = RESTART
shutdown = SHUTDOWN
lock = LOCK
switch = SWITCH USER
suspend = SUSPEND
hibernate = HIBERNATE
  


Comentários
[1] Comentário enviado por removido em 07/10/2011 - 20:00h

minha sugestão de conf:

#
# Openbox shutdown dialog
# This is example obshutdown rc file
# Copy this file to ~/.obshutdown.rc and customise
#

[general]
version = 0.1-beta2
verbose = false
default_action = shutdown
composite = true
theme = faenza
buttons = cancel logout shutdown restart

[actions]
logout = openbox --exit
shutdown = dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown
restart = dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot
lock =
switch =
suspend =
hibernate =
custom =

[shortcuts]
logout = l
shutdown = s
restart = r
lock =
switch =
suspend =
hibernate =
custom =

[labels]
cancel = CANCELAR
logout = SAIR
restart = REINICIAR
shutdown = DESLIGAR
lock = TRAVAR PC
switch = TROCAR USUÁRIO
suspend = SUSPENDER
hibernate = HIBERNAR


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts