You are not logged in.

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

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#82 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

#83 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

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

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: tint2 16.2 released :)

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

Offline

#85 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

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

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
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


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

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

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: tint2 16.2 released :)

thanks hhh & martix!

Offline

#88 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

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

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
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

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

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
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

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

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
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

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

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: tint2 16.2 released :)

^ That looks like an excellent idea smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

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

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

Re: tint2 16.2 released :)

Thanks.

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

Offline

#94 2017-03-25 22:04:17

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

Re: tint2 16.2 released :)

@o9000: super effort. I've got my hands full for a few days, but couldn't resist trying this :-)

C2GCBDRt.png

Sorry about lack of imagination.

Will have more of a play later.

Based on the default tint2rc-bottom:

panel_items = PLTSC
...
button = new
button_icon = distributor-logo
button_text = menu
button_lclick_command = jgmenu_run
button_font = Liberation Sans 10
button_font_color = #ffffff 100
button_padding = 3 3
button_background_id = 6
button_centered = 1
button_max_icon_size = 30

Offline

#95 2017-03-26 09:28:22

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

Re: tint2 16.2 released :)

0.14 out, the only change is support for buttons. Moving a bit faster to detect regressions sooner.

@malm:

Indeed, the long term plan is to add some configuration options for turning a normal button into:
1. a start menu button
2. a button that runs tint2conf for the current config

For the start menu button, it could take an option to configure the mode:
* "*box" mode: fake a right click on the desktop
* xfce mode: run `xfdesktop --menu`
* maybe similar for gnome, unity etc.
* jgmenu mode: open jgmenu
* builtin mode: open a simple GTK menu, similar to the old pmenu (useful if none of the above are possible)
* auto mode: figure out which mode to run based on the current WM and the presence of the jgmenu executable

Offline

#96 2017-03-26 11:07:15

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

Re: tint2 16.2 released :)

^ pure brilliance.

I love it.

tint2conf on current config is neat.

Quicker up-versioning sounds sensible too.

Offline

#97 2017-03-26 15:22:57

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: tint2 16.2 released :)

Thanks for the new release.

I have noticed an old issue rearing its head again, since I installed stretch+BL, but I can't tell you exactly when it started (probably because I've only just tried changing themes). The Firefox-esr icon displayed in Tint2 changes from the FF icon, to an OB generic icon when the gtk theme or icon theme is changed. A restart of FF restores the correct icon.
Referenced here: https://github.com/BunsenLabs/bunsen-ut … /issues/53
and https://forums.bunsenlabs.org/viewtopic … 241#p35241

Tested with 0.13 and 0.14, but the same thing happens with BL-Hydrogen in a VM running 0.11-svn.

$ firefox -v
Mozilla Firefox 45.8.0

$ tint2 -v
tint2 version 0.14

$ tint2 
xRandr: Found crtc's: 3
xRandr: Linking output eDP-1 with crtc 0
xRandr: crtc 1 seems disabled
xRandr: crtc 2 seems disabled
No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
real transparency on... depth: 32
panel items: :T:S:C:
Systray composited rendering on
tint2 : nb monitor 1, nb monitor used 1, nb desktop 4
task_update_icon: Got 256x256 icon via _NET_WM_ICON for bin - File Manager
task_update_icon: Got 32x32 pixmap icon via WM_HINTS for QEMU
task_update_icon: Got 48x48 icon via _NET_WM_ICON for damo@graphix ~
task_update_icon: Got 48x48 icon via _NET_WM_ICON for damo@graphix ~
task_update_icon: Using default icon for Post a reply / BunsenLabs Linux Forums - Mozilla Firefox   
                  ^ Correct icon
task_update_icon: Got 512x512 pixmap icon via WM_HINTS for Customise Look and Feel
Kernel uevent interface initialized...
systray window 16777232
tint2 : systray started
add_icon: 23070356 (volumeicon), pid 15805, visual 0x55be40e17080, colormap 23068675, depth 32, width 18, height 18
add_icon: 25166094 (clipit), pid 15808, visual 0x55be40e17080, colormap 25165862, depth 32, width 18, height 18
add_icon: 29361987 (Xpad), pid 15909, visual 0x55be40e17080, colormap 29360130, depth 32, width 24, height 24
add_icon: 33555364 (NetworkManager Applet), pid 15915, visual 0x55be40e17080, colormap 33554434, depth 32, width 24, height 24
add_icon: 31458429 (xfce4-power-manager), pid 15936, visual 0x55be40e17080, colormap 31457283, depth 32, width 18, height 18
task_update_icon: Using default icon for Post a reply / BunsenLabs Linux Forums - Mozilla Firefox  
                  ^ Generic icon
task_update_icon: Got 512x512 pixmap icon via WM_HINTS for Customise Look and Feel
task_update_icon: Got 256x256 icon via _NET_WM_ICON for bin - File Manager
task_update_icon: Got 256x256 pixmap icon via WM_HINTS for bin - File Manager
task_update_icon: Got 256x256 pixmap icon via WM_HINTS for bin - File Manager
task_update_icon: Got 512x512 pixmap icon via WM_HINTS for bin - File Manager

PS I don't see any description of the other available commandline tint2 parameters ( version, watch ? ) in --help or manpages


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#98 2017-03-26 15:35:41

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

Re: tint2 16.2 released :)

About the taskbar icon, it's not a tint2 bug. Tint2 can only show the icon given by Openbox or Firefox. I cannot do anything about it.

As for CLI options, tint2 handles the optional -c config_file to load a config file from a non-default location, -v or --version, and -h or --help. Maybe I should add these to help and the man page. There are indeed a few other CLI options, and some environment variables that modify the behavior, but these are not supposed to be public (they are either used for debugging, or interacting with tint2conf) and not supported --- so not documented. There is some info on this page though.

Offline

#99 2017-03-26 15:43:59

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: tint2 16.2 released :)

o9000 wrote:

About the taskbar icon, it's not a tint2 bug. Tint2 can only show the icon given by Openbox or Firefox. I cannot do anything about it....

Yes, I knew you said it wasn't a Tint2 bug, but I was hoping if anyone knew of a workaround, or a direction they could point me in.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#100 2017-03-26 15:56:22

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

Re: tint2 16.2 released :)

IMHO your best bet would be to file a bug directly at bugzilla.mozilla.org and provide detailed instructions to help them reproduce it. Tell them it doesn't happen only on BL but also on Ubuntu (I have just reproduced it with firefox-52.0.1esr.tar.bz2). I am running XFCE, not Openbox. It's definitely a Firefox bug.

Offline

Board footer

Powered by FluxBB