SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-11-30 16:20:56

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

IMPORTANT: tint2 "systray" breakage

I do not like breaking things, but there is going to be a problem for existing Statler tint2 users when the latest tint2 package is included in the Statler repository. I am writing this as a kind of preemptive warning, so hopefully people will be aware of the issue.

Basically, the tint2 config file which shipped with the alpha releases does not contain a `panel_items` variable. Without this variable, the systray will not appear when tint2 is run after the new tint2 package is installed.

The `panel_items` variable should look something like:

panel_items = TSC

The new config file to be shipped with Statler follows, you may or may not want to update your config file after the new package is installed. The new package will be in the Statler repository soon.

Apologies for the breakage.

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see:
# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/

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

# ID 2 - task active
rounded = 1
border_width = 0
background_color = #575757 80
border_color = #575757 80

# ID 3 - task
rounded = 1
border_width = 0
background_color = #282828 0
border_color = #282828 0

# ID 4
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60

# ID 5 - taskbar
rounded = 2
border_width = 0
background_color = #282828 0
border_color = #282828 0

# ID 6 - active taskbar
rounded = 2
border_width = 0
background_color = #222222 80
border_color = #222222 80

# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #222222 90
border_color = #222222 90

# ID 8
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #888888 20

# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_items = TSC
panel_size = 98% 28
panel_margin = 0 0
panel_padding = 0 0
panel_dock = 0
wm_menu = 1
panel_layer = top
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size

# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 1
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = monospace 9
taskbar_name_font_color = #575757 100
taskbar_name_active_font_color = #d8d8d8 100

# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3

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

# Fonts
task_font = monospace 06_55 6
task_font_color = #d8d8d8 60
task_active_font_color = #d8d8d8 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0

# Launcher
launcher_padding = 8 4 4
launcher_background_id = 0
launcher_icon_size = 24
# Specify icon theme names with launcher_icon_theme. 
# if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
launcher_icon_theme = gnome-colors-statler
# Each launcher_item_app must be a full path to a .desktop file
launcher_item_app = /usr/share/applications/terminator.desktop
launcher_item_app = /usr/share/applications/xfce4-file-manager.desktop
launcher_item_app = /usr/share/applications/gedit.desktop
launcher_item_app = /usr/share/applications/iceweasel.desktop

# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 24
systray_icon_asb = 100 0 0

# Clock
time1_format = %H:%M:%S
time1_font = monospace 8
time2_format = %A %d %B
time2_font = monospace 6
clock_font_color = #d8d8d8 100
clock_padding = 4 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal

# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #d8d8d8 100
tooltip_font = monospace normal 8.0

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

# Battery
battery = 1
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
battery_hide = 96
bat1_font = Sans 10
bat2_font = Sans 8
battery_font_color = #FFFFFF 100
battery_padding = 2 0
battery_background_id = 0

# End of config

Offline

Help fund CrunchBang, donate to the project!

#2 2010-11-30 16:27:01

jpope
#! Junkie
From: USA
Registered: 2009-09-20
Posts: 281
Website

Re: IMPORTANT: tint2 "systray" breakage

Is the tint2 to be added to the CB repository based on the current svn version?


--
...old school #! user now mostly running Arch
jpope.org

Offline

#3 2010-11-30 16:29:09

Andreas
#! Junkie
Registered: 2010-01-26
Posts: 277

Re: IMPORTANT: tint2 "systray" breakage

Thanks for the pre-warning. 'panel_items = TSC' means Tasks, Systray,Clock I guess to change the order they appear in? Because that is awesome. As of writing this post, I realize I should just check the docs.


Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Offline

#4 2010-11-30 16:34:38

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

Re: IMPORTANT: tint2 "systray" breakage

jpope wrote:

Is the tint2 to be added to the CB repository based on the current svn version?

It will be svn revision 607.

Offline

#5 2010-11-30 16:38:50

jpope
#! Junkie
From: USA
Registered: 2009-09-20
Posts: 281
Website

Re: IMPORTANT: tint2 "systray" breakage

