tint2 panel

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mark9950
Level 2
Level 2
Posts: 94
Joined: Sat Feb 27, 2010 7:22 pm

tint2 panel

Post by mark9950 »

How in the world do I customize the tint2 panel?I seen the instructions on the web and its greek to me.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
richyrich

Re: tint2 panel

Post by richyrich »

vrkalak

Re: tint2 panel

Post by vrkalak »

.

tint2 Wiki page >> http://code.google.com/p/tint2/wiki/Configure

Everything you need to know about tint2 panel and how to configure it.

Or trying searching in the Crunchbang/Linux or Arch/Linux Forums ... they both have great sections about using tint2

I have been using tint2 for so long ... I find it easier than any other panel, I've used before.

Crunchbang Forum > http://crunchbanglinux.org/forums/
Arch/Linux Forum > https://bbs.archlinux.org
charlie01

Re: tint2 panel

Post by charlie01 »

Tint isnt to difficult to learn once you understand the basics,
Go into Thunar click ctrl-h to show hidden files,
In there youll see .tint2rc
From there you can do stuff like making it longer or shorter.I prefer the full length of my computer.
So i looked for the line that said ,,[panel size] i increased the length to 100% 30
if you want it shorter you can make it 50 or what ever your preference is. the 30 afterwards is the height,you can increase or decrease that.

The next thing to know it color codes,,Sounds scary,but its quite simple,I download gcolor,Its a color picker that gives you the color code.
In the text you see something like [background_color = #ffffff 40] the #ffffff is the color code. and the 40 is the transparency.

You can choose to have icons in your tabs or not by using 1 or 0
This will be in Tasks section. and will say [task_icon = 0] if you change it to 1 youll have icons in you tint tabs.

Heres something i always change,I prefer a 12 hour clock than a 24 hour.
Change the stock clock setting were it says [clock] time1_format = %_I:%M%P this will give you a 12 hour clock.

Anywere it says fonts is pretty self explanatory,you can change the size or style of font.

Backgrounds and Borders is fairly easy also,were it says rounded = 7 is the shape of the panel or tab,you can change the shape by changing the number.

Save the changes and after reboot you will see your changes.

Here is my changes to the Stock tint2rc.
You also can auto hide your tint2 by changing the 0 to 1.I havent tried that yet.

Code: Select all

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 7
border_width = 0
background_color = #000000 0
border_color = #ffffff 18

rounded = 5
border_width = 1
background_color = #ffffff 40
border_color = #ffffff 50

rounded = 5
border_width = 0
background_color = #ffffff 18
border_color = #ffffff 70

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
wm_menu = 0
panel_dock = 0
panel_layer = bottom

#---------------------------------------------
# TASKBAR
#---------------------------------------------
#taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
#taskbar_active_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 140 35
task_centered = 1
task_padding = 6 3
task_font = sans 8
task_font_color = #ffffff 70
task_background_id = 3
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 = 2
task_active_font_color = #ffffff 85
task_active_icon_asb = 100 0 0
urgent_nb_of_blink = 8

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 0 4 5
systray_background_id = 0
systray_sort = left2right
systray_icon_size = 0
systray_icon_asb = 100 0 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %_I:%M%P
time1_font = sans 9
time2_format = %A %d %B
time2_font = sans 8
clock_font_color = #ffffff 76
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 = 98
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #OOOOOO 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

Image

Uploaded with ImageShack.us
mark9950
Level 2
Level 2
Posts: 94
Joined: Sat Feb 27, 2010 7:22 pm

Re: tint2 panel

Post by mark9950 »

ok I finally got it after a long time,now how do I put a firefox icon in the panel.
vrkalak

Re: tint2 panel

Post by vrkalak »

mark9950 wrote:. . . how do I put a firefox icon in the panel.
At the moment ... the tint2 panel does not do application launchers. :cry:

They say the next updated version of tint2 will.
linuxfreak003

Re: tint2 panel

Post by linuxfreak003 »

I good way to make it easier to launch firefox or any program for that matter would be to just add it to the top of your fluxbox menu... Although an application launcher in tint2 would probably look pretty nice.
jeffreyC

Re: tint2 panel

Post by jeffreyC »

If you want an application launcher you could try wmdrawer, it works for Fluxbox's slit.
leodelacruz

Re: tint2 panel

Post by leodelacruz »

Mi conf..

http://nopaste.info/8929c8b93a_nl.html


To visualize changes

kill tint

Code: Select all

killall conky
reopen

Code: Select all

tint2 -c ~/.tint2 &
linuxfreak003

Re: tint2 panel

Post by linuxfreak003 »

I was actually looking for something similar and I found a program called wbar.. I haven't got it to work yet though.. There's also a program called docky but I'm not so sure it's compatible with fluxbox cuz I haven't played around with the config files yet.
Oldredbeard

Re: tint2 panel

Post by Oldredbeard »

I use wbar, and it works great. I launch it in startup with (sleep 5; wbar -p top) if you don't use the delay it will launch to fast. the -p top tells it to start at the top of your desktop.
With MintFlux 9 there is no wbar config in the repo's so you have to manually edit the config file. But it looks and works good, and only uses about 5 mg of ram to run.
leodelacruz

Re: tint2 panel

Post by leodelacruz »

Adeskbar, no is a other idea :)
linuxfreak003

Re: tint2 panel

Post by linuxfreak003 »

I hope this isn't going to far off topic but does anyone have a config file for wbar then? I'd like to get it on the top of my desktop and stuff. I'd like just a basic type of thing then i can change it..
Locked

Return to “Software & Applications”