Note: this wiki is no longer maintained. If you have any questions related to this wiki, please post them on the CrunchBang forums.

Translations of this page?:

Z-Obsolete HOWTO replace lxpanel with tint2 and trayer [OBSOLETE]

This howto is partly based on corenominal's post in this forum thread.

Note, this howto uses the config files from the CrunchBang “Lite” edition, it also assumes you have not already set-up tint2 and trayer.
It is however reported as working fine in the CrunchBang 8.10 RC1 release.

The obligatory screenshot!

Installation

Open a terminal and enter the following command to download the required packages:

sudo apt-get install tint2 trayer

Modifying tint2

Create a new file at ~/.config/tint/tintrc and copy in the following:

#---------------------------------------------
# TINT CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_mode = multi_monitor
panel_monitor = 1
panel_position = bottom left
panel_size = 0 28
panel_margin = 5 0
panel_padding = 10 0
font_shadow = 0

#---------------------------------------------
# PANEL BACKGROUND AND BORDER
#---------------------------------------------
panel_rounded = 0
panel_border_width = 0
panel_background_color = #000000 0
panel_border_color = #000000 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_text_centered = 0
task_width = 32
task_margin = 0
task_padding = 0
task_icon_size = 24
task_font = sans 7
task_font_color = #ffffff 0
task_active_font_color = #ffffff 0

#---------------------------------------------
# TASK BACKGROUND AND BORDER
#---------------------------------------------
task_rounded = 0
task_background_color = #000000 0
task_active_background_color = #000000 10
task_border_width = 0
task_border_color = #000000 0
task_active_border_color = #000000 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %X %x 
time1_font = sans 9
#time2_format = %A %d %B
#time2_font = sans 9
clock_font_color = #ffffff 100

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Modifying trayer

Open ~/.config/openbox/autostart.sh for editing and replace the reference to lxpanel with the following:

# Launch panel
(sleep 2s && tint) &

# Launch system tray
(sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) &

Restart

Restart your Openbox session for the changes to take affect.

(machinebacon) This is one of the oldest entries, written at a time when #! was shipped with lxpanel.

 
howto/howto_replace_lxpanel_with_tint2_and_trayer.txt · Last modified: 2012/05/24 09:44 by machinebacon
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported

Powered by DokuWiki. Hosted by Linode.
Copyright © 2010 CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.