FS#35869 - [archlinux-xdg-menu] 0.7.6.1-1 SVG Icons Fail in Openbox
Attached to Project:
Community Packages
Opened by Dave (DaveCode) - Friday, 21 June 2013, 01:03 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 18 August 2013, 11:20 GMT
Opened by Dave (DaveCode) - Friday, 21 June 2013, 01:03 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 18 August 2013, 11:20 GMT
|
Details
Example, mp3splt-gtk on an xdg_menu in Openbox shows no
icon, even though it ships two icon files. One is SVG, the
other PNG. The .desktop file cites the SVG variant as it
should. Openbox can't display SVG icons in its right-click
menu.
The idea is a new option to xdg_menu for PNGs over SVGs where available, and possibly generating PNG from SVG if not. For reference, here's the command we currently use. xdg_menu --die-on-error --format openbox3-pipe --root-menu /etc/xdg/menus/arch-applications.menu > "${XDG_CONFIG_HOME}/openbox/menu-apps.xml" |
This task depends upon
Now Openbox is dynamically linked to libsrvg library.
$ ldd /usr/bin/openbox | grep svg
librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0xb6fbe000)
Please, edit the PKGBUILD.