1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh # xdgmenumaker postinst case "$1" in triggered) Xvfb :18 & result=$! export DISPLAY=:18 for word in fluxbox ; do /usr/bin/xdgmenumaker -f "${word}" -i > "/etc/xdgmenumaker/${word}" 2>/dev/null done kill $result ;; *) : ;; esac