Icewm needs to modifed to show svg

Moderator: Forum moderators

Post Reply
Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

Icewm needs to modifed to show svg

Post by Lassar »

Icewm does not show svg icons, making the menu
look terrible.

Should not be too hard to do.

Copy some code from jwm to paste into icewm.

Jwm code image.c is located here:https://github.com/joewing/jwm/blob/master/src/image.c

User avatar
Wiz57
Moderator
Posts: 691
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 91 times
Been thanked: 156 times

Re: Icewm needs to modifed to show svg

Post by Wiz57 »

Maybe it would be easier just to use icons that Icewm does know how to use??
Convert your SVG icons into that format...alternatively, you could contact the
authors/maintainers of Icewm to give them some feedback.
Wiz

Signature available upon request

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: Icewm needs to modifed to show svg

Post by OscarTalks »

Looking at the source code of icewm (latest release is 2.9.0) it has librsvg as an optional dependency so there is no need to modify anything. You just need to make sure that it has been compiled with svg support enabled (via librsvg which must have been in the environment at build-time of course). So where are you getting your icewm from? Are you compiling it yourself?
From the output of ./configure --help:-

Code: Select all

--disable-rsvg          Disable SVG using librsvg.
Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

Re: Icewm needs to modifed to show svg

Post by Lassar »

Icewm works perfectly in zenialpup64, but
doesn't show any svg's in bionicpup64.

Apparently, bionicpup64 is so diffent from zenialpup64,
that icewm show not show svg's.

Needs a special icewm pet, just for bionicpup64.

Post Reply

Return to “Desktop”