VSIDO Community

VSIDO Support => Scripts and How To's => Tint2 Support and Scripts => Topic started by: Snap on December 10, 2014, 06:30:43 PM

Title: Tint2 and svg icons
Post by: Snap on December 10, 2014, 06:30:43 PM
I discovered the hard way that tint2 doesn't support svg icons for launchers (But does for the systray). Anyone has experience with this?


For just a bunch of launchers it's not too difficult to convert a few svg icons to png and modify the desktop files accordingly if you don't change your theming too often. But if you like to tweak, it's a bit of a mess.

More and more themes (not only icons) are using the svg format instead of png. They simplify building themes, make them simpler and lighter and offer more ways of manipulating and filtering the images. I wonder if the tint2 devs plan to add this support.
Title: Re: Tint2 and svg icons
Post by: PackRat on April 26, 2015, 12:44:13 AM
Looks like the latest version - new unstable release, stable release planned for later this summer (I'm assuming Northern hemisphere).

tint2 changelog (https://gitlab.com/o9000/tint2/blob/master/ChangeLog)
Title: Re: Tint2 and svg icons
Post by: Snap on April 26, 2015, 09:06:24 AM
Yeah, that always annoyed me.... No svg for the launchers. Looking forward for the next release.
Title: Re: Tint2 and svg icons
Post by: VastOne on April 26, 2015, 02:38:48 PM
There are several annoyances that in tint2 that were from being neglected and forgotten IMO... Looks like it is back on track again

Latest build of tint2 (RC1) and the firefox svg working

(http://www.zimagez.com/miniature/screenshot-04262015-093617am.php) (http://www.zimagez.com/zimage/screenshot-04262015-093617am.php)
Title: Re: Tint2 and svg icons
Post by: PackRat on April 28, 2015, 02:33:02 PM
^ can you post the firefox.desktop file for that - I'm assuming you that us where you specified the icon.

svg icons didn't load for me, I tried to specify the icon theme, and specify them individually in the *.desktop file. It's an rc release so no big deal there.
Title: Re: Tint2 and svg icons
Post by: VastOne on April 28, 2015, 06:17:20 PM
.desktop file as requested

I have also attached the firefox.svg I used and verified it is in fact an svg file... :D

Code: [Select]
[Desktop Entry]
Comment=Browse the World Wide Web
Comment[bg]=Сърфиране в Мрежата
Comment[ca]=Navegueu per el web
Comment[cs]=Prohlížení stránek World Wide Webu
Comment[de]=Im Internet surfen
Comment[el]=Περιηγηθείτε στον παγκόσμιο ιστό
Comment[es]=Navegue por la web
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
Comment[fi]=Selaa Internetin WWW-sivuja
Comment[fr]=Navigue sur Internet
Comment[hu]=A világháló böngészése
Comment[it]=Esplora il web
Comment[ko]=웹을 돌아 다닙니다
Comment[nb]=Surf på nettet
Comment[nl]=Verken het internet
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet
Comment[ru]=Обозреватель Всемирной Паутины
Comment[sk]=Prehliadanie internetu
Comment[sv]=Surfa på webben
GenericName=Web Browser
GenericName[bg]=Интернет браузър
GenericName[ca]=Navegador web
GenericName[cs]=Webový prohlížeč
GenericName[el]=Περιηγητής ιστού
GenericName[es]=Navegador web
GenericName[fa]=مرورگر اینترنتی
GenericName[fr]=Navigateur Web
GenericName[it]=Browser Web
GenericName[ko]=웹 브라우저
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[sk]=Internetový prehliadač
X-GNOME-FullName=Iceweasel Web Browser
X-GNOME-FullName[bg]=Интернет браузър (Iceweasel)
X-GNOME-FullName[ca]=Navegador web Iceweasel
X-GNOME-FullName[cs]=Iceweasel Webový prohlížeč
X-GNOME-FullName[el]=Περιηγήτης Ιστού Iceweasel
X-GNOME-FullName[es]=Navegador web Iceweasel
X-GNOME-FullName[fa]=مرورگر اینترنتی Iceweasel
X-GNOME-FullName[fr]=Navigateur Web Iceweasel
X-GNOME-FullName[hu]=Iceweasel webböngésző
X-GNOME-FullName[it]=Iceweasel Browser Web
X-GNOME-FullName[ja]=Iceweasel ウェブ・ブラウザ
X-GNOME-FullName[ko]=Iceweasel 웹 브라우저
X-GNOME-FullName[nb]=Iceweasel Nettleser
X-GNOME-FullName[nl]=Iceweasel webbrowser
X-GNOME-FullName[nn]=Iceweasel Nettlesar
X-GNOME-FullName[no]=Iceweasel Nettleser
X-GNOME-FullName[pl]=Przeglądarka WWW Iceweasel
X-GNOME-FullName[pt]=Iceweasel Navegador Web
X-GNOME-FullName[pt_BR]=Navegador Web Iceweasel
X-GNOME-FullName[ru]=Интернет-браузер Iceweasel
X-GNOME-FullName[sk]=Internetový prehliadač Iceweasel
X-GNOME-FullName[sv]=Webbläsaren Iceweasel
Exec=launch iceweasel
# Icon=/usr/local/bin/images/firefox01-04.png

Title: Re: Tint2 and svg icons
Post by: PackRat on April 28, 2015, 07:15:05 PM
It's working now; muchas gracias.

It would appear that tint2 does not like the malys icon sets or the various forks/derivatives.

Fvwm does not work with that icon set either; although it does support svg format icons.
Title: Re: Tint2 and svg icons
Post by: VastOne on April 28, 2015, 07:17:32 PM
That might be something you would want to report over on their git site so that they can address it
Title: Re: Tint2 and svg icons
Post by: PackRat on April 28, 2015, 07:30:10 PM
I did a drive by posting at #!-bunsen. Dev is taking feedback over there. Appears to be some issues with the Clarity icon set as well.
Title: Re: Tint2 and svg icons
Post by: VastOne on April 29, 2015, 03:47:41 AM
Interesting place to handle feedback and support

You would almost thinK #! kept tint2 alive during it's down time... DOH!

I am damned glad IgnorantGuru gets it with SpaceFM... thats the kind of dev I want to be...  Mix in a little Savant / Digit and I am good to go
Title: Re: Tint2 and svg icons
Post by: jedi on April 29, 2015, 04:10:19 AM
Wonder if the Tint2 devs know that this is the home of VastOne now?  I was under the impression that most if not all of the Tint2 advances made the last couple of years were pretty much due to VastOne.  Seems a bizarre place to be camping out for the Tint2 devs...
Title: Re: Tint2 and svg icons
Post by: VastOne on April 29, 2015, 04:11:47 AM
meh, I give no shits about the credit...

but thanks Jedi!
Title: Re: Tint2 and svg icons
Post by: jedi on April 30, 2015, 11:09:03 PM
So I was/am a little confused.  I have not updated Tint2 using the new Git link for the new RC release.  However, I have just rebuilt my Tint2 Launcher seen on the left lower part of the screen, in the vertical position, using all .SVG icons.  It works perfectly.  It is also, as you can see, the "Malys-Uniblue" icon set.  Like I said, every icon used is an .svg icon.

Is this not supposed to be possible?

(http://en.zimagez.com/miniature/043015b.jpg) (http://en.zimagez.com/zimage/043015b.php)
Title: Re: Tint2 and svg icons
Post by: PackRat on May 01, 2015, 12:16:46 AM
^ I noticed that in your other post. Maybe it is something on my system that does not like the malys icon variants.

How is tint2 built into VSIDO? If it's updated from git prior to each release you may have gotten a git version that has the svg patch.
Title: Re: Tint2 and svg icons
Post by: jedi on May 01, 2015, 02:16:45 AM
Never thought about it auto updating.  Far as I can tell though, I'm on an older version that supposedly doesn't support .svg.

jedi@NixNut:~$ tint2 -v
tint2 version 0.11+svn20121014
Title: Re: Tint2 and svg icons
Post by: Snap on May 01, 2015, 06:22:40 AM
Really? It's been a while since I made the launchers. I'll check if it now accepts svg here too. Thanks, jedi.
Title: Re: Tint2 and svg icons
Post by: dizzie on May 01, 2015, 12:22:58 PM
Doesn't most *svn version supports SVG? I'm almost certain that i've read that somewhere.