Program to set icons to your custom openbox menu.
You must have python3
, gobject
and pyxdg
installed. In Arch Linux, for example, python3
is default, so you just need to do
# pacman -S python-gobject python-pyxdg
To show icons next to menu entries, it will be necessary to enabled them in the
<menu>
section of the ~/.config/openbox/rc.xml
file with:
<showIcons>yes</showIcons>
Download the file and run
./setopmicons.py
It will try to find the icons for each of your menu itens and set them to your
menu.xml
. If a particular icon is not found, the script will ask to enter
an alternative icon name to look for.