[Musix-usuarios] para testear: nueva disposición en fbpanel y nueva configuración de locales para fluxbox
Marcos Guglielmetti
marcospcmusica en gmail.com
Lun Mayo 7 01:05:43 CEST 2007
Para todos, pero especialmente para Ariel: creo que con estas mÃnimas pero
importantes modificaciones, tenemos un escritorio Fluxbox+Fbpanel muy
completo y usable, antes se colgaba cuando situaba el menú a la derecha de
todo, cosa que si no lo pudiéramos hacer, serÃa poco amigable para un usuario
nuevo.
Ahora anda!!
Aguante fbpanel !!!. Lo único que no anda es que las ventanas minimizadas no
se levatan siempre desde la barra de fbpanel, pero sà desde la de fluxbox,
asà que, ese es el único problema, y no sé cómo se resolverÃa, parece más un
problema de fbpanel que otra cosa.
Bien, me encantarÃa que vos testearas estos cambios, dado que te ocupás en
general de fluxbox: instalé tus nuevos menús y están fantásticos.
Bueno, instrucciones para testear esto que envÃo:
el archivo default va en:
~/.fbpanel/
kdm-fluxbox y salir.sh van en /bin/
Otra cosa relacionada, aclaré un poco el tema de colores de GTK2, que utilizan
abiword, gimp, gbpanel y muchos más, me gustarÃa que lo testearan
Ahora creo que está bien. Lo mismo hice con el tema KDE, que se ve similar.
Esos temas (gtkrc*) van en:
/usr/share/themes/Clearlooks/gtk-2.0/
Se agradece mucho el testeo de estas cosas, es fundamental.
--
Marcos Guglielmetti
* Director del desarrollo de Musix GNU+Linux, 100% Software Libre
* Colabora: http://www.musix.org.ar/wiki/index.php/Musix1.0tasks
* CD Download: (http://www.musix.org.ar/en/)
* Videos, programas, etc.: ftp://musix.ourproject.org/pub/musix/
* Reporte de errores:
https://www.musix.org.ar/wiki/index.php?title=Problemas-Bugs
*IRC: #musix channel on freenode
* http://autosus.wordpress.com/
«No te tomes en serio nada que no te haga reÃr» [un amigo de E. Galeano]
... tampoco sigas al pie de la letra ninguna de estas frases...
------------ próxima parte ------------
########################################
## fbpanel configuration file ##
########################################
# DESCRIPTION
# Configuration file consists of mandatory 'Global' block that MUST come first,
# and optionally one or more 'Plugin' block.
# Lines having '#' as first non-blank char or blank lines are ignored
# Value of variable is a text from first non-blank char after '='
# till the last non-blank char. '#' is NOT treated as coment in this context
# 'Global' block describes gloabal parameters like position, size and
# some NETWM settings
# GLobal {
# # screen edge
# # legal values are: left, right, top, bottom
# edge = bottom
# # allignment of a panel
# # legal values are: left, right, center
# allign = left
# # length of margin (in pixels)
# # legal values are numbers
# margin = 0
# # widthtype specifies how panel width is calculated
# # legal values are: request, pixel, percent
# # request - follow widgets' size requests. can shrink or grow dynamically
# # pixel - ocupy fixed number of pixels, then 'width' variable holds a number
# # percent - be 'width' precent of an edge.
# widthtype = percent
# # numerical value of width (not applicable for 'request' widthtype)
# # legal values are numbers
# width = 80
# # heighttype specifies how panel height is calculated
# # legal values are: pixel
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
# heighttype = pixel
# # numerical value of height (if applicable)
# # legal values are numbers
# height = 28
# # Identify panel window type as dock
# # legal values are boolean
# SetDockTpe = true
# # Reserve panel's space so that it will not be covered by maximazied windows
# # legal values are boolean
# # SetPartialStrut = true
# # Transparency stuff:
# # TintColor is a color to composite on root background given as #RRGGBB or as name
# # Alpha is transparency of the tint color.
# # Transparent = true
# # TintColor = #FFFFFF
# or
# # TintColor = white
# # Alpha = 127
# }
# 'Plugin' block specifies a plugin to load. It has same syntax for both
# builtin and external plugins.
# First parameter is 'type'. It's mandatory and must come first
# Legal values are plugin names. Names of builtin plugins are:
# separator - visual separator
# wincmd - 'show desktop' button
# taskbar - lists all opened windows (tasks)
# launchbar - bar with launch button
# image - just shows an image
# dclock - digital clock
# space - just seize space
# pager - thumbnailed view of the desktop
# tray - tray for XEMBED icons (aka docklets)
# expand - specifies if plugin can accomodate extra space or not [optional]
# padding - extra paddin around plugin [optional]
# config {} - block of plugin's private configuration.
# This part is plugin dependant
#
# Plugin {
# type = wincmd
# config {
# image = /usr/share/fbpanel/images/Desktop2.png
# tooltip = Left click to iconify all windows. Middle click to shade them.
# }
# }
Global {
edge = bottom
allign = left
margin = 0
widthtype = percent
width = 100
heighttype = pixel
height = 26
roundcorners = false
}
Plugin {
type = menu
config {
# name = menu
image = /usr/share/fbpanel/images/Menu.png
include {
name = /var/lib/fbpanel/menu
}
separator {
}
item {
name = terminal
image = /usr/share/fbpanel/images/GNOME-Terminal.png
action = /usr/bin/x-terminal-emulator
}
# Local system menu
# include {
# name = /etc/fbpanel/menu
# }
# User-specific menu -- only enable if all users have a menu file, otherwise
# users without menu files will have their fbpanels crash
# include {
# name = ~/.fbpanel/menu
# }
}
}
Plugin {
type = wincmd
config {
image = /usr/share/fbpanel/images/Desktop2.png
tooltip = Clic izquierdo para iconificar las ventanas. Clic del medio para dejarlas en barras.
}
}
Plugin {
type = separator
}
Plugin {
type = launchbar
config {
#button {
#image = #/usr/share/fbpanel/images/GNOME-Terminal.png
#tooltip = Terminal
# action = /usr/bin/konsole
#}
#button {
#image = /usr/share/fbpanel/images/Networking.png
# image = #/usr/share/icons/crystalsvg/16x16/apps/firefox.png
# tooltip = Navegador Web - Firefox
#action = /usr/bin/firefox
#}
#button {
# image = /usr/share/icons/crystalsvg/16x16/actions/today.png
#tooltip = Cambiar iconos del escritorio - Change Desktop icons
#action = /bin/escritorios.sh
#}
button {
image = /usr/share/icons/crystalsvg/32x32/actions/fileclose.png
tooltip = Cerrar - Close
action = /bin/cerrar-todo.sh
}
button {
image = /usr/share/icons/crystalsvg/32x32/actions/exit.png
tooltip = Salir - Exit
action = /bin/salir.sh
}
button {
image = /usr/share/pixmaps/escritorio-general.png
tooltip = General
action = /bin/escritorio-normal.sh
}
button {
image = /usr/share/pixmaps/h.png
tooltip = Relax
action = /bin/escritorio-relax-es.sh
}
button {
image = /usr/share/pixmaps/o.png
tooltip = Office
action = /bin/escritorio-oficina-es.sh
}
button {
image = /usr/share/pixmaps/r.png
tooltip = Admin
action = /bin/escritorio-admin-es.sh
}
button {
image = /usr/share/pixmaps/m.png
tooltip = Midi
action = /bin/escritorio-midi-es.sh
}
button {
image = /usr/share/pixmaps/i.png
tooltip = Internet
action = /bin/escritorio-red-es.sh
}
button {
image = /usr/share/pixmaps/g.png
tooltip = Graficos / Graphics
action = /bin/escritorio-graficos-es.sh
}
button {
image = /usr/share/pixmaps/a.png
tooltip = Audio
action = /bin/escritorio-audio-es.sh
}
}
}
Plugin {
type = pager
}
Plugin {
type = separator
}
# 'icons' plugin lets you customize window icons.
# these changes applay to entire desktop
Plugin {
type = icons
config {
DefaultIcon = PREFIX/share/fbpanel/images/default.xpm
application {
Image = /usr/share/fbpanel/images/GNOME-Terminal.png
ClassName = XTerm
}
application {
Image = /usr/share/fbpanel/images/GNOME-Terminal.png
ClassName = mlterm
}
application {
Image = /usr/share/fbpanel/images/GNOME-Terminal.png
ClassName = URxvt
}
application {
Image = /usr/share/fbpanel/images/Emacs.png
AppName = emacs
ClassName = Emacs
}
}
}
Plugin {
type = space
#expand = true
config {
size = 2
}
}
Plugin {
type = taskbar
expand = true
config {
ShowIconified = true
ShowMapped = true
ShowAllDesks = false
tooltips = true
IconsOnly = false
MaxTaskWidth = 150
}
}
Plugin {
type = tray
}
# Digital Clock
Plugin {
type = dclock
config {
ClockFmt = %R
TooltipFmt = %A %x
Action = xmessage Please define some command &
}
}
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre : kdm-fluxbox
Tipo : application/x-shellscript
Tamaño : 5763 bytes
Descripción: no disponible
Url : /pipermail/musix-usuarios/attachments/20070507/a2168116/kdm-fluxbox-0001.bin
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre : salir.sh
Tipo : application/x-shellscript
Tamaño : 4569 bytes
Descripción: no disponible
Url : /pipermail/musix-usuarios/attachments/20070507/a2168116/salir-0001.bin
------------ próxima parte ------------
# GTK2
style "clearlooks-default"
{
GtkButton ::default_border = { 0, 0, 0, 0 }
GtkRange ::trough_border = 0
GtkPaned ::handle_size = 6
GtkRange ::slider_width = 15
GtkRange ::stepper_size = 15
GtkScrollbar ::min_slider_length = 30
GtkCheckButton ::indicator_size = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
GtkScale ::slider-length = 27
# GtkToolbar ::button-relief = GTK_RELIEF_NORMAL
# GtkMenuBar ::shadow-type = GTK_SHADOW_OUT
# GtkScrollbar ::has-secondary-forward-stepper = 1
# GtkScrollbar ::has-secondary-backward-stepper = 1
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
WnckTasklist ::fade-overlay-rect = 0
xthickness = 1
ythickness = 1
fg[NORMAL] = "#000000" # Texto de menu principal y de selección de tipos en abiword!
fg[PRELIGHT] = "#e9e4d2" # crema clara // e3e1da= crema
fg[SELECTED] = "#666a66" # gris oscuro
fg[ACTIVE] = "#c9c9c9" # gris medio
fg[INSENSITIVE] = "#b5b3ac" # gris medio
bg[NORMAL] = "#82878e" # base de fondo: es un gris que permite ver el texto en negro. Si el texto estuviera en blanco, no se ven las ayudas emergentes con fondos amarillos incambiables!
bg[PRELIGHT] = "#8d8d97" # gris medio
bg[SELECTED] = "#e3b12b" # naranja
bg[INSENSITIVE] = "#48484f" # gris oscuro
bg[ACTIVE] = "#7d7b8b" # Botón apretado en el GIMP
base[NORMAL] = "#ededed" # Base de leafpad, y de fondo de selección de tipografÃas en Abiword...
base[PRELIGHT] = "#4a4a4d" # gris oscuro
base[ACTIVE] = "#a69f91" # beige verdad
base[SELECTED] = "#5598d7" # azul claro
base[INSENSITIVE] = "#66666a" # gris oscuro
text[NORMAL] = "#000000" # negro
text[PRELIGHT] = "#ffffff" # crema
text[ACTIVE] = "#e3e1da" # crema
text[SELECTED] = "#e3e1da" # crema
text[INSENSITIVE] = "#e3e1da" # dark beige
engine "clearlooks"
{
scrollbar_color = "#7e8898" # Fundamental!! la barra de desplazamiento
menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient
menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient)
progressbarstyle = 1 # 0 = candy bar, 1 = fancy candy bar, 2 = flat
animation = FALSE
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-wider" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-button" = "clearlooks-wider"
{
bg[NORMAL] = "#787980" # gris azulado, oscuro
bg[INSENSITIVE] = "#7c7f85" # gris claro
bg[PRELIGHT] = "#7c7f85"
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = "#6d6e7e" # fondo de gnome alsamixer
bg[INSENSITIVE] = "#999896"
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
bg[NORMAL] = "#82878e" # fondo del menu, un poco más gris claro que la base
}
style "clearlooks-menubar-item" = "clearlooks-button"
{
fg[PRELIGHT] = "#cfbe99"
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
fg[PRELIGHT] = "#ffffff"
text[PRELIGHT] = "#ffffff"
}
style "clearlooks-tree" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-frame-title" = "clearlooks-default"
{
fg[NORMAL] = "#404040"
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "clearlooks-progressbar" = "clearlooks-wide"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#e3e1da"
}
style "clearlooks-combo" = "clearlooks-button"
{
}
style "clearlooks-menubar" = "blackrock-default"
{
bg[NORMAL] = "#e6e3d7"
}
# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkScale" style "clearlooks-button"
class "GtkCombo" style "clearlooks-button"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkEntry" style "clearlooks-wider"
class "GtkMenuItem" style "clearlooks-menu-item"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
#class "GtkMenuBar" style "clearlooks-menubar"
widget_class "*MenuItem.*" style "clearlooks-menu-item"
#widget_class "*.GtkMenuBar.*MenuItem.*" style "clearlooks-menubar-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
widget "gtk-tooltips" style "clearlooks-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree"
widget_class "*.GtkList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook"
------------ próxima parte ------------
# GTK2
style "clearlooks-default"
{
GtkButton ::default_border = { 0, 0, 0, 0 }
GtkRange ::trough_border = 0
GtkPaned ::handle_size = 6
GtkRange ::slider_width = 15
GtkRange ::stepper_size = 15
GtkScrollbar ::min_slider_length = 30
GtkCheckButton ::indicator_size = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
GtkScale ::slider-length = 27
# GtkToolbar ::button-relief = GTK_RELIEF_NORMAL
# GtkMenuBar ::shadow-type = GTK_SHADOW_OUT
# GtkScrollbar ::has-secondary-forward-stepper = 1
# GtkScrollbar ::has-secondary-backward-stepper = 1
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
WnckTasklist ::fade-overlay-rect = 0
xthickness = 1
ythickness = 1
fg[NORMAL] = "#000000" # Texto de menu principal y de selección de tipos en abiword!
fg[PRELIGHT] = "#e9e4d2" # crema clara // e3e1da= crema
fg[SELECTED] = "#666a66" # gris oscuro
fg[ACTIVE] = "#c9c9c9" # gris medio
fg[INSENSITIVE] = "#b5b3ac" # gris medio
bg[NORMAL] = "#82878e" # base de fondo: es un gris que permite ver el texto en negro. Si el texto estuviera en blanco, no se ven las ayudas emergentes con fondos amarillos incambiables!
bg[PRELIGHT] = "#8d8d97" # gris medio
bg[SELECTED] = "#e3b12b" # naranja
bg[INSENSITIVE] = "#48484f" # gris oscuro
bg[ACTIVE] = "#7d7b8b" # Botón apretado en el GIMP
base[NORMAL] = "#ededed" # Base de leafpad, y de fondo de selección de tipografÃas en Abiword...
base[PRELIGHT] = "#4a4a4d" # gris oscuro
base[ACTIVE] = "#a69f91" # beige verdad
base[SELECTED] = "#5598d7" # azul claro
base[INSENSITIVE] = "#66666a" # gris oscuro
text[NORMAL] = "#000000" # negro
text[PRELIGHT] = "#ffffff" # crema
text[ACTIVE] = "#e3e1da" # crema
text[SELECTED] = "#e3e1da" # crema
text[INSENSITIVE] = "#e3e1da" # dark beige
engine "clearlooks"
{
scrollbar_color = "#7e8898" # Fundamental!! la barra de desplazamiento
menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient
menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient)
progressbarstyle = 1 # 0 = candy bar, 1 = fancy candy bar, 2 = flat
animation = FALSE
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-wider" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-button" = "clearlooks-wider"
{
bg[NORMAL] = "#787980" # gris azulado, oscuro
bg[INSENSITIVE] = "#7c7f85" # gris claro
bg[PRELIGHT] = "#7c7f85"
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = "#6d6e7e" # fondo de gnome alsamixer
bg[INSENSITIVE] = "#999896"
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
bg[NORMAL] = "#82878e" # fondo del menu, un poco más gris claro que la base
}
style "clearlooks-menubar-item" = "clearlooks-button"
{
fg[PRELIGHT] = "#cfbe99"
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
fg[PRELIGHT] = "#ffffff"
text[PRELIGHT] = "#ffffff"
}
style "clearlooks-tree" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-frame-title" = "clearlooks-default"
{
fg[NORMAL] = "#404040"
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "clearlooks-progressbar" = "clearlooks-wide"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#e3e1da"
}
style "clearlooks-combo" = "clearlooks-button"
{
}
style "clearlooks-menubar" = "blackrock-default"
{
bg[NORMAL] = "#e6e3d7"
}
# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkScale" style "clearlooks-button"
class "GtkCombo" style "clearlooks-button"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkEntry" style "clearlooks-wider"
class "GtkMenuItem" style "clearlooks-menu-item"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
#class "GtkMenuBar" style "clearlooks-menubar"
widget_class "*MenuItem.*" style "clearlooks-menu-item"
#widget_class "*.GtkMenuBar.*MenuItem.*" style "clearlooks-menubar-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
widget "gtk-tooltips" style "clearlooks-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree"
widget_class "*.GtkList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook"
Más información sobre la lista de distribución Musix-usuarios