You are not logged in.

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

malm
jgmenu developer
Registered: 2016-10-13
Posts: 530
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

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

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

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

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

Re: tint2 16.2 released :)

^ pure brilliance.

I love it.

tint2conf on current config is neat.

Quicker up-versioning sounds sensible too.

Offline

#104 2017-03-26 11:59:27

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

Re: tint2 16.2 released :)

tint2 0.14.0 is now available in BL jessie-backports for amd64, i386, armhf.


At the end of the river the sundown beams

Offline

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

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

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

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

Offline

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

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

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

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

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

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

Offline

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

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

#109 2017-03-26 16:02:05

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

Re: tint2 16.2 released :)

^ TY for the info


Be Excellent to Each Other...

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

Offline

#110 2017-04-23 15:51:17

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

Re: tint2 16.2 released :)

I have released 0.14.3. The changes are trivial. The main change is a new tint2rc mime type associated with tint2conf.

However, the debian package scripts need to be updated. To figure out what's wrong, I've created https://gitlab.com/o9000/tint2/tree/mas … ing/debian . It's been tested only on Ubuntu's PPA build servers. I'm not sure if anything needs to be changed for Debian.

The changes were:

* I removed the old wiki content, since now we have a man page and .../doc/tint2
* I updated the *installs file, since some tint2 files were missing on installation (actually this was on stock debian, the BL package was much better, but some files were still missing)
* I included the license header to shut up that lintian warning

You might want to diff it against the BL debian to make sure everything is OK. There are some differences (changelog, control) which should probably remain as they are. If you notice anything unusual, please tell me, I'm a noob when it comes to packaging scripts, I might have done something wrong.

Last edited by o9000 (2017-04-23 15:53:20)

Offline

#111 2017-04-23 16:44:25

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

Re: tint2 16.2 released :)

Pushed 0.14.3 packages to BL jessie-backports.


At the end of the river the sundown beams

Offline

#112 2017-04-23 16:45:38

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

Re: tint2 16.2 released :)

o9000 wrote:

You might want to diff it against the BL debian to make sure everything is OK. There are some differences (changelog, control) which should probably remain as they are. If you notice anything unusual, please tell me, I'm a noob when it comes to packaging scripts, I might have done something wrong.

I just took what was in Debian at some point. For this release, I just deleted /debian/wiki because it's not present in your new branch. Anyway, if it works it works.


At the end of the river the sundown beams

Offline

#113 2017-04-23 16:47:34

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

Re: tint2 16.2 released :)

Nice new-release script smile

Offline

#114 2017-04-23 16:57:09

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

Re: tint2 16.2 released :)

malm wrote:

Nice new-release script smile

Thanks. There were too many things to do by hand, which was error-prone.

Offline

#115 2017-04-28 20:33:16

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

Re: tint2 16.2 released :)

I forgot to say that if you start tint2conf from tint2 (via launcher, clock command, whatever), it should now open directly the current theme instead of just showing you the list of themes. I find this quite useful.

It works by storing the path to the config in the env variable TINT2_CONFIG. You could use it to open the config in an editor if you'd like that.

Last edited by o9000 (2017-04-28 20:35:09)

Offline

#116 2017-04-29 11:50:36

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

Re: tint2 16.2 released :)

0.14.4 out. Two bugfixes (one reported on this forum, thanks for that!) and improved interaction with jgmenu.

Offline

#117 2017-04-29 12:19:31

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

Re: tint2 16.2 released :)

0.14.4 now available in BL jessie-backports.


At the end of the river the sundown beams

Offline

#118 2017-04-29 18:29:52

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

Re: tint2 16.2 released :)

Nice. I like the tint2conf trick.

Offline

#119 2017-05-21 11:36:33

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

Re: tint2 16.2 released :)

0.14.5 out, fixes some memory leaks.

Offline

#120 2017-05-21 16:12:44

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: tint2 16.2 released :)

I have a question about tint2.  I first used it in Xubuntu somewhere around 2008.

That's ±9 years.  Isn't it time to become version 1.something at least?


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#121 2017-05-21 17:44:10

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

Re: tint2 16.2 released :)

I thought about it, not sure what it should be. 1.0? 1.14? 2.14?

Normally the major version number is increased when there are backwards-incompatible changes, which has not been the case since 0.11 I think. That should have been 1.0. Switching to 1.0 now is possible, but doesn't really do justice to a decade old project. Still, staying in 0.* doesn't do it justice either. Not sure about 1.14. Opinions?

Anyways. tint2 will go into bugfix-only mode for a while. I have too many things on my plate at the moment. Minor major version number changes have to wait.

By the way, there is a fork called tint3: https://github.com/jmc-88/tint3 It's a refactoring of tint2 which gets rid of glib; it replaces it with C++ containers. This is a very good idea, glib has been the source of many bugs in tint2; C++ containers are much easier to use. The guy also knows what he's doing. I'm not involved in the project, other than sending a couple of patches for common bugs in tint2/tint3. There was a discussion about merging back the codebase at some point, but I don't really have the time and energy to do that in the near future.

Offline

#122 2017-05-21 18:26:20

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: tint2 16.2 released :)

tint3 - blasphemy! Never!  ... Well, maybe to test. devil

As a sofware developer I'm so green behind the ears that mother nature is borrowing some. I'm a zero in other words.  big_smile

However: you did ask for Opinions.

IMHO: Keep doing what you're doing, your explanation says it all:
Life (plate) = Minor major version number changes have to wait, is more than acceptable.

I was just curious.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#123 2017-05-22 06:44:24

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

Re: tint2 16.2 released :)

o9000, you have any idea to what extent the developer of tint3 implements recent changes to tint2?
to what extent it is a 1:1 clone of tint2, in terms of functionality?
e.g., could one use the same config files?
i see now that he has added support for gradients, which is the most recent feature of vanilla tint2, isn't it?
personally, i couldn't be without the exec plugin...

testing:

ln -s /usr/bin/tint3 ~/bin/tint2

Offline

#124 2017-05-22 08:37:49

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

Re: tint2 16.2 released :)

It was a fork of 0.11 while tint2 was not maintained. He is starting to add the new stuff slowly, but I don't know the details. Feel free to ask him smile

Offline

#125 2017-05-22 08:53:14

jmc
tint3 maintainer
Registered: 2017-05-22
Posts: 9
Website

Re: tint2 16.2 released :)

I have been summoned!

Hi everyone, I'm the current maintainer of tint3. o9000 speaks the truth, I forked tint2 during the time it was not actively developed to make some minor improvements here and there, and I've been trying to refactor it to make it more maintainable and, hopefully, less prone to crashes and memory leaks. Since then, Real Life™ has soaked up lots of my time, so I haven't been as proactive as o9000 and the tint2 community in providing new features, but I'm trying to catch up as I can: I've recently added support for gradients, and I'd like to backport some more stuff, eventually...

I also have ideas on new cool things to build, which I sometimes dump @ https://github.com/jmc-88/tint3/projects if you're curious. Those are not tint3-specific, so I'd love to share these between projects (and do a code merge for real, given enough time).

Anyway, currently you can't expect 1:1 compatibility, though that's what I'm striving for. Feel free to try tint3 out if you'd like, and let me know if it totally sucks. smile

P.S.: let me use this occasion to publicly praise o9000 for taking the time to cross-report bugs shared by the two projects; I'd never have discovered them on my own.

Offline

Board footer

Powered by FluxBB