SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-03-10 16:05:35

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Help menu

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 &amp; Support">
			<action name="Execute">
				<command>
					x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=38737"
				</command>
			</action>
		</item>
		<item label="Tips, Tricks &amp; 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 &amp; Support' 'x-www-browser "http://crunchbang.org/forums/viewtopic.php?id=38737"'
menuItem 'Tips, Tricks &amp; 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! smile


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Be excellent to each other!

#2 2015-03-10 23:51:16

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Help menu

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!  tongue  )

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

#3 2015-03-10 23:55:31

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

^ 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 wink


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#4 2015-03-11 00:29:09

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Help menu

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).


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#5 2015-03-11 00:32:27

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: Help menu

PARDON me. They have got a front end in 21st-century design too: https://tracker.debian.org/ for the Package Tracker.


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#6 2015-03-11 00:37:50

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

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 smile

Offline

#7 2015-03-11 13:12:35

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

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

VQ8GOtIE.jpg


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#8 2015-03-11 13:29:06

freistil
#! Member
Registered: 2014-12-16
Posts: 66

Re: Help menu

Is it okay to just link DeviantArt for the vanilla install?
Besides that, good work

Offline

#9 2015-03-11 13:45:27

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

freistil wrote:

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 smile

Offline

#10 2015-03-15 02:50:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Help menu

damo wrote:

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. cool
Of course otoh the disadvantage is that the user can't edit it. neutral


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#11 2015-03-15 13:00:51

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

johnraff wrote:

....
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. cool
Of course otoh the disadvantage is that the user can't edit it. neutral

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 smile

Offline

#12 2015-03-15 13:59:16

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Help menu

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

#13 2015-03-28 10:30:23

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: Help menu

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

#14 2015-03-29 05:56:46

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Help menu

^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

#15 2015-03-29 10:33:22

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

johnraff wrote:

^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 smile


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#16 2015-03-30 00:00:42

spacex
ew
From: Norway
Registered: 2015-01-17
Posts: 385
Website

Re: Help menu

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.


Regards,
spacex/ew
http://tweaklinux.org

Offline

#17 2015-03-30 01:29:59

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Help menu

^every day. A Firefox keyword search "pkg".


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#18 2015-03-30 07:30:34

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Help menu

spacex wrote:
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 smile


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Board footer

Powered by FluxBB

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

Debian Logo