You are not logged in.

#76 2017-02-23 14:12:05

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

twoion wrote:
o9000 wrote:

Heck, I think even valgrind wouldn't catch those problems. It's insane.

I can recommend looking at libtalloc from the Samba project. It's a well-written tree allocator with special support for arrays and suchlike, has helped me tremendously in C when it came to more complex memory management. No hash tables however (though a simple HT implementation is simple, and existing small implementations could easily get adapted for talloc).

Looks interesting, thank you.

Offline

#77 2017-02-26 14:55:38

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

Now there is almost complete support for gradients in tint2conf (except for extra color stops; but if you add them by hand to the config file, tint2conf will preserve them).

Feedback would be appreciated. Once I add support for the color stops, I will release 0.13.

Offline

#78 2017-03-04 14:22:47

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

New release.

Offline

#79 2017-03-04 15:15:46

malm
jgmenu developer
Registered: 2016-10-13
Posts: 530
Website

Re: tint2 16.2 released :)

Big moment big_smile

I've compiled and installed.

Have you pushed the v0.13 tag?

Offline

#80 2017-03-04 15:18:07

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

Oops. It's pushed now smile Thanks.

Offline

#81 2017-03-04 15:26:04

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

Will try to add start button in 0.14.

Offline

#82 2017-03-04 15:58:25

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,553

Re: tint2 16.2 released :)

tint2 0.13.0 packages are available from the BL jessie-backports repos for amd64, i386 and armhf architectures:

sudo apt-get update
sudo apt-get install -t jessie-backports tint2

--
Edit: +armhf package

Last edited by twoion (2017-03-04 16:54:51)


At the end of the river the sundown beams

Offline

#83 2017-03-04 16:39:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: tint2 16.2 released :)

^ Nice work! cool

I've just flagged the Arch package as out-of-date, let's see how long it takes them to catch up...

glasses


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#84 2017-03-04 18:41:28

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

Here is a demo of the new config options: whats-new-0.13.0.gif

Offline

#85 2017-03-04 19:58:17

hhh
Meep!
Registered: 2015-09-17
Posts: 8,722
Website

Re: tint2 16.2 released :)

re: demo, wow wow wow.

Thanks for your hard work!

Offline

#86 2017-03-04 21:32:55

damo
....moderator....
Registered: 2015-08-20
Posts: 5,253

Re: tint2 16.2 released :)

hhh wrote:

re: demo, wow wow wow.

Thanks for your hard work!

+1  Great work smile


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#87 2017-03-05 14:54:05

SBruleMD
Member
Registered: 2017-02-12
Posts: 9

Re: tint2 16.2 released :)

o9000 wrote:

Here is a demo of the new config options: whats-new-0.13.0.gif

Cool cool cool.

Side note, I had no idea there was a cute little config gui. Heh.

Offline

#88 2017-03-06 00:27:14

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: tint2 16.2 released :)

tint2 is awesome. I'm using it now vertical on the right side. Perfect combination with plank on the left.

Offline

#89 2017-03-06 07:40:47

ohnonot
...again
Registered: 2015-09-29
Posts: 4,159
Website

Re: tint2 16.2 released :)

^ screenshot? always interested in vertical panels. difficult to make it look good.

Offline

#90 2017-03-06 17:29:39

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: tint2 16.2 released :)

Here is one. The wallpaper was just changed and I did not tweaked the tint2 colors yet. This is why it looks a bit off. Otherwise it's just sooooo much better in comparison to the top or bottom position.

Offline

#91 2017-03-06 17:54:31

hhh
Meep!
Registered: 2015-09-17
Posts: 8,722
Website

Re: tint2 16.2 released :)

ohnonot wrote:

^ screenshot? always interested in vertical panels. difficult to make it look good.

xfce4-panel in jessie and above has a mode setting that works great in vertical position (can't think of the name).
http://s29.postimg.org/sa2gnwpef/Screen … _27_PM.png

To get something similar in tint 2, you could start with Deco, but I'm sure you've seen that before...
https://forums.bunsenlabs.org/viewtopic … 1368#p1368

Offline

#92 2017-03-09 20:18:17

ohnonot
...again
Registered: 2015-09-29
Posts: 4,159
Website

Re: tint2 16.2 released :)

thanks hhh & martix!

Offline

#93 2017-03-09 22:31:36

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: tint2 16.2 released :)

^Did you try vertical tint2, ohnonot? Meanwhile I have to correct myself: tint2 on the right and plank on the left is great, but tint2 on the right and plank on the bottom (on autohide) is even better! I believe finally this might be the perfect combination for my desktop...

Offline

#94 2017-03-12 06:17:02

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

0.13.1 released. I fixed a couple of regressions and merged a patch adding a config option (systray_name_filter) to hide specific icons from the system tray.

Most importantly, I removed support for GNU extensions offered by glibc. Very few GNU features were used, and some of their new headers were conflicting with internal datatypes in tint2, which broke compilation with the latest glibc code. Now tint2 needs C99 + POSIX.1-2008 + the old BSD extensions. These are expected to be stable probably "forever".

Offline

#95 2017-03-12 19:18:38

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,553

Re: tint2 16.2 released :)

0.13.1 is now available in BL jessie-backports for amd64, i386. armhf is to follow sometime later.


At the end of the river the sundown beams

Offline

#96 2017-03-25 11:08:25

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

0.13.3 fixes an autohide regression. (I skipped announcing 0.13.2 here since it provided only BSD fixes).

Offline

#97 2017-03-25 14:28:25

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

For the next release, probably tomorrow, I'm adding a new type of element: buttons. These are customizable launchers, with icons and/or text. They are independent from the launcher and can be placed anywhere on the panel.

The config looks like this (use "P" in panel_items, as in "push button"):

...

panel_items = PCTSL

...

#-------------------------------------
# Button 1
button = new
button_icon = calendar
button_text = Calendar
button_tooltip = Shows the calendar
button_lclick_command = zenity --calendar
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font = Liberation Sans 10
button_font_color = #ffffff 100
button_padding = 3 3
button_background_id = 2
button_centered = 1
button_max_icon_size = 30

Some notes:

* button_icon can be omitted or left empty => no icon shown.
* button_text can be omitted or left empty => no text shown.
* button_tooltip can be omitted or left empty => no tooltip shown.
* button_max_icon_size can be used to control the icon size, otherwise the icon will expand to fill the button
* button_centered is only useful for vertical panels, it behaves similarly to the setting used for task buttons.

Screenshot and full config:

#---- Generated by tint2conf fb55 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for 
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 0
border_sides = TBLR
background_color = #000000 60
border_color = #000000 30
background_color_hover = #000000 60
border_color_hover = #000000 30
background_color_pressed = #000000 60
border_color_pressed = #000000 30

# Background 2: Default task, Iconified task
rounded = 4
border_width = 1
border_sides = TBLR
background_color = #777777 20
border_color = #777777 30
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44

# Background 3: Active task
rounded = 4
border_width = 1
border_sides = TBLR
background_color = #777777 20
border_color = #ffffff 40
background_color_hover = #aaaaaa 22
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44

# Background 4: Urgent task
rounded = 4
border_width = 1
border_sides = TBLR
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #cc7700 100
border_color_hover = #aa7733 100
background_color_pressed = #555555 4
border_color_pressed = #aa7733 100

# Background 5: Tooltip
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #ffffaa 100
border_color = #000000 100
background_color_hover = #ffffaa 100
border_color_hover = #000000 100
background_color_pressed = #ffffaa 100
border_color_pressed = #000000 100

#-------------------------------------
# Panel
panel_items = LTSCP
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 2 0 2
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = bottom center horizontal
panel_layer = top
panel_monitor = all
primary_monitor_first = 0
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0

#-------------------------------------
# Taskbar
taskbar_mode = single_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 2
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 1
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left

#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 150 35
task_padding = 2 2 4
task_tooltip = 1
task_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#-------------------------------------
# System tray (notification area)
systray_padding = 0 4 2
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 24
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter = 

#-------------------------------------
# Launcher
launcher_padding = 2 4 2
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/tint2conf.desktop
launcher_item_app = /usr/local/share/applications/tint2conf.desktop
launcher_item_app = /usr/share/applications/firefox.desktop
launcher_item_app = /usr/share/applications/iceweasel.desktop
launcher_item_app = /usr/share/applications/chromium-browser.desktop
launcher_item_app = /usr/share/applications/google-chrome.desktop

#-------------------------------------
# Clock
time1_format = %H:%M
time2_format = %A %d %B
time1_timezone = 
time2_timezone = 
clock_font_color = #ffffff 100
clock_padding = 2 0
clock_background_id = 0
clock_tooltip = 
clock_tooltip_timezone = 
clock_lclick_command = 
clock_rclick_command = orage
clock_mclick_command = 
clock_uwheel_command = 
clock_dwheel_command = 

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_font_color = #ffffff 100
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
battery_lclick_command = 
battery_rclick_command = 
battery_mclick_command = 
battery_uwheel_command = 
battery_dwheel_command = 
ac_connected_cmd = 
ac_disconnected_cmd = 

#-------------------------------------
# Button 1
button = new
button_icon = calendar
button_text = Calendar
button_tooltip = Shows the calendar
button_lclick_command = zenity --calendar
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #ffffff 100
button_padding = 0 0
button_background_id = -1
button_centered = 0
button_max_icon_size = 0

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100

It will be possible to add multiple buttons. Just add multiple 'P' to panel_items, and configure the buttons individually:

...
panel_items = PCTSLP
...

#-------------------------------------
# Button 1
button = new
button_icon = calendar
button_text = Calendar
button_tooltip = Shows the calendar
button_lclick_command = zenity --calendar
button_font = Liberation Sans 10
button_font_color = #ffffff 100
button_padding = 3 3
button_background_id = 2
button_centered = 1
button_max_icon_size = 30

#-------------------------------------
# Button 2
button = new
button_icon = terminal
button_lclick_command = xterm
button_font_color = #ffffff 100
button_padding = 3 3
button_background_id = 0
button_centered = 0
button_max_icon_size = 0

Last edited by o9000 (2017-03-25 15:02:09)

Offline

#98 2017-03-25 14:33:01

damo
....moderator....
Registered: 2015-08-20
Posts: 5,253

Re: tint2 16.2 released :)

^ That looks like an excellent idea smile


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#99 2017-03-25 14:53:55

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 399
Website

Re: tint2 16.2 released :)

Thanks.

Last edited by o9000 (2017-03-25 15:01:57)

Offline

#100 2017-03-25 17:56:27

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,553

Re: tint2 16.2 released :)

0.13.3 is available in BL jessie-backports.


At the end of the river the sundown beams

Offline

Board footer

Powered by FluxBB