You are not logged in.
@oinkerz:
First you need to define a background, here is what I use (orange):
#4 urgent window
rounded = 5
border_width = 0
background_color = #ba5d00 100
border_color = #999999 100
Then in the task section:
urgent_nb_of_blink = 100000
task_urgent_background_id = 4
Offline
@oinkerz:
First you need to define a background, here is what I use (orange):
#4 urgent window rounded = 5 border_width = 0 background_color = #ba5d00 100 border_color = #999999 100
Then in the task section:
urgent_nb_of_blink = 100000 task_urgent_background_id = 4
There must be an issue with my tint2 because I've tried the above configuration, as well as reverted back to the default, and I still get no type of flashing colors on notification windows (e.g. when someone sends me a message in the background).
Is tint2 dependent upon any other software I may need to install? I am running this on Linux Mint, not Crunchbang. But I'm posting here because this has the biggest amount of support for tint2.
Offline
An easy way to test urgent blinking is to:
1. Install wmctrl
2. List windows with:
wmctrl -l
You get something like:
0x01600003 -1 pc Desktop
0x00e00004 0 pc Terminal - pc echo ondemand > /sys/devices/system/c...
0x00edee00 0 pc Terminal - pc wmctrl -i -r 0x02400001 -b add,demand...
0x01800005 -1 N/A tint2
0x0240039d 0 pc Post a reply / CrunchBang Linux Forums - Google Chrome
Pick one in the list (any window that appears in tint2, just not the terminal you are using to type the commands) and copy the window id from the first column.
3. Make the window urgent with (replace 0x0240039d with your window's id):
wmctrl -i -r 0x0240039d -b add,demands_attention
and it should blink. If it blinks, the problem is with your IM client. If it doesn't blink, the problem might be with tint2, in which case if you send me your tint2rc I'll try to figure out what's wrong.
Offline
@ov
Thank you so much, bud. It appears that the notification / attention is indeed working. I tested it out with wmctrl and it worked fine. I'm not quite sure why Pidgin is not wanting to cooperate, but that is another problem itself that I will have to look into. Again though, your help is much appreciated!
Edit: Oh my gosh. Pidgin requires an additional plugin to be installed just for notifications. Ugh. Oh well, problem solved hah.
Last edited by oinkerz (2015-04-22 18:40:46)
Offline
@ov
One last thing since I got you here and you seem pretty knowledgable with the taskbar...
One thing I liked when I was running Crunchbang that no longer works on Linux Mint is that in my taskbar where the date / time is at, I used to be able to click on that and it would open a mini-calendar. Is that a configuration within tint2 or is that something completely different?
Offline
I'm not sure which was the calendar you were using as there are several.
The one I use at the moment is zenity, you can launch it from the clock with:
clock_lclick_command = zenity --calendar --text ""
Use clock_rclick_command for right click.
Another one is orage. I think it does not need any command line parameters.
PS Glad I could help
Last edited by ov (2015-04-22 20:25:50)
Offline
@ ov
#! used osmo I think. And you're the first person I've seen 'suggest' zenity --calendar &
Another nice one: zenity --color-selection &
zenity --help is my friend.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Well, it works, doesn't it?
zenity --calendar --text "<span foreground=\"#1144dd\"><b>$(fortune|cowsay)</b></span>"
Offline
Thanks again guys, however I was actually able to grab a default #! config for tint2 and it looks like it used gsimplecal
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
Thanks though!
Offline
22 Apr 15 | 19:46:59 ~
$ fcow
________________________________________
/ You mentioned your name as if I should \
| recognize it, but beyond the obvious |
| facts that you are a bachelor, a |
| solicitor, a freemason, and an |
| asthmatic, I know nothing whatever |
| about you. |
| |
| -- Sherlock Holmes, "The Norwood |
\ Builder" /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
22 Apr 15 | 19:46:59 ~
$
I use to use mine tint2 clock to start or stop my conkys.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Shamelessly posting off-topic [1] here to announce that tint2 0.12-rc1 has been released
See https://gitlab.com/o9000/tint2/blob/master/README.md for changelog, docs and download&compilation instructions.
Note that this is a release candidate so things may not work smoothly. If that is the case, please let me know. Feedback is needed especially for the new configuration GUI tint2conf (note: it should make a backup of ~/.config/tint2/tint2rc automatically, but I suggest making also a manual backup to be sure).
A stable release is planned for this summer.
P.S. tint2 has moved to GitLab because Google Code hosting is shutting down.
[1] Actually since this looks like a power-user-pimp-my-tint2 thread, I think the participants might be interested.
Offline
Matched my tint2rc to my Arc GTK theme:
# Background definitions
# ID 1
rounded = 0
border_width = 1
background_color = #f9fafb 100
border_color = #aaaaaa 100
# ID 2
rounded = 8
border_width = 0
border_color = #aaaaaa 100
background_color = #4084d6 100
# ID 3
rounded = 10
border_width = 1
background_color = #fcfdfd 100
border_color = #aaaaaa 100
# ID 4
rounded = 10
border_width = 1
background_color = #fcfdfd 100
border_color = #ff0000 100
# ID 5
rounded = 10
border_width =0
background_color = #f9fafab 100
border_color = #f9fafb 100
# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 0 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 = 2
autohide_height = 2
strut_policy = follow_size
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 2 2 2
taskbar_background_id = 0
taskbar_active_background_id = 0
# Tasks
urgent_nb_of_blink = 8
task_icon = 1
task_text = 1
task_centered = 0
task_maximum_size = 200 30
task_padding = 3
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3
# Task Icons
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 75 0 0
# Fonts
task_font = Cantarell 9
task_font_color = #000000 100
task_active_font_color = #eeeeee 100
task_urgent_font_color = #ff0000 100
task_iconified_font_color = #000000 50
font_shadow = 0
# System Tray
systray = 1
systray_padding = 2 2 2
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 0
systray_icon_asb = 100 0 0
# Clock
time1_format = %H:%M
time1_font = Oxygen-Sans Book 15
clock_font_color = #000000 100
clock_padding = 4 4
clock_background_id = 0
clock_rclick_command = gsimplecal
# Tooltips
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.25
tooltip_hide_timeout = 0.25
tooltip_background_id = 1
tooltip_font = sans 10
tooltip_font_color = #000000 80
# 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 = 100
bat1_font = Oxygen-Sans 10
bat2_font = Oxygen-Sans Sans-Book 6
battery_font_color = #000000 100
battery_padding = 0 0
battery_background_id = 0
# End of config
Offline
Offline
ov has forked tint2 to include some extra features: tint2-mods2.
it can display the output of a command, so i wrote this little script to make it show currently playing in MOC.
# Background 1: panel
rounded = 0
border_width = 2
background_color = #292929 100
border_color = #292929 100
# Background 2: normal/iconified tasks
rounded = 2
border_width = 0
background_color = #FFFFFF 20
border_color = #FFFFFF 30
# Background 3: active tasks
rounded = 2
border_width = 1
background_color = #FFFFFF 10
border_color = #ffffff 40
# Background 4: urgent tasks
rounded = 2
border_width = 1
background_color = #aa4400 100
border_color = #aa7733 100
# Background 5: tooltips
rounded = 2
border_width = 1
background_color = #FFFFFF 50
border_color = #222222 50
# Background 6: taskbar inactive
rounded = 2
border_width = 1
background_color = #000000 0
border_color = #FFFFFF 16
# Panel
panel_items = TESC
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 0 0 2
panel_dock = 0
wm_menu = 1
panel_layer = top
panel_background_id = 1
font_shadow = 0
# Panel Autohide
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
# Launcher
launcher_padding = 2 0 2
launcher_background_id = 0
launcher_icon_size = 28
launcher_icon_asb = 100 0 0
launcher_tooltip = 1
startup_notifications = 1
launcher_item_app = /usr/share/applications/iceweasel.desktop
# Taskbar
taskbar_mode = multi_desktop
taskbar_padding = 1 1 1
taskbar_background_id = 6
taskbar_active_background_id = 3
taskbar_name = 1
taskbar_name_padding = 2 0
taskbar_name_background_id = 0
taskbar_name_font = open sans bold 14
taskbar_name_font_color = #EEEEEE 40
taskbar_name_active_background_id = 0
taskbar_name_active_font_color = #EEEEEE 100
# Tasks
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 28 28
task_padding = 1 1 1
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
task_tooltip = 1
urgent_nb_of_blink = 100000
# Task Icons
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 50 0 0
# Fonts
task_font = open sans 8
task_font_color = #FFFFFF 90
task_active_font_color = #FFFFFF 90
task_urgent_font_color = #FFFFFF 90
task_iconified_font_color = #FFFFFF 90
# Mouse
mouse_left = toggle_iconify
mouse_middle = close
mouse_right = none
mouse_scroll_up = prev_task
mouse_scroll_down = next_task
# System Tray
systray_padding = 0 0 5
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 28
systray_icon_asb = 100 0 0
# Clock
time1_format = %H:%M
time1_font = open sans bold 14
#~ times2_font = petming.31.v 6
clock_font_color = #FFFFFF 60
clock_padding = 4 10
clock_background_id = 6
clock_rclick_command = xdotool key ctrl+alt+c
clock_tooltip = %c
# Tooltips
tooltip_padding = 1 1
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_background_id = 5
tooltip_font = glisp 8
tooltip_font_color = #222222 100
#---------------------------------------------
# E = EXECP
execp_centered = 0
# If execp_has_icon = 1, the first line printed by the command is interpreted
# as a path to an image file.
execp_has_icon = 1
# If execp_cache_icon = 0, the image is reloaded every timeout (useful if the
# image is changed by the program executed by execp_command).
execp_cache_icon = 0
# You can use execp_icon_w and execp_icon_h to resize the image.
# If one of them is zero/missing, the image is rescaled proportionally.
# If both of them are zero/missing, the image is not rescaled.
execp_icon_w = 28
execp_icon_h = 28
execp_icon_asb = 10 0 0
# next: output in 2 lines, maxwidth before splitting 80 chars
execp_command = tint2-mods2-moc 2 80
# The command is executed every execp_interval seconds. It is also executed
# immediately if you left-click the execp area.
execp_interval = 2
execp_font = open sans 8
execp_font_color = #ffffff 60
execp_background_id = 0
# Add 2 pixel spacing between image and text
execp_padding = 2 0 2
#---------------------------------------------
#---------------------------------------------
task_normalhovered_background_id = 6
task_activehovered_background_id = 7
task_urgenthovered_background_id = 8
#---------------------------------------------
# End of config
Offline
i know im probably over looking somethign but i want my clockto show up in the very center of my panel not to the far right like it is in the default tint2rc..
edit: switched panel_items from TSC to TCS but as i adjust the clock padding to move it over i lose my tasks...
Last edited by SiNiSTeR (2015-09-29 21:45:47)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat