You are not logged in.
Pages: 1
I've re-written the cb-help-pipemenu - adding a few things and removing the out-of-date #! entries.
#!/bin/sh
cat << _EOF_
<openbox_pipe_menu>
<separator label="Online Help"/>
<menu id="ForumWWW" label="Forums">
<item label="Forum Help & Support">
<action name="Execute">
<command>
x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=38737"
</command>
</action>
</item>
<item label="Tips, Tricks & Scripts">
<action name="Execute">
<command>
x-www-browser "http://crunchbang.org/forums/viewforum.php?id=8"
</command>
</action>
</item>
</menu>
<menu id="OpenboxWWW" label="Openbox">
<item label="Openbox Homepage">
<action name="Execute">
<command>
x-www-browser "http://openbox.org/wiki/Main_Page"
</command>
</action>
</item>
<item label="Openbox Documentation">
<action name="Execute">
<command>
x-www-browser "http://openbox.org/wiki/Help:Contents"
</command>
</action>
</item>
<item label="Openbox FAQ">
<action name="Execute">
<command>
x-www-browser "http://openbox.org/wiki/Help:FAQ"
</command>
</action>
</item>
<item label="Openbox Getting Started">
<action name="Execute">
<command>
x-www-browser "http://openbox.org/wiki/Help:Getting_started"
</command>
</action>
</item>
<item label="Openbox Community Portal">
<action name="Execute">
<command>
x-www-browser "http://openbox.org/wiki/Openbox:Community_portal"
</command>
</action>
</item>
</menu>
<menu id="Tint2WWW" label="Tint2">
<item label="Tint2 wiki: FAQ">
<action name="Execute">
<command>
x-www-browser "https://code.google.com/p/tint2/wiki/FAQ"
</command>
</action>
</item>
<item label="Tint2 Documentation">
<action name="Execute">
<command>
x-www-browser "https://code.google.com/p/tint2/wiki/Configure"
</command>
</action>
</item>
<item label="Tint2 forum thread">
<action name="Execute">
<command>
x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=3232"
</command>
</action>
</item>
</menu>
<menu id="ConkyWWW" label="Conky">
<item label="Conky Configuration settings">
<action name="Execute">
<command>
x-www-browser "http://conky.sourceforge.net/config_settings.html"
</command>
</action>
</item>
<item label="Conky variables">
<action name="Execute">
<command>
x-www-browser "http://conky.sourceforge.net/variables.html"
</command>
</action>
</item>
<item label="Conky Archive">
<action name="Execute">
<command>
x-www-browser "http://crunchbang.org/forums/viewtopic.php?pid=371424"
</command>
</action>
</item>
</menu>
</openbox_pipe_menu>
_EOF_
The new bl-help-pipemenu structure would be:
#!/bin/bash
BL_COMMON_LIBDIR='/usr/lib/bunsen/bunsen-common'
if ! . "$BL_COMMON_LIBDIR/bl-include.cfg" 2> /dev/null; then
echo $"Error: Failed to locate bl-include.cfg in $BL_COMMON_LIBDIR" >&2
exit 1
fi
menuStart
menuSeparator 'Online Help'
menuItem 'Forum Help & Support' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=38737"'
menuItem 'Tips, Tricks & Scripts' '"x-www-browser http://crunchbang.org/forums/viewforum.php?id=8"'
menuSeparator
menuSubmenu 'OpenboxWWW' 'Openbox'
menuItem 'Openbox Homepage' 'x-www-browser "http://openbox.org/wiki/Main_Page"'
menuItem 'Openbox Documentation' 'x-www-browser "http://openbox.org/wiki/Help:Contents"'
menuItem 'Openbox FAQ' 'x-www-browser "http://openbox.org/wiki/Help:FAQ"'
menuItem 'Openbox Getting Started' 'x-www-browser "http://openbox.org/wiki/Help:Getting_started"'
menuItem 'Openbox Community Portal' 'x-www-browser "http://openbox.org/wiki/Openbox:Community_portal"'
menuSubmenuEnd
menuSeparator
menuSubmenu 'Tint2WWW' 'Tint2 panel'
menuItem 'Tint2 wiki: FAQ' 'x-www-browser "https://code.google.com/p/tint2/wiki/FAQ"'
menuItem 'Tint2 Documentation' 'x-www-browser "https://code.google.com/p/tint2/wiki/Configure"'
menuItem 'Tint2 forum thread' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=3232"'
menuSubmenuEnd
menuSeparator
menuSubmenu 'ConkyWWW' 'Conky'
menuItem 'Conky Configuration settings' 'x-www-browser "http://conky.sourceforge.net/config_settings.html"'
menuItem 'Conky variables''x-www-browser "http://conky.sourceforge.net/variables.html"'
menuItem 'Conky Archive' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?pid=371424"'
menuSubmenuEnd
menuEnd
Now I have to find out how to Fork'n'Pull!
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Thanks Damo!
BTW if anyone has suggestions for things that could go in the help pipemenu, they're easy enough to add, and there's room for one or two more. ( Not dozens though! )
Maybe a "Debian" submenu?
Maybe some links to outside stuff that's useful like the Arch wiki?
Last edited by johnraff (2015-03-10 23:51:39)
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
^ I was thinking along those lines as well, but I was waiting for some feedback about the idea. I'll come up with some other suggestions
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
I'd like to suggest adding the Debian Security Tracker (https://security-tracker.debian.org/tracker/), and the Debian Package Tracking System (https://packages.qa.debian.org/common/index.html).
Offline
Looks like there will be a Debian submenu then! I'd also like to see https://www.debian.org/distrib/packages, which I use a lot.
And some links for resources for themes
Last edited by damo (2015-03-11 00:38:16)
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Latest pull request looks like this:
#!/bin/bash
BL_COMMON_LIBDIR='/usr/lib/bunsen/bunsen-common'
if ! . "$BL_COMMON_LIBDIR/bl-include.cfg" 2> /dev/null; then
echo $"Error: Failed to locate bl-include.cfg in $BL_COMMON_LIBDIR" >&2
exit 1
fi
menuStart
menuSeparator 'Online Help'
menuSeparator
menuItem 'Forum Help & Support' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=38737"'
menuItem 'Tips, Tricks & Scripts' 'x-www-browser "http://crunchbang.org/forums/viewforum.php?id=8"'
menuSubmenu 'DebianWWW' 'Debian'
menuItem 'Debian Documentation' 'x-www-browser "https://www.debian.org/doc/"'
menuItem 'Package Search' 'x-www-browser "https://www.debian.org/distrib/packages"'
menuItem 'Package Tracker' 'x-www-browser "https://tracker.debian.org/"'
menuItem 'Security Tracker' 'x-www-browser "https://security-tracker.debian.org/tracker/"'
menuSubmenuEnd
menuItem 'Arch wiki' 'x-www-browser "https://wiki.archlinux.org/index.php/Table_of_contents"'
menuSeparator
menuSubmenu 'OpenboxWWW' 'Openbox'
menuSubmenu 'ObWWW' 'Openbox website'
menuItem 'Openbox Homepage' 'x-www-browser "http://openbox.org/"'
menuItem 'Openbox Getting Started' 'x-www-browser "http://openbox.org/wiki/Help:Getting_started"'
menuItem 'Openbox Documentation' 'x-www-browser "http://openbox.org/wiki/Help:Contents"'
menuItem 'Openbox FAQs' 'x-www-browser "http://openbox.org/wiki/Help:FAQ"'
menuSubmenuEnd
menuItem 'ArchWiki Openbox guide' 'x-www-browser "http://wiki.archlinux.org/index.php/Openbox"'
menuItem 'Debian Wiki Openbox guide' 'x-www-browser "https://wiki.debian.org/Openbox"'
menuItem 'Urukramas Openbox Guide' 'x-www-browser "https://urukrama.wordpress.com/openbox-faq/"'
menuSubmenuEnd
menuSubmenu 'Tint2WWW' 'Tint2 panel'
menuItem 'Tint2 wiki: FAQ' 'x-www-browser "https://code.google.com/p/tint2/wiki/FAQ"'
menuItem 'Tint2 Documentation' 'x-www-browser "https://code.google.com/p/tint2/wiki/Configure"'
menuItem 'Tint2 forum thread' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=3232"'
menuSubmenuEnd
menuSubmenu 'ConkyWWW' 'Conky'
menuItem 'Conky Configuration settings' 'x-www-browser "http://conky.sourceforge.net/config_settings.html"'
menuItem 'Conky Variables' 'x-www-browser "http://conky.sourceforge.net/variables.html"'
menuItem 'Conky Archive' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?pid=371424"'
menuSubmenuEnd
menuSeparator
menuSubmenu 'ThemesWWW' 'Theme Resources'
menuItem 'Box-Look.org' 'x-www-browser "http://www.box-look.org"'
menuItem 'gnome-look.org' 'x-www-browser "http://gnome-look.org/"'
menuItem 'DeviantArt' 'x-www-browser "http://www.deviantart.com/browse/all/"'
menuSubmenuEnd
menuSeparator
menuEnd
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Is it okay to just link DeviantArt for the vanilla install?
Besides that, good work
Offline
Is it okay to just link DeviantArt for the vanilla install?
Not sure what you mean?
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Latest pull request looks like this:
Looks good!
The help pipemenu was commented out in Waldorf's menu.xml, presumably because it was old, but this looks really useful. One advantage of a pipemenu over something statically coded in menu.xml is that in the future we can upgrade the package and get the improved results in everyone's menus right off.
Of course otoh the disadvantage is that the user can't edit it.
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
....
The help pipemenu was commented out in Waldorf's menu.xml, presumably because it was old, but this looks really useful. One advantage of a pipemenu over something statically coded in menu.xml is that in the future we can upgrade the package and get the improved results in everyone's menus right off.![]()
Of course otoh the disadvantage is that the user can't edit it.
Do you mean that it can't be edited as $USER? Because obviously the pipemenu file itself can can be edited as root user.
Not sure I like the idea of a user's menu being changed by an update. Should there be a terminal message along the lines of
The package maintainer wants to make changes to the openbox Help pipemenu.
Keep your version? Y|N?
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
It's only the pipemenu, not the user's whole menu.xml. They have the option of commenting it out completely, but I doubt many people would feel the need to edit /usr/bin/bl-help-pipemenu. If they did, then an upgrade would indeed overwrite it. But it's only a list of helpful urls after all. Any personal favourites can be added to the user's own openbox menu outside of the pipemenu.
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
Do what you want, but I've never found the help menu to be very useful for my purposes. I've removed it from my version of the openbox menu.
Linux User #586672
Come and Die -- Kyle Idleman
Offline
^There hasn't been a help pipemenu in #! for a long time if I remember right. It's been commented out since Waldorf at least. We're hoping that the new one will have some links that are helpful to new users at least.
PS damo, how about adding links to the Debian forum and wiki in the Debian section?
Last edited by johnraff (2015-03-29 05:57:48)
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
^There hasn't been a help pipemenu in #! for a long time if I remember right. It's been commented out since Waldorf at least. We're hoping that the new one will have some links that are helpful to new users at least.
PS damo, how about adding links to the Debian forum and wiki in the Debian section?
Done
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Looks like there will be a Debian submenu then! I'd also like to see https://www.debian.org/distrib/packages, which I use a lot.
And some links for resources for themes
+1 Damo. Actually, that webpage is probably one of the most important tools and resources. I use it all the time.
Regards,
spacex/ew
http://tweaklinux.org
Offline
^every day. A Firefox keyword search "pkg".
John
--------------------
( a boring Japan blog , Japan Links, idle twitterings and GitStuff )
#! forum moderator BunsenLabs
Offline
damo wrote:Looks like there will be a Debian submenu then! I'd also like to see https://www.debian.org/distrib/packages, which I use a lot.
And some links for resources for themes
+1 Damo. Actually, that webpage is probably one of the most important tools and resources. I use it all the time.
Already sorted it out
BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat