InicioLinuxComo Centrar el reloj de xfce4-panel

Como Centrar el reloj de xfce4-panel

Linux•2/27/2015
Hola a todos amigos, anteriormente subí un post donde mostraba una captura de mi escritorio, algunos me pidieron explicar como dejarlo igual, mencionaba que en mis post anteriores viene la mayor parte de los minitutoriales de como realizarlo, sin embargo ni yo encontré el de como centrar el reloj, seguramente la mayoría ya sabe como realizarlo, sin embargo creo que algunos les puede ser de utilidad,

ahora muy bien primero les muestro como se ve mi panel.




aquí les muestro la config
ambos "Separadores" deben configurarse asi tal cual.





como dato extra, les dejo la configs también del reloj (por si quieren que se vea igual)


para cambiar la fuente es desde el tema, es decir desde el archivo gtkrc,
también se los dejo

style "xfdesktop-icon-view"
{
font_name = "Ubuntu Condensed Bold 10"
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::selected-label-alpha = 40
XfdesktopIconView::ellipsize-icon-labels =0


XfdesktopIconView::shadow-x-offset = 0
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#505050"
XfdesktopIconView::selected-shadow-x-offset = 1
XfdesktopIconView::selected-shadow-y-offset = 1
fg[NORMAL] = shade (0.9, "#eeeeee"
fg[ACTIVE] = "#eeeeee"
engine "murrine"
{
textstyle = 5
text_shade = 0.3
}
}

widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"


style "theme-panel"
{
font_name = "Ubuntu Condensed Bold 10"
xthickness = 4 # The spacing (padding) inside and between applets. Add a lower value for a more compact look.
ythickness = 0

base[NORMAL] = @bg_color
base[PRELIGHT] = shade (1.06, @bg_color)
base[INSENSITIVE] = @bg_color
bg[NORMAL] = @bg_color_dark
bg[PRELIGHT] = shade (1.20, @bg_color_dark)
bg[SELECTED] = shade (0.90, @selected_bg_color)
bg[INSENSITIVE] = @bg_color_dark
bg[ACTIVE] = shade (0.8, @bg_color_dark)
fg[NORMAL] = "#f5f5f5"
fg[PRELIGHT] = "#ffffff"
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = "#f5f5f5"
fg[INSENSITIVE] = "#f0f0f0"
text[NORMAL] = "#f5f5f5"
text[PRELIGHT] = "#ffffff"
text[ACTIVE] = "#f5f5f5"
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = "#f0f0f0"

engine "murrine" {
}
}

style "theme-panel-buttons"
{
engine "pixmap" {
image {
function = BOX
recolorable = TRUE
state = NORMAL
}
image {
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "Panel/panel-button-hover.png"
border = { 4, 4, 1, 1 }
stretch = TRUE
}
image {
function = BOX
recolorable = TRUE
state = ACTIVE
file = "Panel/panel-button-active.png"
border = { 4, 4, 1, 1 }
stretch = TRUE
}
image {
function = BOX
recolorable = TRUE
state = SELECTED
file = "Panel/panel-button-active.png"
border = { 4, 4, 1, 1 }
stretch = TRUE
}
image {
function = BOX
recolorable = TRUE
state = INSENSITIVE
}
image {
function = ARROW
recolorable = TRUE
arrow_direction = DOWN
}
}
}

style "theme-panel-light"
{
xthickness = 1
ythickness = 0

fg[NORMAL] = @fg_color

engine "murrine" {
textstyle = 0
roundness = 0
}
}

style "theme-panel-text"
{
fg[NORMAL] = "#f5f5f5"
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#f5f5f5"
text[NORMAL] = "#f5f5f5"
text[PRELIGHT] = "#ffffff"
text[ACTIVE] = "#f5f5f5"
}

style "theme-main-menu-text" = "theme-panel-text"
{
fg[PRELIGHT] = "#ffffff"
text[PRELIGHT] = "#ffffff"
}

style "theme-panel-handle"
{
engine "pixmap" {
image {
function = HANDLE
}
image {
function = HANDLE
}
}
}

widget "*PanelWidget*" style "theme-panel"
widget "*PanelApplet*" style "theme-panel"
widget "*fast-user-switch*" style "theme-panel"
widget "*gdm-user-switch*" style "theme-panel"
widget "*CPUFreq*Applet*" style "theme-panel"
widget "*indicator-applet*" style "theme-panel"
class "PanelApp*" style "theme-panel"
class "PanelToplevel*" style "theme-panel"
widget_class "*PanelToplevel*" style "theme-panel"
widget_class "*PanelFrame*" style "theme-panel"
widget_class "*PanelAppletFrame*" style "theme-panel"
widget_class "*PanelWidget*.*" style "theme-panel"
#widget_class "*notif*" style "theme-panel"
#widget_class "*Notif*" style "theme-panel"
widget_class "*Tray*" style "theme-panel"
widget_class "*tray*" style "theme-panel"
widget_class "*computertemp*" style "theme-panel"
widget_class "*Applet*Tomboy*" style "theme-panel"
widget_class "*Applet*Netstatus*" style "theme-panel"

# Fixes for tooltip text in some apps.
widget_class "*Notif*Beagle*" style "theme-panel-light"
widget_class "*Notif*Brasero*" style "theme-panel-light"

# XFCE panel theming.
widget "*Xfce*Panel*" style "theme-panel"
class "*Xfce*Panel*" style "theme-panel"

# Panel buttons
widget_class "*Panel*GtkToggleButton" style:highest "theme-panel-buttons"
#widget_class "*Panel*GtkButton" style:highest "theme-panel-buttons"

# XFCE panel buttons
widget "*Xfce*Panel*Button*" style:highest "theme-panel-buttons"
class "*Xfce*Panel*Button*" style:highest "theme-panel-buttons"
widget_class "*LauncherPlugin*" style:highest "theme-panel-buttons"
widget_class "*ActionsPlugin*" style:highest "theme-panel-buttons"

# lxpanel and fbpanel
widget "*.tclock.*" style "theme-panel-buttons"
widget "*.taskbar.*" style "theme-panel-buttons"
widget_class "*GtkBgbox*" style "theme-panel-buttons"

# Make sure panel text color doesn't change
widget_class "*Panel*MenuBar*" style "theme-main-menu-text"
widget_class "*Panel*<GtkMenuBar>*" style "theme-main-menu-text"
widget "*.clock-applet-button.*" style "theme-panel-text"
widget "*PanelApplet*" style "theme-panel-text"

# Hide ugly handle
class "PanelAppletFrame" style:highest "theme-panel-handle"

# The following removes the arrows from the panel

style "panel-arrow-remove" {
engine "pixmap" {
image {
function = ARROW
recolorable = TRUE
overlay_file = "Panel/arrow-blank.png"
overlay_border = {2,2,2,2}
overlay_stretch = FALSE
arrow_direction = UP
}
image {
function = ARROW
recolorable = TRUE
overlay_file = "Panel/arrow-blank.png"
overlay_border = {2,2,2,2}
overlay_stretch = FALSE
arrow_direction = DOWN
}
}
}

widget_class "*PanelToplevel*" style "panel-arrow-remove"


pegen todo el texto anterior en un archivo de texto, ya sea en gedit o cualquier editor, cambien el texto en anaranjado por el nombre de la fuente de texto (Tipografía) que quieran usar, y guardenlo en sus respectivas home, con el nombre ".gtkrc-2.0" cambien de tema y listo, se cambia todo en automático.




les gusta.? platicame en comentarios
Datos archivados del Taringa! original
20puntos
102visitas
0comentarios
Actividad nueva en Posteamelo
0puntos
5visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000

Autor del Post

z
zayronXIO🇦🇷
Usuario
Puntos0
Posts62
Ver perfil →
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.