SEARCH

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

You are not logged in.

#451 2015-04-18 17:22:26

ov
#! Member
Registered: 2015-01-21
Posts: 54

Re: My tint2 config

@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

Help fund CrunchBang, donate to the project!

#452 2015-04-22 17:06:21

oinkerz
Member
Registered: 2014-01-07
Posts: 20

Re: My tint2 config

#4 urgent window
rounded = 5
border_width = 0
background_color = #ba5d00 100
border_color = #999999 100

Offline

#453 2015-04-22 17:57:01

ov
#! Member
Registered: 2015-01-21
Posts: 54

Re: My tint2 config

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

#454 2015-04-22 18:28:24

oinkerz
Member
Registered: 2014-01-07
Posts: 20

Re: My tint2 config

Last edited by oinkerz (2015-04-22 18:40:46)

Offline

#455 2015-04-22 20:07:15

oinkerz
Member
Registered: 2014-01-07
Posts: 20

Re: My tint2 config

@ov

One last thing since I got you here and you seem pretty knowledgable with the taskbar...  smile

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

#456 2015-04-22 20:15:55

ov
#! Member
Registered: 2015-01-21
Posts: 54

Re: My tint2 config

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 smile

Last edited by ov (2015-04-22 20:25:50)

Offline

#457 2015-04-22 20:52:50

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My tint2 config

@ 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.  smile

Offline

#458 2015-04-22 21:18:57

ov
#! Member
Registered: 2015-01-21
Posts: 54

Re: My tint2 config

Well, it works, doesn't it? tongue

zenity --calendar --text "<span foreground=\"#1144dd\"><b>$(fortune|cowsay)</b></span>"

Offline

#459 2015-04-22 21:54:54

oinkerz
Member
Registered: 2014-01-07
Posts: 20

Re: My tint2 config

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!  smile

Offline

#460 2015-04-22 22:50:03

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: My tint2 config

 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 ~
    $ 

Offline

#461 2015-04-25 21:54:26

ov
#! Member
Registered: 2015-01-21
Posts: 54

Re: My tint2 config

Offline

#462 2015-07-26 12:03:55

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: My tint2 config

# 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

#463 2015-07-26 12:31:21

Nili
#! Die Hard
From: 127.0.0.1
Registered: 2013-03-20
Posts: 811
Website

Re: My tint2 config

^Simplicity and elegance.  tongue Very good tint2 style.

Offline

#464 2015-09-11 07:18:19

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: My tint2 config

# 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

#465 2015-09-29 21:00:28

SiNiSTeR
#! Member
From: north carolina
Registered: 2012-02-03
Posts: 55

Re: My tint2 config

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

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.
Server: bleh

Debian Logo