corenominal wrote:

It will be svn revision 607.

Sweet, thanks. I'll quit building my own and go back to the repository. wink


--
...old school #! user now mostly running Arch
jpope.org

Offline

#6 2010-11-30 17:16:24

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: IMPORTANT: tint2 "systray" breakage

Hmm, that explains a lot. I'd updated to these packages and discovered it had broken. I also noticed the new tint2conf package doesn't make or maintain any changes in edit mode. I can add existing configs and apply them but the edit function does nothing.

Offline

#7 2010-11-30 20:39:13

thil77
#! CrunchBanger
Registered: 2009-01-12
Posts: 193

Re: IMPORTANT: tint2 "systray" breakage

revision 610 should get a better backward compatibility.
can you confirm it because I can't test it here...

this revision disable also the 'properties' dialog (tintwizard) from tint2conf.
because tintwizard doesn't support new option.

Offline

#8 2010-11-30 20:52:44

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

Re: IMPORTANT: tint2 "systray" breakage

thil77 wrote:

revision 610 should get a better backward compatibility.
can you confirm it because I can't test it here...

this revision disable also the 'properties' dialog (tintwizard) from tint2conf.
because tintwizard doesn't support new option.

Excellent, I will give it a try. Thank you.

Offline

#9 2010-11-30 22:25:31

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: IMPORTANT: tint2 "systray" breakage

I don't get it. The new version of tint2 needs a certain command in it's configuration file wich might not be covered bei either the old files users have as well as an unofficial gui tool?

I'm a bit puzzled. Doesn't this happen every day (or two)? Upstream changes stuff, Distro maintainers update the package and user settings become incompatible.

Don't get me wrong, I'm totally amazed seeing this thread. So much care for a single GUI element. But what's special about tint2?

I'd strongly recommend putting important news on the blog. Like "watch out, new tint2 needs your attention". Or how about a post install script, telling the user what happened, either in the shell or per [notification;zenity;whatever].

Really, if this breakage is what you meant with "system go crunch-bang"... then it's fine by me :-D


I'm so meta, even this acronym

Offline

#10 2010-11-30 23:20:27

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: IMPORTANT: tint2 "systray" breakage

Awebb wrote:

Doesn't this happen every day (or two)? Upstream changes stuff, Distro maintainers update the package and user settings become incompatible.

The frequency of updates and the severity of config breakage really varies from package to package. For example: awesomewm (lots of breakage) vs Chromium (very little breakage).


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#11 2010-12-01 07:51:06

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

Re: IMPORTANT: tint2 "systray" breakage

corenominal wrote:
thil77 wrote:

revision 610 should get a better backward compatibility.
can you confirm it because I can't test it here...

this revision disable also the 'properties' dialog (tintwizard) from tint2conf.
because tintwizard doesn't support new option.

Excellent, I will give it a try. Thank you.

I have now packaged revision 610. It has fixed this problem. Thank you very much, thil77, you are a star! smile

P.S. I will unstick this topic.

Offline

#12 2010-12-01 16:29:45

thil77
#! CrunchBanger
Registered: 2009-01-12
Posts: 193

Re: IMPORTANT: tint2 "systray" breakage

@ Awebb
Let me explain what is going on here.

The tint2 project have NOT released a new version.
The official stable release is always tint2-0.11.

Some projects want to test the current developpement version (SVN) because some feature are attractive. Of course this have a price, because SVN version are not done to be distributed.

I can understand it's confusing for users wink
If you don't want those "breakage", stay with stable version tint2-0.11 and upgrade when a new stable version is released.

Offline

#13 2010-12-01 19:14:57

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: IMPORTANT: tint2 "systray" breakage

thil77 wrote:

The tint2 project have NOT released a new version.
The official stable release is always tint2-0.11.

It's okay, I got it. I'm the bleeding edge type, so half of the software I use is [svn;git;unstable pre-alpha]. I just...

err, what am I doing here...

Great job, corenominal :-D


I'm so meta, even this acronym

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo