Author Topic: Large Icons, tint2 configuration  (Read 2987 times)

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Large Icons, tint2 configuration
« on: January 17, 2014, 12:15:10 AM »
Was setting up tint2 as a pager of sorts -



one issue I'm having is getting larger icons. I tried setting different panel widths and paddings, but the icons weren't expanding in the vertical. Am I missing something obvious? I was trying to get 48x48 icons.

Edit - never mind, figured it out.

Pertinent section -

Quote
task_maximum_size = width height
        width is used with horizontal panel. width = 0 to get full taskbar width
        height is used with vertical panel

was misinterpreting how that worked.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: Large Icons, tint2 configuration
« Reply #1 on: January 17, 2014, 12:19:37 AM »
Send me your config... I would like to test along with you ... glad you got it resolved... But still, please post the config

Icons in tint2 are always a mystery and even an enigma...  You can set icon sizes in luanchers and in systray but not in tasks as I understand it


Let's see if we can resolve it
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: Large Icons, tint2 configuration
« Reply #2 on: January 17, 2014, 12:25:34 AM »
Sure - just some simple edits to the icons_only6 example file if you download the source:

Code: [Select]
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure

# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #000000 0
border_color = #FFFFFF 0

# ID 2
rounded = 5
border_width = 0
background_color = #FFFFFF 60
border_color = #FFFFFF 49

# ID 3
rounded = 5
border_width = 0
background_color = #FFFFFF 24
border_color = #FFFFFF 69

# ID 4
rounded = 5
border_width = 0
background_color = #BDBDBD 80
border_color = #FFFFFF 69

# Panel
panel_items = T
panel_monitor = all
panel_position = top left vertical
panel_size = 640 48
panel_margin = 12 84
panel_padding = 2 2 10
panel_dock = 0
wm_menu = 0
panel_layer = bottom
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 4
strut_policy = none

# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 1 1 6
taskbar_background_id = 1
taskbar_active_background_id = 1

# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 48 48
task_padding = 1 1
task_background_id = 1
task_active_background_id = 1
task_urgent_background_id = 1
task_iconified_background_id = 1
task_tooltip = 1

# Task Icons
task_icon_asb = 40 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 40 0 0

# Fonts
task_font = sans 7
task_font_color = #FFFFFF 69
task_active_font_color = #FFFFFF 84
task_urgent_font_color = #EC9B9B 84
task_iconified_font_color = #FFFFFF 69
font_shadow = 1

# System Tray
systray = 1
systray_padding = 4 4 5
systray_sort = left2right
systray_background_id = 1
systray_icon_size = 16
systray_icon_asb = 100 0 0

# Clock
time1_format = %k:%M
time1_font = sans bold 8
time2_format = %h.%e
time2_font = sans 6
clock_font_color = #FFFFFF 75
clock_tooltip = %A %d %B
clock_padding = 4 2
clock_background_id = 1
clock_rclick_command = zenity --calendar

# Tooltips
tooltip_padding = 3 2
tooltip_show_timeout = 0.9
tooltip_hide_timeout = 0.3
tooltip_background_id = 4
tooltip_font = sans 8
tooltip_font_color = #000000 89

# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans bold 8
bat2_font = sans 6
battery_font_color = #FFFFFF 75
battery_padding = 4 2
battery_background_id = 1

# End of config

1366x768 laptop resolution:



I'm thinking that the height/width are not independent of one another, set one and the other calculated - set appropriate one depending on if the panel will be horizontal or vertical. Had to remember that it's an icon embedded in a task button - text hidden in this scenario - not an icon, so the maximum available icon size is selected based on the height/width, panel width, and paddings.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo