Author Topic: Tint2 and svg icons  (Read 4119 times)

Snap

  • Posts: 474
    • View Profile
Tint2 and svg icons
« 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?

https://github.com/ixxra/tint2-svg

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.

PackRat

  • Posts: 1963
    • View Profile
Re: Tint2 and svg icons
« Reply #1 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
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

Snap

  • Posts: 474
    • View Profile
Re: Tint2 and svg icons
« Reply #2 on: April 26, 2015, 09:06:24 AM »
Yeah, that always annoyed me.... No svg for the launchers. Looking forward for the next release.

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Tint2 and svg icons
« Reply #3 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

VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1963
    • View Profile
Re: Tint2 and svg icons
« Reply #4 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.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Tint2 and svg icons
« Reply #5 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]
Encoding=UTF-8
Name=Iceweasel
Name[bg]=Iceweasel
Name[ca]=Iceweasel
Name[cs]=Iceweasel
Name[el]=Iceweasel
Name[es]=Iceweasel
Name[fa]=Iceweasel
Name[fi]=Iceweasel
Name[fr]=Iceweasel
Name[hu]=Iceweasel
Name[it]=Iceweasel
Name[ja]=Iceweasel
Name[ko]=Iceweasel
Name[nb]=Iceweasel
Name[nl]=Iceweasel
Name[nn]=Iceweasel
Name[no]=Iceweasel
Name[pl]=Iceweasel
Name[pt]=Iceweasel
Name[pt_BR]=Iceweasel
Name[ru]=Iceweasel
Name[sk]=Iceweasel
Name[sv]=Iceweasel
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[ja]=ウェブを閲覧します
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[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブ・ブラウザ
GenericName[ko]=웹 브라우저
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[no]=Nettleser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[ru]=Интернет-браузер
GenericName[sk]=Internetový prehliadač
GenericName[sv]=Webbläsare
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[fi]=Iceweasel-selain
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
Terminal=false
X-MultipleArgs=false
Type=Application
# Icon=/usr/local/bin/images/firefox01-04.png
Icon=/usr/local/bin/images/firefox.svg
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Firefox-bin
StartupNotify=true

VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1963
    • View Profile
Re: Tint2 and svg icons
« Reply #6 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.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Tint2 and svg icons
« Reply #7 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
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 1963
    • View Profile
Re: Tint2 and svg icons
« Reply #8 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.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Tint2 and svg icons
« Reply #9 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
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

jedi

  • DEFCON 1
  • Posts: 1547
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: Tint2 and svg icons
« Reply #10 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...
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

  •      v-ger
  • Posts: 3961
    • View Profile
    • VSIDO Community
Re: Tint2 and svg icons
« Reply #11 on: April 29, 2015, 04:11:47 AM »
meh, I give no shits about the credit...

but thanks Jedi!
VSIDO      VSIDO Twitter     VSIDO FB     VSIDO Google+   

I dev VSIDO

jedi

  • DEFCON 1
  • Posts: 1547
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: Tint2 and svg icons
« Reply #12 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?

Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

PackRat

  • Posts: 1963
    • View Profile
Re: Tint2 and svg icons
« Reply #13 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.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

jedi

  • DEFCON 1
  • Posts: 1547
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: Tint2 and svg icons
« Reply #14 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
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous