Package: openbox
Version: 3.5.0-1.1
Severity: wishlist
Tags: patch
Hi,
Please generate icon="$PATH" statements into the openbox menu. The users
can then decide themself if they want these icons in their menu by adding
<showIcons>yes</showIcons>
to ~/.config/openbox/menu.xml.
I appended my /etc/menu-methods/openbox, which implements my suggested
change.
-- Sebastian
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openbox depends on:
ii libc6 2.13-21
ii libglib2.0-0 2.28.8-1
ii libice6 2:1.0.7-2
ii libobrender27 3.5.0-1.1
ii libobt0 3.5.0-1.1
ii libsm6 2:1.2.0-2
ii libstartup-notification0 0.12-1
ii libx11-6 2:1.4.4-2
ii libxau6 1:1.0.6-3
ii libxext6 2:1.3.0-3
ii libxinerama1 2:1.1.1-3
ii libxml2 2.7.8.dfsg-5
ii libxrandr2 2:1.3.2-2
ii libxrender1 1:0.9.6-2
Versions of packages openbox recommends:
ii obconf 2.0.3-3
ii openbox-themes 1.0.2
Versions of packages openbox suggests:
ii libxml2-dev 2.7.8.dfsg-5
ii menu 2.1.45
ii python 2.7.2-8
ii ttf-dejavu 2.33-2
-- Configuration Files:
/etc/menu-methods/openbox changed:
!include menu.h
compat="menu-1"
outputencoding="UTF-8"
genmenu="debian-menu.xml"
rootprefix="/var/lib/openbox/"
userprefix=".config/openbox/"
treewalk="(M)"
function xml_escape($s) = replace(replace(replace(replace(replace($s, \
"&", "&"), \
">", ">"), \
"<", "<"), \
"'", "'"), \
"\"", """)
supported
x11= nstring(level(), " ") "<item label='" xml_escape(title()) "'"
ifnempty(icon(), " icon='" xml_escape(icon()) "'") ">\n" \
nstring(level(), " ") " <action name='Execute'><execute>"
xml_escape($command) "</execute></action>\n" \
nstring(level(), " ") "</item>\n"
text= nstring(level(), " ") "<item label='" xml_escape(title()) "'"
ifnempty(icon(), " icon='" xml_escape(icon()) "'") ">\n" \
nstring(level(), " ") " <action name='Execute'><execute>"
xml_escape(term()) "</execute></action>\n" \
nstring(level(), " ") "</item>\n"
wm= nstring(level(), " ") "<item label='" xml_escape(title()) "'"
ifnempty(icon(), " icon='" xml_escape(icon()) "'") ">\n" \
nstring(level(), " ") " <action name='Restart'><execute>"
xml_escape($command) "</execute></action>\n" \
nstring(level(), " ") "</item>\n"
endsupported
startmenu= nstring(level(), " ") "<menu id='" xml_escape($section) "'
label='" xml_escape(title()) "'>\n"
endmenu= nstring(level(), " ") "</menu>\n"
preoutput= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!-- Automatically
generated file. Do not edit (see /usr/share/doc/menu/html) -->\n\n<openbox_menu
xmlns=\"http://openbox.org/\"\n
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n
xsi:schemaLocation=\"http://openbox.org/\n
file:///usr/share/openbox/menu.xsd\">\n\n"
postoutput= "\n</openbox_menu>\n"
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]