SEARCH

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

You are not logged in.

#51 2015-05-07 19:57:49

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

Re: tint2 - request for feedback

I wrote this script:

https://gitlab.com/o9000/pbm/raw/master/pbm.py

I put it together in about an hour and tested for 10 minutes so there might be some bugs tongue You just need pygtk (probably apt-get install python-gtk2 but not sure).

Offline

Be excellent to each other!

#52 2015-05-08 10:10:37

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: tint2 - request for feedback

ov wrote:

You know, this is a common problem of applications integrated into a desktop environment: they made a change that is invisible as long as you use the full Xfce, but when you want to combine parts of it with other DEs it's difficult or impossible. I've seen it many times (particularly with KDE apps). This is something that wouldn't have happened if the power manager was an independent project. Being independent also adds more value to the project, for example conky is much "better" than whatever KDE uses as resource-monitor-desktop-applet this year.

Good point.


Linux User #586672
Come and Die -- Kyle Idleman

Offline

#53 2015-05-14 11:05:34

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

Re: tint2 - request for feedback

I released tint2-0.12-rc4 (see https://gitlab.com/o9000/tint2/wikis/home ).

Changes from rc3:
* launcher/taskbar/systray: fixed icon rendering (icons looked washed out on very transparent panels)
* systray: prevent misbehaving applications from leaving empty system tray icons (a maximum of 1 per process is allowed) -- hello Google Chrome
* taskbar: fixed a race getting the window title (affected fvwm)
* launcher: load icons with incorrect file extensions -- hello Malys SVG Icon Theme
* launcher: workarounds to reduce memory footprint -- hello librsvg and your gazillion malloc calls
* panel: tweaked window flags so that tint2 doesn't get a shadow when using compton
* tint2 now has a .desktop file

A huge THANKS to everyone who contributed bug reports and helped with testing.

If no issues are reported over the next 4 weeks I will release 0.12 (stable).

Offline

#54 2015-05-26 19:56:30

00 01 11 10
New Member
Registered: 2015-05-23
Posts: 7

Re: tint2 - request for feedback

ov wrote:

You know it is possible to add items to the launcher that show a start menu when clicked? For instance I use an custom .desktop item that opens the XFCE start menu:

[Desktop Entry]
Version=1.0
Name=XFCE Start Menu
GenericName=Start Menu
# Gnome and KDE 3 uses Comment.
Comment=Start Menu
Exec=xfdesktop --menu
Terminal=false
Icon=xfce4-menu
Type=Application
Categories=Utility;

And how about LXDE or GNOME Start Menu?

Offline

#55 2015-05-26 20:28:06

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

Re: tint2 - request for feedback

For LXDE/Gnome, I don't know.

I also remember seeing someone use a start menu started from a system tray icon but I don't remember the name... hopefully someone else on this forum might know.

Offline

#56 2015-05-26 21:00:07

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

Re: tint2 - request for feedback

Actually for LXDE this opens the menu:

lxpanelctl menu

But you need lxpanel running. It is possible to configure a tiny lxpanel that shows only the start menu button by removing all the other panel items, reducing its size up to 16x16 pixels, and from advanced settings, disable dock placement and reserving space on screen. Then it can be even covered by tint2, the above command will still show the menu.

You can then access its config with:

lxpanelctl config

Offline

#57 2015-05-26 21:15:32

00 01 11 10
New Member
Registered: 2015-05-23
Posts: 7

Re: tint2 - request for feedback

^  Thank you,  ov!

Openbox Menu

[Desktop Entry]
Version=1.0
Name=Openbox Menu
GenericName=Start Menu
# Gnome and KDE 3 uses Comment.
Comment=Openbox Start Menu
Exec=xdotool key super+space
Categories=Utility;
Type=Application
Terminal=false
Icon=...

smile

Offline

#58 2015-06-13 10:33:09

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

Re: tint2 - request for feedback

I fixed a ton of glitches in the system tray code, so I've decided to release another RC: tint2-0.12-rc6. As usual, you can find the installation instructions in https://gitlab.com/o9000/tint2/blob/master/README.md

Changes from rc5:

Fixes:
* Fixed crash in systray code when using compositing on ATI cards;
* Fixed graphical corruptions in systray icons when using disable_transparency = 1;
* Fixed incorrect systray icon ordering when empty icons are present;
* Improved the systray resizing when a new icon is added so that the icons are positioned in the right place from the start, making things look smoother and preventing some rendering glitches in KDE applications;
* The launcher_apps_dir now sorts the desktop files using natural ordering;

Enhancements:
* Added new option: task_align (aligns the taskbar buttons to the left as before, or to the center or the right of the taskbar). This is similar to the behavior of the patch by Baltazar B. included by Arch&Gentoo, except that one was really buggy so I reimplemented it from scratch and now it works correctly;
* Added new option: freespace item. Basically you add an 'F' to panel_items and it introduces an empty rectangle that extends over the entire available space, pushing non-extensible items (such as the clock or systray) to the right. Contributed by Mishael A Sibiryakov;
* Added Polish translation for tint2conf. Contributed by Daniel Napora.

Offline

#59 2015-06-13 17:48:01

LabRat
#! CrunchBanger
From: Tornadoville, USA
Registered: 2015-04-20
Posts: 153

Re: tint2 - request for feedback

^ It's not often in life where you're given the opportunity to thank someone responsible for a life fixture which you use everyday.

Thanks ov.  smile


Peace

Offline

#60 2015-06-13 17:53:45

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

Re: tint2 - request for feedback

Are you talking about tint2 in general or was there something in particular affecting you?

Offline

#61 2015-06-13 18:06:28

LabRat
#! CrunchBanger
From: Tornadoville, USA
Registered: 2015-04-20
Posts: 153

Re: tint2 - request for feedback

^ tint2, just wanted to express appreciation for your work.

In our commercial world, still boggles my mind the contributions people like you make. It's appreciated.  smile


Peace

Offline

#62 2015-06-13 18:18:53

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

Re: tint2 - request for feedback

Thanks for the kind words!

After a decade of working with Linux, I'm still not sure I fully understand the open source community, there are many different mindsets involved. For me, programming is a hobby, and the fact that other people benefit from it is more of a side effect than a goal. But seeing that people find my work useful makes me happy smile

Offline

#63 2015-06-13 19:37:41

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

Re: tint2 - request for feedback

I am always happy with tint2  cool many thanks for your wonderful work. Tint2+Openbox mean lighter stuff on my Debian setup.

I have a small issue with tooltip,
pWE8jon.png
This ^tooltip shadow used to work pretty fine almost all time but while i restart tint2 return in this state
iukDx2W.png

which means the compton shadow disappear, i must "--exit openbox" /startx to return back on the normal shadow. But every time i restart tint2 this issue happens. I do not know whether my compton or a tint2. I am using this tint2 code with tooltip

# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 5
tooltip_font = anorexia 7
tooltip_font_color = #FFFFFF 100

Thank you for your presence in this forum.

Kindly regards,
Nili

Last edited by Nili (2015-06-13 19:38:52)


# Debian GNU/Linux 8:8.2 (netinst/stable)
# Packages Installed: 541
# Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
# Startup finished in 2.850s (kernel) + 6.473s (userspace) = 9.324s

Offline

#64 2015-06-13 19:45:55

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: tint2 - request for feedback

@Nili

Probably a compositor issue. You shouldn't need to logout or restart openbox, just try restarting the compositor.
If on Crunchbang...

cb-compositor --restart

BL has bl-tint2restart, which reloads the tint2 and then restarts the compositor (because of issues some have been having)

Last edited by damo (2015-06-13 19:48:00)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#65 2015-06-13 19:56:05

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

Re: tint2 - request for feedback

@Nili

You have tooltip_background_id = 5 but I see only 4 backgrounds defined in your config.

If the background is not found or is not set, then tint2 uses a fully transparent background. If there is no compositor at the time tint2 starts, black is actually used. Otherwise it is like in the other screenshot.

So either add a new background definition or use a different index. Hope that helps smile

Last edited by ov (2015-06-13 19:56:31)

Offline

#66 2015-06-13 20:07:07

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

Re: tint2 - request for feedback

ov, i am sorry, i set-up another ID recently just yesterday, didn't notice to show from my modification tint2. Currently i have 5-ID.

Apparently seems a compton issue like damo noted. damo, thanks, i have compton installed customized with some code found around. I'll check what can i do myself. Thanks for orientation also sorry for the dust that i created  :8

Kindly regards,
Nili

Last edited by Nili (2015-06-13 20:07:35)


# Debian GNU/Linux 8:8.2 (netinst/stable)
# Packages Installed: 541
# Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
# Startup finished in 2.850s (kernel) + 6.473s (userspace) = 9.324s

Offline

#67 2015-06-13 20:12:54

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

Re: tint2 - request for feedback

You don't have to be sorry for anything, we are all happy to help. I also think that the way tint2 interacts with the compositor is quite poor but I'm not sure if the problem can be solved easily.

Last edited by ov (2015-06-13 20:26:21)

Offline

#68 2015-06-13 20:30:27

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

Re: tint2 - request for feedback

Managed to fix it guys,

#!/bin/bash
# ----------
# Simple script to restart tint2

if [ "$(pidof tint2)" ]; then
    killall tint2 && sleep 1s && tint2 & compton -cCGb &
    exit 0
else
    tint2 &
    exit 0
fi

just added "& compton -cCGb"

Now the compton restart too after restarting tint2, awesome !!!  tongue

ov, thank you!


# Debian GNU/Linux 8:8.2 (netinst/stable)
# Packages Installed: 541
# Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) i686 GNU/Linux
# Startup finished in 2.850s (kernel) + 6.473s (userspace) = 9.324s

Offline

#69 2015-06-17 13:57:57

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: tint2 - request for feedback

@ov

Trying out rc6....

Seems to be a great job, and tint2conf and tintwizard included as well. Kudos smile


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#70 2015-06-17 19:36:57

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

Re: tint2 - request for feedback

Thanks for trying it out!

Actually I will probably remove tintwizard because it is no longer complete and I'm not sure there is a point in maintaining 2 GUIs.

There are still some minor issues with the system tray I have to look into ( https://gitlab.com/o9000/tint2/issues/496 ). That thing is a PITA.

Offline

#71 2015-06-23 23:16:51

spacex
ew
From: Norway
Registered: 2015-01-17
Posts: 385
Website

Re: tint2 - request for feedback

ov wrote:

Actually for LXDE this opens the menu:

lxpanelctl menu

But you need lxpanel running. It is possible to configure a tiny lxpanel that shows only the start menu button by removing all the other panel items, reducing its size up to 16x16 pixels, and from advanced settings, disable dock placement and reserving space on screen. Then it can be even covered by tint2, the above command will still show the menu.

You can then access its config with:

lxpanelctl config

Or even better. Have it as autohide. That way you get a active corner providing the lxde-applications-menu..., or whatever else you want there smile


Regards,
spacex/ew
http://tweaklinux.org

Offline

#72 2015-07-12 16:35:11

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

Re: tint2 - request for feedback

I released 0.12: https://gitlab.com/o9000/tint2/tree/v0.12

Thanks for all your feedback.

Offline

#73 2015-07-12 18:26:35

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: tint2 - request for feedback

compiles and runs without issue -

2jqkVmtX.jpg

well done.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#74 2015-09-26 20:41:36

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

Re: tint2 - request for feedback

The latest code from master now has support for multiple batteries and fixes some other minor issues in the battery applet. If you have multiple batteries, please try it out and let me know if it works smile (it's quite hard to find such laptops in order to test this, currently I know for sure it works on one model).

Offline

Help fund CrunchBang, donate to the project!

#75 2015-09-27 22:14:13

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

Re: tint2 - request for feedback

i'm still using tint2-mods2, i appreciate the Exec plugin very much.
thanks again, ov, for reacting so quickly with my issues.
i alway meant to come back to this thread and post my config (or maybe onthe other thread)-

....

<ot>
i discovered that it is possible to use fbpanel with only the icons plugin active - so it doesn't display anything, but only takes care of ugly default icons. that is so cool, now i can use it together with tint2. they both take the same amount of resources this way, so not much, but it's still a bit of a hack... i wonder if something like this could be integrated into tint2? i mean the code is there, and it practically doesn't interfer with all the other panel functions...
i already wrote about fbpanel's icon plugin here and here earlier.
</ot>

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: acrobat

Debian Logo