Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 22:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
obpipes - Suite of openbox pipe menus written in sh
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 22 Jul 2013, 13:46    Post subject:  obpipes - Suite of openbox pipe menus written in sh  

This is my little collection of openbox pipe menus implemented in shell script. The calendar script was taken from the openbox wiki and slightly modified by me, the rest are my design.

obcal.sh - Diplays the current date/time and a monthly calendar. Works best with a monospace font.

obfb.sh - Browse the directory tree from your openbox menu. There are other versions out there written in Python that are faster, but hey, python is huge and they require special Python modules and sometimes extra programs. Mine allows browsing upwards or downwards, displays hidden files/directories in a separate submenu, and has comfigurable options for your choice of filemanager, terminal (only certain ones are supported though), and file handler (any of gnome-open, exo-open, xdg-open, or rox). This spawns a new version of itself for each subdirectory entered, and requires a bit of sed magic to handle certain special characters in filenames, so it opens just a tad slow with large directory trees but is still reasonable.

obmpd.sh - Controls music player daemon. most common operations are supported. Requires a running mpd and the command line mpc client.

obplaces.sh - Mimics the gnome2 places menu, complete with a recent documents list. It can optionally make your home directory browsable by piping obfb.sh instead of a static entry for $HOME.

obwp.sh - Change wallpaper from the menu. You must configure your wallpaper setting command by editing the script.

All of these have a configuration block allowing you to change certain settings (such as your filemanager or terminal of choice, or where you keep your wallpapers) so you will want to edit the config section and then drop them into your $PATH in order to use.

I've been bit by bit porting my collection of pipe menus from one wm to another, focusing on openbox, pekwm, and icewm. Most of these have counterparts in the other two wm's I just mentioned. The openbox support is currently the most complete, followed by icewm (see my other thread).

I also looked into porting to jwm, but from what I can tell pipe menus in jwm are only updated when the wm is restarted. Not the desired behavior for this sort of thing and kind of defeats the purpose. If anyone knows of a workaround I'd love to hear it.


=======================================
EDIT -- version 0.3 uploaded

Yes it skipped v. 0.2, I want to keep this synced with the icewm and pekwm counterparts.
=======================================


Version 0.3 adds the following new features to the "places" menu.
* Labeled separators for better visual organization
* Recognition of devices mounted in /media (or the new /run/media) via udev
* bugfixes for various path-mangling corner cases
* rox-bookmark support

ROADMAP
The preferences block in each script is going to be moved out to a separate file for all of my sh pipe menus, to share a common configuration accross all scripts and wm's.
I also plan on eventually doing a fairly comprehensive rewrite and placing the shared code into function libraries. This may be the final "standalone" version of these scripts. More to come.
obpipes-0.3.tar.bz2
Description 
bz2

 Download 
Filename  obpipes-0.3.tar.bz2 
Filesize  5.17 KB 
Downloaded  257 Time(s) 
obplaces.jpg
 Description   The places menu open, with the file browser opening several submenus...
 Filesize   87.92 KB
 Viewed   395 Time(s)

obplaces.jpg

obmpd.jpg
 Description   The mpd menu open playing some Dylan...
 Filesize   44.61 KB
 Viewed   424 Time(s)

obmpd.jpg

obpipes-0.1.tar.bz2
Description 
bz2

 Download 
Filename  obpipes-0.1.tar.bz2 
Filesize  4.96 KB 
Downloaded  226 Time(s) 

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
matiasbatero


Joined: 11 Oct 2012
Posts: 60
Location: Mar del Plata, Argentina

PostPosted: Thu 24 Oct 2013, 22:15    Post subject: WMOptical
Subject description: My pipe-menu contribution
 

Hi! Great suite!! Smile

This is my contribution, Hope that be usefull for someone!
I post my pipe menu in a few places, but none reported me nothing.
I think that nobody have been tested Sad

Name: Image builder for CD/DVD/BD
Description: Builds a binary image (like clonation) to disk from selected devices. (.bin) of non-protected cds.
CD's = image.bin + .cue + .toc
DVD/BD = image.bin

This project was designed to be more big (original idea). For this reason, this pipe-menu is included in one infrastructure of more general scripts.
This concept was created to allow add characteristics, features, plugins etc, more easily. For example, this package include a "openbox-binding" to draw menus using functions, OSD-wrapper etc.

Well, no more words.
Dependencies: yad, core-utils, udisks, cdrdao
2013-08-05--1375755764_444x148_scrot.png
 Description   Tray-Bar integration, dinamic progress icon, interactive tooltip, abort action in menu
 Filesize   42.84 KB
 Viewed   228 Time(s)

2013-08-05--1375755764_444x148_scrot.png

2013-08-05--1375755841_383x119_scrot.png
 Description   Notify-OSD integration
 Filesize   21.5 KB
 Viewed   225 Time(s)

2013-08-05--1375755841_383x119_scrot.png

2013-08-05--1375755552_449x72_scrot.png
 Description   pipe-menu in action
 Filesize   22.63 KB
 Viewed   229 Time(s)

2013-08-05--1375755552_449x72_scrot.png

wm_optical.tar.gz
Description  Wm_optical pipemenu package.
gz

 Download 
Filename  wm_optical.tar.gz 
Filesize  43.66 KB 
Downloaded  134 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0527s ][ Queries: 13 (0.0043s) ][ GZIP on ]