SEARCH

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

You are not logged in.

#601 2015-04-18 14:57:55

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,413
Website

Re: Tint2 Help

^not to the best of mu knowledge - and looking at the man page.  BUT you never know this is Linux.  big_smile

@ apprentice - you have a PM


Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

Be excellent to each other!

#602 2015-04-18 17:06:19

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

Re: Tint2 Help

In "vanilla" tint2 it is not possible.

However I maintain a patched version of tint2 at https://gitlab.com/o9000/tint2-mods2 which supports that. You  need to add "E" to panel_items and the following config options:

execp_centered = 1
execp_command = echo "hello world"
execp_interval = 5
execp_font = Liberation Mono 8
execp_font_color = #ffffff 100
execp_background_id = 0

This feature might be merged in tint2 at some point, but probably not in the next release.

Another solution that uses "vanilla" tint2 is to reserve some space near tint2 using panel_margin and display the text with conky or other applets.

Last edited by ov (2015-04-18 17:18:45)

Offline

#603 2015-04-18 19:04:12

Sector11
Leonardo da Conci
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,413
Website

Re: Tint2 Help

I have a conky that can do time/date with words


Q&As for Conky v1.9 & v1.10 | Conky Archives | All Conky Threads
.deb file editor | Debian Jessie: BunsenLabs subAlpha & Wally-jr
BL Forum Moderator | LinuxBBQ

Offline

#604 2015-04-19 09:05:16

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

Re: Tint2 Help

ov wrote:

Another solution that uses "vanilla" tint2 is to reserve some space near tint2 using panel_margin and display the text with conky or other applets.

this.

(we're still talking about the fuzzy clock i suppose)

Offline

#605 2015-04-19 09:59:30

OhF!sh!
Member
Registered: 2014-09-26
Posts: 16

Re: Tint2 Help

ov wrote:

In "vanilla" tint2 it is not possible.

However I maintain a patched version of tint2 at https://gitlab.com/o9000/tint2-mods2 which supports that. You  need to add "E" to panel_items and the following config options:

execp_centered = 1
execp_command = echo "hello world"
execp_interval = 5
execp_font = Liberation Mono 8
execp_font_color = #ffffff 100
execp_background_id = 0

This feature might be merged in tint2 at some point, but probably not in the next release.

Wow, this is awesome! big_smile

I replaced many applets by a single conky cuz each of them were consuming like 10 MB RAM, while in the conky such additions were practically nothing.

I would love to tune up my tint2 that way...


I definitely need to learn Lua. cry

Offline

#606 2015-04-19 11:50:21

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

Re: Tint2 Help

Actually it's more powerful than that. If you also add execp_has_icon = 1, then it will use the first line printed by the script as a path to an image file which will be displayed in the panel. If you also add execp_cache_icon = 0, it will reload the image at every timeout. So you could make a script that draws anything, save the output to an image, and display it in tint2. See more at https://gitlab.com/o9000/tint2-mods2/blob/master/README

I haven't used the code that displays the image in a while, so it might have some problems.

Offline

#607 2015-04-19 20:26:09

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

Re: Tint2 Help

ov wrote:

Actually it's more powerful than that. If you also add execp_has_icon = 1, then it will use the first line printed by the script as a path to an image file which will be displayed in the panel. If you also add execp_cache_icon = 0, it will reload the image at every timeout. So you could make a script that draws anything, save the output to an image, and display it in tint2.

that is actually pretty damn cool.
downloaded, built, installed - now i'm gonna play with it!

Offline

#608 2015-05-11 20:07:22

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

Re: Tint2 Help

@people with Google Chrome notification icons creating blank spaces in the system tray:

Unfortunately this is a Chrome bug which is ignored. So I implemented a workaround in tint2, as explained here: https://code.google.com/p/tint2/issues/ … id=464#c10

Please let me know if there are any side effects. I will probably create a new RC including the change this weekend.

Offline

#609 2015-05-14 11:07:09

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

Re: Tint2 Help

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

#610 2015-05-14 16:50:48

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

Re: Tint2 Help

Working well -

dulfer_fvwm.jpg

looking forward to the release.


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

Offline

#611 2015-05-23 09:58:14

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

Re: Tint2 Help

I bumped the RC version to 5. It fixes a rare crash caused by the systray code and adds support for translations in tint2conf (but there are no translations yet).

@PackRat: nice song smile

Last edited by ov (2015-05-23 09:59:14)

Offline

#612 2015-06-05 13:54:37

Michele13
#! Member
From: Italy
Registered: 2015-04-16
Posts: 77

Re: Tint2 Help

Is there a way to separate system tray, desktop 1, desktop 2 and other stuff with borders? I saw that corenominal did it but I don't know how he did...

screenshot-tint2-multidesktop-02.png

Offline

#613 2015-06-05 15:08:55

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

Re: Tint2 Help

@Michele13

Tint2 wiki


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

Offline

#614 2015-06-05 17:15:18

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

Re: Tint2 Help

Has anybody tried tint3 yet?

Source here:
https://github.com/tmathmeyer/tint3

git clone https://github.com/tmathmeyer/tint3
sudo apt-get install libxcb-icccm4 libxcb-icccm4-dev libxcb-util0-dev libx11-xcb-dev libxcb-ewmh-dev libxcb-ewmh2 # dependencies
cd tint3
make update
cp tint3 ~/bin

I don't understand the configuration yet but it's only Friday big_smile

Online

#615 2015-06-29 20:22:23

ghorvath
New Member
Registered: 2015-05-20
Posts: 7

Re: Tint2 Help

I am not sure if this is the right thread. I have a problem recently with tint2. I have updated the bunsenlabs using the upgrade-bunsen-pkgs script, and since then at every reboot my tint2 is not loading. I am using my own tint2 file, and autostart has the line

(sleep 2s && bl-tint2-session --autostart) &

as recommended. It was working, up to the point of the upgrade. After startup if I choose the tint2 file in Settings->Tint2->Tint2 Chooser, then it loads and works as intended, but it does not load automatically at startup. Conky works just fine, which again uses its own config file, and not the default one.

Does anyone have any idea what may have happened?

Thank you.

Offline

#616 2015-06-29 21:22:30

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 743

Re: Tint2 Help

whereis bl-tint2-session

should show you where bl-tint2-session is. If it is not in your path you will need to specify the path to it in your autostart file. Also, check to make sure the previous uncommented command ends with & or the tint2 line will not parse correctly.

Last edited by tknomanzr (2015-06-29 21:22:50)

Offline

#617 2015-06-29 21:36:01

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

Re: Tint2 Help

ghorvath wrote:

I am not sure if this is the right thread. I have a problem recently with tint2. I have updated the bunsenlabs using the upgrade-bunsen-pkgs script, and since then at every reboot my tint2 is not loading. I am using my own tint2 file, and autostart has the line

(sleep 2s && bl-tint2-session --autostart) &

as recommended. It was working, up to the point of the upgrade. After startup if I choose the tint2 file in Settings->Tint2->Tint2 Chooser, then it loads and works as intended, but it does not load automatically at startup. Conky works just fine, which again uses its own config file, and not the default one.

Does anyone have any idea what may have happened?

Thank you.

Exact same question was posed a few days ago. bl-tint2-session no longer uses the --autostart command arg, and hasn't done for a while. Read the replies following this post.

There is also a forum search tool at the top right of the page, which should have come up with that thread wink


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

Offline

#618 2015-06-30 07:01:48

ghorvath
New Member
Registered: 2015-05-20
Posts: 7

Re: Tint2 Help

damo wrote:

Exact same question was posed a few days ago. bl-tint2-session no longer uses the --autostart command arg, and hasn't done for a while. Read the replies following this post.

There is also a forum search tool at the top right of the page, which should have come up with that thread wink

Thank you. I have used the magnifying glass, but somehow it did not find the thread.

In any case, removing '--autostart' works now. Thank you all.

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.

Debian Logo