Bon j’ai un peu progressé :
- d’abord le problème existe sous mes deux debian squeeze avec pekwm (portable et bureau)
- ensuite si je met le tint2rc par défaut le problème disparait : tout s’affiche comme il faut dès le début
- voici mon tint2rc perso :
[code]#---------------------------------------------
TINT2 CONFIG FILE
#---------------------------------------------
#---------------------------------------------
BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 1
background_color = #000000 4
border_color = #ffffff 4
rounded = O
border_width = 0
background_color = #ffffff 0
border_color = #ffffff 0
rounded = O
border_width = 0
background_color = #000000 40
border_color = #ffffff 0
rounded = 3
border_width = 0
background_color = #000000 40
border_color = #ffffff 0
#---------------------------------------------
PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center
panel_size = 0 32
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_layer = bottom
#---------------------------------------------
TASKBAR
#---------------------------------------------
#taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 2
#taskbar_active_background_id = 0
#---------------------------------------------
TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 0 35
task_centered = 1
task_padding = 6 1
task_font = sans 9
task_font_color = #ffffff 100
task_background_id = 2
task_icon_asb = 100 0 0
replace STATUS by ‘urgent’, ‘active’ or ‘iconfied’
#task_STATUS_background_id = 2
#task_STATUS_font_color = #ffffff 85
#task_STATUS_icon_asb = 100 0 0
example:
task_active_background_id = 3
task_active_font_color = #ffffff 85
task_active_icon_asb = 100 0 0
urgent_nb_of_blink = 8
#---------------------------------------------
SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 4 4 4
systray_background_id = 4
systray_sort = left2right
systray_icon_size = 0
systray_icon_asb = 100 0 0
#---------------------------------------------
CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans 16
#time2_format = %A %d %B
#time2_font = sans 6
clock_font_color = #ffffff 100
clock_padding = 1 0
clock_background_id = 0
#clock_lclick_command = xclock
clock_rclick_command = orage
#clock_tooltip = %A %d %B
#time1_timezone = :US/Hawaii
#time2_timezone = :Europe/Berlin
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris
#---------------------------------------------
BATTERY
#---------------------------------------------
#battery = 0
#battery_hide = never
#battery_low_status = 10
#battery_low_cmd = notify-send “batterie faible”
#bat1_font = sans 8
#bat2_font = sans 6
#battery_font_color = #ffffff 100
#battery_padding = 1 0
#battery_background_id = 0
#---------------------------------------------
TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #ffffff 80
tooltip_font = sans 10
#---------------------------------------------
MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#---------------------------------------------
AUTOHIDE OPTIONS
#---------------------------------------------
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 4
strut_policy = minimum
[/code]
sachant que ce dernier fonctionnait parfaitement bien avec openbox sur les mêmes machines…
J’utilise xcompmgr pour gérer la transparence, et en fait je dois relancer x pour qu’il prenne en compte mon conky…
Peut être qu’en lançant tint2 avant startx ?
Sinon voici mon .pekwm/start :
[code]#!/bin/sh
PekWM start file
This file is a simple shell script; It gets run on pekwm startup, after
the theme and all config has loaded if it is set executable
(chmod +x start).
This is different from ~/.xinitrc because a normal configuration of
.xinitrc you’ll run all commands, then launch the window manager last.
It also gets re-run every time pekwm is restarted.
As for it’s usefulness, well, it’s up to you. I actually set my background
from my start file; since it runs after the theme gets loaded, this
effectively overrides whatever’s in the theme.
There’s probably a few other good uses for it, too. I mainly pushed for it
because when I was doing fluxbox’s docs, people used to complain that there
wasn’t one, and I wanted to avoid that for pekwm.
--eyez
xcompmgr &
(sleep 3 && tint2) &
nitrogen --restore &
parcellite &
guake &
(sleep 3 && conky) &
#(sleep 5 && pytyle2) &
volumeicon &
(sleep 4 && alltray evolution) &
[/code]
Merci.