~572, p575, and p57577: three spins/updates of Precise 5.7.1

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

latest stable and developmental wines as sfs packages

#41 Post by Puppus Dogfellow »

w162.sfs [winenv-1.2.pet, wine_menu-1.pet, wine_extras-v2.pet, wine-1.6.2-i486_v2.1.pet, wine_DEV-1.6.2-i486_v2.pet, wine_DOC-1.6.2-i486.pet]

w1738.sfs [winenv-1.2.pet, wine_menu-1.pet, wine_extras-v2.pet, wine-1.7.38-i486_v2.1.pet, wine_DEV-1.7.38-i486_v2.pet, wine_DOC-1.7.38-i486.pet]

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

Geany Master Blaster, or Geany Line Launcher, or VTG...

#42 Post by Puppus Dogfellow »

you can launch anything from within any geany document as if it were itself a menu or a terminal. below is a screenshot of partview being opened by clicking on the VTG button i added to the top middle hideaway tray. place the cursor and the line gets sent to the terminal, focus is switched to the terminal, the line is entered, and then focus is returned/the program, script, folder etc is run, launched, opened.

Image

you'll need the following script and some tweaking of the geany menu.

Code: Select all

#!/bin/sh
# name vtg and place in /root/my-applications/bin
# requires xdotool (included in this series) and a few menu adjustments 
#geany as launcher and bookmarks manager
#open programs, files and web sites; reshape and resize windows from within a text document.
xdotool key ctrl+9 ctrl+8 Return ctrl+7

 #for jwm root menu(s): <Program label="Geany VTE Line Launch" icon="">vtg</Program>
 #or <Program label="VTG"">vtg</Program> .   for a tray button you could use   <TrayButton popup="geanylauncher" label="VTG">exec:vtg</TrayButton> . add an icon (icon="path/to/icon.jpg.or.whatever") for it if you like.

at this point, this xdotool script is pointing to shortcuts in geany which do not yet exist. to make them,

edit > preferences > keybindings (or help > keyboard shortcuts > edit)

step 1 send selection (or line--just place the cursor; you don't need to highlight anything) to terminal:
ctrl+9 (this one is already built in as F4--you can set the shortcuts to whatever you like--just keep the order the same as in the script above)

step 2 switch focus to terminal:
ctrl+8

step 3 enter command obtained in step 1
Return

step 4 return focus to page/close message window and terminal so that you're back to the original page as it was before you launched the script. you'll need to alter this if you want to keep the terminal open or otherwise change the interface:
ctrl+7


you'll need to find the slots for the above commands and set the shortcut keys (the pop up will call ctrl primary), optionally leaving F4 and changing the ctrl+9 in the script above to match.


the following line of code launched with VTG will make a text file of all the files/paths in /root/my-applications/bin (swap out the blue for the location of your choice) and then open it (named on the fly--choose whatever you like for the location and name in red) in geany:

find $PWD /root/my-applications/bin > /root/myapbin1; geany /root/myapbin1


the following code will automatically take any path highlighted and convert it into a rox bookmark (when activated with VTG, whether it's a menu item, tray button, or panel script--shortcut keys (other than those that access the menu) don't work very well with this script so i suggest putting VTG atop a root menu for quick key access). you can highlight multiple lines at a time and the script will correctly place the "rox" and quotation marks where they need to be.

Code: Select all

#! /bin/sh
# based on ht-b by miriam
# name rxmkr and place in /root/my-applications/bin
# turn a path into a rox bookmark when used with nwpt/vtg
# swap out the rox to have other file managers open the folder/other # programs open the file.

xclip -o | sed 's/^/rox "/' | sed 's/$/\"/' | xclip -selection clipboard
xdotool type "`xclip -out -selection clipboard`"

#<Program label="RXMKR">vtg</Program> as menu suggestion
right clicking will give you an option to open items as text--always works if the path is full. the above code places quotation marks around the path--not really necessary unless there are spaces in some program titles. highlight and use the find and replace function (search menu ...> replace selected) to have things other than rox open up the files. make copies to have it set so that a file can be opened by a variety of things at a click. to launch the bulk of puppy's programs, you don't need the path, just the name, usually in lower case.

Code: Select all

ls /usr/share/applications > /root/pupaps1; geany  /root/pupaps1 
gives you most as a list opened in geany, but you'll need to ditch the .desktop part of the file names and the capitalization.

edit > select all > format > toggle case and search > find and replace > [.desktop] [space, blank, return all work] > whole document

and you be able to launch puppy's apps from menus that can be altered and expanded as you're using them.

to get an idea of the control this gives you, play around with the following code:

Code: Select all

#!/bin/sh
# pos+
wmctrl -r :SELECT: -b remove,maximized_vert,maximized_horz && wmctrl -r :SELECT: -e 0,1176,460,-1,-1


# value of -1 means don't change; gravity, position on x axis, position on y axis, width of x, height of y.
#currently set to snap windows between two monitors. change :SELECT: to :ACTIVE: to have it work on the currently activated window rather than giving you cross hairs to zap windows with.
#requires wmctrl.
# wmctrl -G -l  gives you geometry of current windows--use as a guide. 
1176,460,-1,-1 are x position, y position, width of x, and height of y respectively. you can change the figures to whatever you like, hit VTG, and the next window you click will be forced into your chosen size and position, even if the document from which you are controlling things hasn't yet been saved.

helpful hint: make shortcut menus from your bash-history and gexec history files. use program1| program2| program3| to launch things simultaneously as the VTE will ordinarily wait for something to be closed before launching the next thing. the program path/to/file1 path/to/file2 path/to/file3 format will allow most applications to open more than one file at a click.


enjoy.
:D

edit: instead of hunting through the keyboard editing popup, you could just use the file from this post, which may prove easier in the long run.

also, a better way of getting the executables from the .desktop files has come along.

scroll down a little for a sample menu/crib sheet

updated nwp/vgt help page (aka the aforementioned crib sheet) also now available here
Last edited by Puppus Dogfellow on Sun 12 Jul 2015, 08:04, edited 3 times in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

updates, tweaks, finds

#43 Post by Puppus Dogfellow »

OscarTalks has updated the palemoon packages:

palemoon-25.3.0-i686.sfs and palemoon-25.3.0-i686.pet

and kost@s' pepperflash pet works well with both palemoon and firefox:

http://www.murga-linux.com/puppy/viewto ... 241#834241
________

regarding the Geany MasterBlaster, the workaround for the lack of a true shortcut key is more xdotool: assuming top placement on the root one menu for the vtg script,

Code: Select all

<Key mask="A" key="z">exec:xdotool key alt+1 Down Return</Key>
or

Code: Select all

<Key mask="A" key="BackSpace">exec:xdotool key alt+1 Down Return</Key>	
added to jwmrc-personal makes it more comfortable to use.

Code: Select all

<Key mask="AC" key="g">geany /path/to/1or/Morecustom/menus/textfiles</Key>
makes a nice launcher for both geany and the vtg function. you could use one menu/page for websites, one for directories, another to launch other launchers or menu files--you could also use geany's ctrl+l (go to line) or ctrl+f (find) functions to go quickly to the specific shortcut/line you want. if you use the applications and bins folders through the rox bookmarks (ctrl+b) or speeddials (# once set with the control key) and/or the terminal shortcuts to launch things, you're already pretty fast and the only real advantage of the geany launcher comes from its ability to customize and arrange shortcuts on the fly. It's also pretty good for keeping around useful code, for example the multiple copies script and the make a directory a list of paths script--the latter in particular makes sense to launch from geany itself as that's where you'll be applying the make this a bookmark scripts. you could also set up the NWP to spit out codes you may find useful but not particularly memorable.

----

on a related note, SFR and L18L have come up with a new launcher

----



on another related note, make your own java sfs using the linked script by utenand the execute (cogwheel) button on the geany toolbar.
_______________


move and click the mouse with the arrow keys
Last edited by Puppus Dogfellow on Thu 02 Apr 2015, 00:09, edited 2 times in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

all menus on every menu

#44 Post by Puppus Dogfellow »

if you've converted your alt+# shortcuts to access the ten menus, you can use the following menu/submenu to access all of the others from any in which you paste it:

Code: Select all

<Menu label="menus submenu" icon="" height="16">


	<Program label="windows menu" icon="" >xdotool key alt+F2</Program>
<Program label="showdesktop" icon="" >xdotool key alt+shift+Down</Program>
	<Program label="r1" icon="" >xdotool key alt+1</Program>
		<Program label="r2" icon="" >xdotool key alt+2</Program>
	<Program label="r3" icon="" >xdotool key alt+3</Program>
		<Program label="r4" icon="" >xdotool key alt+4</Program>
	<Program label="r5" icon="" >xdotool key alt+5</Program>
	<Program label="r6" icon="" >xdotool key alt+6</Program>
	<Program label="r7" icon="" >xdotool key alt+7</Program>
	<Program label="r8" icon="" >xdotool key alt+8</Program>
	<Program label="r9" icon="" >xdotool key alt+9</Program>
		<Program label="r0" icon="" >xdotool key alt+0</Program>
	
	   </Menu>

the above assumes you haven't overwritten the default shortcut for the windows menu, alt+F2. the shortcut combo for show desktop was added along with a few other arrow button tweaks a post ago. the menu won't be able to access that function without it, though you can assign it to something else--just change xdotool's menu route accordingly.




if you've lost the stock windows menu shortcut to the 24 desktops or some other tweak, you could use

Code: Select all

 <Program label="windows menu" icon="" >xdotool key alt+ctrl+shift+w</Program>

on the menu and add the following shortcut key to /root/.jwmrc/jwmrc-personal:

Code: Select all

<Key mask="SAC" key="w">window</Key>

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

Improvements to the the windows placement menus

#45 Post by Puppus Dogfellow »

placement pack active add on

convert paths to rox bookmarks (etc for vgt)

both compressed folders need to be unpacked and their contents copied to /root/my-applications bin. what follows is three text files that can be inserted into a given menu as a submenu. just use

Code: Select all

 <Include>tags/around/the/name/and/path</Include>
the one for the improved nwp toolbar is universal; the other two are set up for dual and single monitors respectively--you probably don't need to add both, but adding the menu is as simple as copying the includes line to a root#menu file and restarting or reloading jwm. well, you'd also have to copy and place two of the three text files below somewhere on your machine...

the main addition to the nwp is a series of menu items designed to be used with the geany launcher from a few posts ago, which i generally refer to as VTG, since it uses Geany and its built in Virtual Terminal emulator. with scripts such as

Code: Select all

find $PWD /root/my-applications/bin > /root/myapbin1; geany /root/myapbin1
able to make a list of paths in and of any directory (and its subdirectories), it just takes a few characters here and there to turn each path into a rox bookmark or a quick launch for files opened with specific programs or in selected batches.

the two menus for windows placement and sizing:
<JWM>
<Menu label="Single Monitor Menu" icon="" height="16">
<Menu label="for single monitors :ACTIVE:" icon="" height="16">
<Program label="top half" icon="tha.png">tophalf2</Program>
<Program label="bottom half" icon="bha.png">bottomhalf2</Program>
<Program label="left half" icon="lha.png">lefthalf2</Program>
<Program label="right half" icon="rha.png">righthalf2</Program>
<Program label="full" icon="fulla.png">fulla</Program>
<Separator/>
<Program label="upper left quadrant" icon="ul.png">upperleftquadrant2</Program>
<Program label="upper right quadrant" icon="ur.png">upperrightquadrant2</Program>
<Program label="lower left quadrant" icon="ll.png">lowerleftquadrant2</Program>
<Program label="lower right quadrant" icon="lr.png">lowerrightquadrant2</Program>
<Program label="centered" icon="c.png">lp5a</Program>
</Menu>

<Menu label="for single monitors :SELECT:" icon="" height="16">
<Program label="top half" icon="th.png">tophalf</Program>
<Program label="bottom half" icon="bh.png">bottomhalf</Program>
<Program label="left half" icon="lh.png">lefthalf</Program>
<Program label="right half" icon="rh.png">righthalf</Program>
<Program label="full" icon="fulls.png">fulls</Program>
<Separator/>
<Program label="upper left quadrant" icon="uls.png">upperleftquadrant</Program>
<Program label="upper right quadrant" icon="urs.png">upperrightquadrant</Program>
<Program label="lower left quadrant" icon="lls.png">lowerleftquadrant</Program>
<Program label="lower right quadrant" icon="lrs.png">lowerrightquadrant</Program>
<Program label="centered" icon="cs.png">lp5</Program>
</Menu>


<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
<Menu label="Send To" icon="" height="16">
<Program label="1">wmctrl -r :ACTIVE: -t0</Program>
<Program label="2">wmctrl -r :ACTIVE: -t1</Program>
<Program label="3">wmctrl -r :ACTIVE: -t2</Program>
<Program label="4">wmctrl -r :ACTIVE: -t3</Program>
<Program label="5">wmctrl -r :ACTIVE: -t4</Program>
<Program label="6">wmctrl -r :ACTIVE: -t5</Program>
<Program label="7">wmctrl -r :ACTIVE: -t6</Program>
<Program label="8">wmctrl -r :ACTIVE: -t7</Program>
<Program label="9">wmctrl -r :ACTIVE: -t8</Program>
<Program label="10">wmctrl -r :ACTIVE: -t9</Program>
<Program label="11">wmctrl -r :ACTIVE: -t10</Program>
<Program label="12">wmctrl -r :ACTIVE: -t11</Program>
<Program label="13">wmctrl -r :ACTIVE: -t12</Program>
<Program label="14">wmctrl -r :ACTIVE: -t13</Program>
<Program label="15">wmctrl -r :ACTIVE: -t14</Program>
<Program label="16">wmctrl -r :ACTIVE: -t15</Program>
<Program label="17">wmctrl -r :ACTIVE: -t16</Program>
<Program label="18">wmctrl -r :ACTIVE: -t17</Program>
<Program label="19">wmctrl -r :ACTIVE: -t18</Program>
<Program label="20">wmctrl -r :ACTIVE: -t19</Program>
<Program label="21">wmctrl -r :ACTIVE: -t20</Program>
<Program label="22">wmctrl -r :ACTIVE: -t21</Program>
<Program label="23">wmctrl -r :ACTIVE: -t22</Program>
<Program label="24">wmctrl -r :ACTIVE: -t23</Program>

<Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
</Menu>

<Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>

<Menu label="Layer">
<Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
<Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
<Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
</Menu>

</Menu>



<Menu label="Send To, Layer, Stick--SELECT">
<Menu label="Send To">
<Program label="1">wmctrl -r :SELECT: -t0</Program>
<Program label="2">wmctrl -r :SELECT: -t1</Program>
<Program label="3">wmctrl -r :SELECT: -t2</Program>
<Program label="4">wmctrl -r :SELECT: -t3</Program>
<Program label="5">wmctrl -r :SELECT: -t4</Program>
<Program label="6">wmctrl -r :SELECT: -t5</Program>
<Program label="7">wmctrl -r :SELECT: -t6</Program>
<Program label="8">wmctrl -r :SELECT: -t7</Program>
<Program label="9">wmctrl -r :SELECT: -t8</Program>
<Program label="10">wmctrl -r :SELECT: -t9</Program>
<Program label="11">wmctrl -r :SELECT: -t10</Program>
<Program label="12">wmctrl -r :SELECT: -t11</Program>
<Program label="13">wmctrl -r :SELECT: -t12</Program>
<Program label="14">wmctrl -r :SELECT: -t13</Program>
<Program label="15">wmctrl -r :SELECT: -t14</Program>
<Program label="16">wmctrl -r :SELECT: -t15</Program>
<Program label="17">wmctrl -r :SELECT: -t16</Program>
<Program label="18">wmctrl -r :SELECT: -t17</Program>
<Program label="19">wmctrl -r :SELECT: -t18</Program>
<Program label="20">wmctrl -r :SELECT: -t19</Program>
<Program label="21">wmctrl -r :SELECT: -t20</Program>
<Program label="22">wmctrl -r :SELECT: -t21</Program>
<Program label="23">wmctrl -r :SELECT: -t22</Program>
<Program label="24">wmctrl -r :SELECT: -t23</Program>
</Menu>


<Menu label="Layer">
<Program label="below">wmctrl -r :SELECT: -b add,below</Program>
<Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
<Program label="above">wmctrl -r :SELECT: -b add,above</Program>
</Menu>

<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
<Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu>

<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0a</Program>
<Program label="x=100" icon="">x100a</Program>
<Program label="x=200" icon="">x200a</Program>
<Program label="x=300" icon="">x300a</Program>
<Program label="x=400" icon="">x400a</Program>
<Program label="x=500" icon="">x500a</Program>
<Program label="x=600" icon="">x600a</Program>
<Program label="x=700" icon="">x700a</Program>
<Program label="x=800" icon="">x800a</Program>
<Program label="x=900" icon="">x900a</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000a</Program>
<Program label="x=1100" icon="">x1100a</Program>
<Program label="x=1200" icon="">x1200a</Program>
<Program label="x=1300" icon="">x1300a</Program>
<Program label="x=1400" icon="">x1400a</Program>
<Program label="x=1500" icon="">x1500a</Program>
<Program label="x=1600" icon="">x1600a</Program>
<Program label="x=1800" icon="">x1800a</Program>
<Program label="x=2000" icon="">x2000a</Program>
<Program label="x=2200" icon="">x2200a</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0a</Program>
<Program label="y=50" icon="">y50a</Program>
<Program label="y=100" icon="">y100a</Program>
<Program label="y=150" icon="">y150a</Program>
<Program label="y=200" icon="">y200a</Program>
<Program label="y=250" icon="">y250a</Program>
<Program label="y=300" icon="">y300a</Program>
<Program label="y=350" icon="">y350a</Program>
<Program label="y=400" icon="">y400a</Program>
<Program label="y=450" icon="">y450a</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550a</Program>
<Program label="y=650" icon="">y650a</Program>
<Program label="y=750" icon="">y750a</Program>
<Program label="y=850" icon="">y850a</Program>
<Program label="y=950" icon="">y950a</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250a</Program>
<Program label="300" icon="">300a</Program>
<Program label="350" icon="">350a</Program>
<Program label="450" icon="">450a</Program>
<Program label="500" icon="">500a</Program>
<Program label="550" icon="">550a</Program>
<Program label="650" icon="">650a</Program>
<Program label="750" icon="">750a</Program>
<Program label="850" icon="">850a</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>

<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>
</Menu>

</Menu>
</JWM>


name singleM and place in, for example, root. add <Include>/root/singleM</Include> to a menu and restart jwm. next one is the same for double monitors (name doubleM...<Include>/root/doubleM</Include>...)
<JWM>






<Menu label="Double Monitor Menu " icon="" height="16">
<Menu label="for double monitors ACTIVE " icon="" height="16">

<Program label="upper left quadrant of left screen" icon="a1.png">a1</Program>
<Program label="upper right quadrant of left screen " icon="a2.png">a2</Program>
<Program label="lower left quadrant of left screen " icon="a3.png">a3</Program>
<Program label="lower right quadrant of left screen " icon="a4.png">a4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="a5.png">a5</Program>
<Separator/>
<Program label="upper left quadrant of right screen" icon="a6.png">a6</Program>
<Program label="upper right quadrant of right screen" icon="a7.png">a7</Program>
<Program label="lower left quadrant of right screen " icon="a8.png">a8</Program>
<Program label="lower right quadrant of right screen" icon="a9.png">a9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="a10.png">a10</Program>
<Separator/>
<Program label="left half of left screen" icon="b1.png">b1</Program>
<Program label="right half of left screen" icon="b2.png">b2</Program>
<Program label="top half of left screen" icon="b3.png">b3</Program>
<Program label="bottom half of left screen" icon="b4.png">b4</Program>
<Program label="full screen left " icon="b5.png">b5</Program>
<Separator/>
<Program label="left half of right screen" icon="b6.png">b6</Program>
<Program label="right half of right screen" icon="b7.png">b7</Program>
<Program label="top half of right screen " icon="b8.png">b8</Program>
<Program label="bottom half of right screen" icon="b9.png">b9</Program>
<Program label="full screen right " icon="b10.png">b10</Program>

</Menu>



<Menu label="for double monitors: SELECT (crosshairs) version" icon="" height="16">

<Program label="upper left quadrant of left screen" icon="as1.png">as1</Program>
<Program label="upper right quadrant of left screen " icon="as2.png">as2</Program>
<Program label="lower left quadrant of left screen " icon="as3.png">as3</Program>
<Program label="lower right quadrant of left screen " icon="as4.png">as4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="as5.png">as5</Program>
<Separator/>
<Program label="upper left quadrant of right screen" icon="as6.png">as6</Program>
<Program label="upper right quadrant of right screen" icon="as7.png">as7</Program>
<Program label="lower left quadrant of right screen " icon="as8.png">as8</Program>
<Program label="lower right quadrant of right screen" icon="as9.png">as9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="as10.png">as10</Program>
<Separator/>

<Program label="left half of left screen" icon="bs1.png">bs1</Program>
<Program label="right half of left screen" icon="bs2.png">bs2</Program>
<Program label="top half of left screen" icon="bs3.png">bs3</Program>
<Program label="bottom half of left screen" icon="bs4.png">bs4</Program>
<Program label="full screen left " icon="bs5.png">bs5</Program>
<Separator/>
<Program label="left half of right screen " icon="bs6.png">bs6</Program>
<Program label="right half of right screen" icon="bs7.png">bs7</Program>
<Program label="top half of right screen " icon="bs8.png">bs8</Program>
<Program label="bottom half of right screen" icon="bs9.png">bs9</Program>
<Program label="full screen right " icon="bs10.png">bs10</Program>
</Menu>



<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
<Menu label="Send To" icon="" height="16">
<Program label="1">wmctrl -r :ACTIVE: -t0</Program>
<Program label="2">wmctrl -r :ACTIVE: -t1</Program>
<Program label="3">wmctrl -r :ACTIVE: -t2</Program>
<Program label="4">wmctrl -r :ACTIVE: -t3</Program>
<Program label="5">wmctrl -r :ACTIVE: -t4</Program>
<Program label="6">wmctrl -r :ACTIVE: -t5</Program>
<Program label="7">wmctrl -r :ACTIVE: -t6</Program>
<Program label="8">wmctrl -r :ACTIVE: -t7</Program>
<Program label="9">wmctrl -r :ACTIVE: -t8</Program>
<Program label="10">wmctrl -r :ACTIVE: -t9</Program>
<Program label="11">wmctrl -r :ACTIVE: -t10</Program>
<Program label="12">wmctrl -r :ACTIVE: -t11</Program>
<Program label="13">wmctrl -r :ACTIVE: -t12</Program>
<Program label="14">wmctrl -r :ACTIVE: -t13</Program>
<Program label="15">wmctrl -r :ACTIVE: -t14</Program>
<Program label="16">wmctrl -r :ACTIVE: -t15</Program>
<Program label="17">wmctrl -r :ACTIVE: -t16</Program>
<Program label="18">wmctrl -r :ACTIVE: -t17</Program>
<Program label="19">wmctrl -r :ACTIVE: -t18</Program>
<Program label="20">wmctrl -r :ACTIVE: -t19</Program>
<Program label="21">wmctrl -r :ACTIVE: -t20</Program>
<Program label="22">wmctrl -r :ACTIVE: -t21</Program>
<Program label="23">wmctrl -r :ACTIVE: -t22</Program>
<Program label="24">wmctrl -r :ACTIVE: -t23</Program>

<Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
</Menu>

<Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>

<Menu label="Layer">
<Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
<Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
<Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
</Menu>

</Menu>

<Menu label="Send To, Layer, Stick--SELECT">
<Menu label="Send To">
<Program label="1">wmctrl -r :SELECT: -t0</Program>
<Program label="2">wmctrl -r :SELECT: -t1</Program>
<Program label="3">wmctrl -r :SELECT: -t2</Program>
<Program label="4">wmctrl -r :SELECT: -t3</Program>
<Program label="5">wmctrl -r :SELECT: -t4</Program>
<Program label="6">wmctrl -r :SELECT: -t5</Program>
<Program label="7">wmctrl -r :SELECT: -t6</Program>
<Program label="8">wmctrl -r :SELECT: -t7</Program>
<Program label="9">wmctrl -r :SELECT: -t8</Program>
<Program label="10">wmctrl -r :SELECT: -t9</Program>
<Program label="11">wmctrl -r :SELECT: -t10</Program>
<Program label="12">wmctrl -r :SELECT: -t11</Program>
<Program label="13">wmctrl -r :SELECT: -t12</Program>
<Program label="14">wmctrl -r :SELECT: -t13</Program>
<Program label="15">wmctrl -r :SELECT: -t14</Program>
<Program label="16">wmctrl -r :SELECT: -t15</Program>
<Program label="17">wmctrl -r :SELECT: -t16</Program>
<Program label="18">wmctrl -r :SELECT: -t17</Program>
<Program label="19">wmctrl -r :SELECT: -t18</Program>
<Program label="20">wmctrl -r :SELECT: -t19</Program>
<Program label="21">wmctrl -r :SELECT: -t20</Program>
<Program label="22">wmctrl -r :SELECT: -t21</Program>
<Program label="23">wmctrl -r :SELECT: -t22</Program>
<Program label="24">wmctrl -r :SELECT: -t23</Program>
</Menu>


<Menu label="Layer">
<Program label="below">wmctrl -r :SELECT: -b add,below</Program>
<Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
<Program label="above">wmctrl -r :SELECT: -b add,above</Program>
</Menu>

<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
<Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu>
<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0a</Program>
<Program label="x=100" icon="">x100a</Program>
<Program label="x=200" icon="">x200a</Program>
<Program label="x=300" icon="">x300a</Program>
<Program label="x=400" icon="">x400a</Program>
<Program label="x=500" icon="">x500a</Program>
<Program label="x=600" icon="">x600a</Program>
<Program label="x=700" icon="">x700a</Program>
<Program label="x=800" icon="">x800a</Program>
<Program label="x=900" icon="">x900a</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000a</Program>
<Program label="x=1100" icon="">x1100a</Program>
<Program label="x=1200" icon="">x1200a</Program>
<Program label="x=1300" icon="">x1300a</Program>
<Program label="x=1400" icon="">x1400a</Program>
<Program label="x=1500" icon="">x1500a</Program>
<Program label="x=1600" icon="">x1600a</Program>
<Program label="x=1800" icon="">x1800a</Program>
<Program label="x=2000" icon="">x2000a</Program>
<Program label="x=2200" icon="">x2200a</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0a</Program>
<Program label="y=50" icon="">y50a</Program>
<Program label="y=100" icon="">y100a</Program>
<Program label="y=150" icon="">y150a</Program>
<Program label="y=200" icon="">y200a</Program>
<Program label="y=250" icon="">y250a</Program>
<Program label="y=300" icon="">y300a</Program>
<Program label="y=350" icon="">y350a</Program>
<Program label="y=400" icon="">y400a</Program>
<Program label="y=450" icon="">y450a</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550a</Program>
<Program label="y=650" icon="">y650a</Program>
<Program label="y=750" icon="">y750a</Program>
<Program label="y=850" icon="">y850a</Program>
<Program label="y=950" icon="">y950a</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250a</Program>
<Program label="300" icon="">300a</Program>
<Program label="350" icon="">350a</Program>
<Program label="450" icon="">450a</Program>
<Program label="500" icon="">500a</Program>
<Program label="550" icon="">550a</Program>
<Program label="650" icon="">650a</Program>
<Program label="750" icon="">750a</Program>
<Program label="850" icon="">850a</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>

<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>
</Menu>
</Menu>
</JWM>

the nwp menu now includes the codes above for making multiple copies of files and directories in addition to the highlight and make a bookmark scripts and the mine for paths and files/vgt-bookmark helper scripts. it's also got the panels sets, the pinboards, the menus submenu, and the jwm10config quickswitch menu:
<JWM>
<Menu label="NWP+" icon="" height="16">
<Program label="VTG" icon="">vtg</Program>


<Menu label="menus submenu" icon="" height="16">
<Include>/root/places_submenu</Include>
<Desktops></Desktops>
<Program label="ROXTerm" icon="roxterm.xpm">roxterm</Program>
<Program label="winswitcher" icon="">winswitcher</Program>
<Program label="windows menu" icon="" >xdotool key alt+ctrl+shift+w</Program>
<Program label="showdesktop" icon="" >xdotool key alt+shift+Down</Program>
<Program label="r1" icon="" >xdotool key alt+1</Program>
<Program label="r2" icon="" >xdotool key alt+2</Program>
<Program label="r3" icon="" >xdotool key alt+3</Program>
<Program label="r4" icon="" >xdotool key alt+4</Program>
<Program label="r5" icon="" >xdotool key alt+5</Program>
<Program label="r6" icon="" >xdotool key alt+6</Program>
<Program label="r7" icon="" >xdotool key alt+7</Program>
<Program label="r8" icon="" >xdotool key alt+8</Program>
<Program label="r9" icon="" >xdotool key alt+9</Program>
<Program label="r0" icon="" >xdotool key alt+0</Program>
<Program label="3but" icon="">3but</Program>




</Menu>

<Menu label="make bookmarks and launchables" icon="" height="16">
<Program label="template: list dir paths as txt" icon="">xdotool type 'find $PWD /root/my-applications/bin > /root/myapbin1; geany /root/myapbin1'</Program>
<Program label="template: list dir contents by name (all, w/ subdir)" icon="">xdotool type 'ls -a -R /usr/share/applications > /root/pupaps1; geany /root/pupaps1'</Program>
<Program label="template: list dir contents by name" icon="">xdotool type 'ls /usr/share/applications > /root/pupaps1; geany /root/pupaps1'</Program>

<Program label="to open with rox" icon="">rxmkr</Program>

<Program label="to open with geany" icon="">gmkr</Program>
<Program label="to open with leafpad" icon="">lpmkr</Program>

<Program label="to open with libreoffice--writer" icon="">lowmkr</Program>
<Program label="plain quotation marks around path" icon="">plainquotesmkr</Program>

<Program label="to open with firefox" icon="">ffmkr</Program>
<Program label="to open with palemoon" icon="">pmmkr</Program>
<Program label="to open with seamonkey " icon="">smmkr</Program>

<Program label="to open with mtpaint" icon="">mtmkr</Program>
<Program label="to open with viewnoir" icon="">vnmkr</Program>

<Program label="to open with vlc" icon="">vlcmkr</Program>
</Menu>




<Menu label="NWPT" icon="" height="16">

<Program label="poetry" icon="">htmltemplatepref</Program>
<Program label="other" icon="">htmltxtwptemplate</Program>
<Program label="#!/bin/sh" icon="">scripttemplate</Program>
<Separator/>



<Menu label="paste and place" icon="" height="16">
<Program label="Bold" icon="">swnwpb</Program>
<Program label="Italics" icon="">swnwpi</Program>
<Program label="Underline" icon="">swnwpu</Program>
<Program label="Subscript" icon="">swnwpsub</Program>
<Program label="Superscript" icon="">swnwpsup</Program>
<Program label="Strikethrough" icon="">swnwpstrk</Program>
<Program label="Big" icon="">swnwpbig</Program>
<Program label="Small" icon="">swnwpsm</Program>
<Program label="linebreak" icon="">linebreak</Program>

<Program label="comment" icon="">snwpcomment</Program>

<Separator/>
<Program label="preserved breaks and spaces" icon="">preotry</Program>
<Separator/>
<Program label="paragraph" icon="">paragraph</Program>
<Program label="parleft" icon="">parleft</Program>
<Program label="parright" icon="">parright</Program>
<Program label="parcenter" icon="">parcenter</Program>
<Program label="parjustify" icon="">parjustify</Program>
<Separator/>
<Program label="nwpbkmrk" icon="">nwpbkmrk</Program>
<Program label="blockquote" icon="">nwpblockquote</Program>
<Program label="quote" icon="">quote</Program>
<Separator/>
<Program label="heading1" icon="">snwph1</Program>
<Program label="heading2" icon="">snwph2</Program>
<Program label="heading3" icon="">snwph3</Program>
<Program label="heading4" icon="">snwph4</Program>
<Program label="heading5" icon="">snwph5</Program>
<Program label="heading6" icon="">snwph6</Program>
</Menu>



<Separator/>
<Program label="xpad" icon="">xpad</Program>
<Program label="geany" icon="">geany</Program>
<Program label="leafpad" icon="">leafpad</Program>

<Menu label="VGT and NWP, help and sup" icon="" height="16">
<Program label="NWP help" icon="">geany /root/my-applications/bin/nwp.readme</Program>
<Program label="xpad--backup" icon="">xpad-backup</Program>
<Program label="xpad--clear" icon="">xpad-clear</Program>
<Program label="5 copies template--directories">xdotool type 'for f in TTT{2..6} ; do cp -r TTT ; done'</Program>
<Program label="5 copies template">xdotool type 'for f in TTT{2..6}.txt ; do cp TTT.txt ; done'</Program>
<Program label="Search_files_databases" icon="/usr/share/icons/sportsbag32-vert.png">/root/my-applications/SLocate/SrchFilesLst-01l.sh</Program>
<Program label="Update_files_databases" icon="/usr/share/icons/sportsbag32-vert.png">/root/my-applications/SLocate/MntFilesLst-01l.sh</Program>
<Program label="pfind" icon="">pfind</Program>
<Program label="recoll" icon="">recoll</Program>
<Program label="pm css" icon="">palemoon http://www.w3schools.com/html/html_css.asp</Program>
<Program label="ffdrive" icon="">firefox https://docs.google.com/document/u/0/</Program>
<Program label="pmdrive" icon="">palemoon https://docs.google.com/document/u/0/</Program>
<Program label="goldendict" icon="">goldendict</Program>
<Program label="gFnRenam" icon="">gfnrename</Program>
<Program label="gfontsel" icon="">gfontsel</Program>
<Program label="gcolor" icon="">gcolor2</Program>
</Menu>

<Separator/>
<Menu label="highlight text then click to apply" icon="" height="16">
<Program label="preserved breaks and spaces" icon="">preformatted</Program>
<Program label="heading1" icon="">nwph1</Program>
<Program label="heading2" icon="">nwph2</Program>
<Program label="heading3" icon="">nwph3</Program>
<Program label="heading4" icon="">nwph4</Program>
<Program label="heading5" icon="">nwph5</Program>
<Program label="heading6" icon="">nwph6</Program>
<Separator/>

<Program label="comment" icon="">nwpcomment</Program>

<Program label="Bold" icon="">nwpb</Program>
<Program label="Italics" icon="">nwpi</Program>
<Program label="Underline" icon="">nwpu</Program>
<Program label="Subscript" icon="">nwpsub</Program>
<Program label="Superscript" icon="">nwpsup</Program>
<Program label="Strikethrough" icon="">nwpstrk</Program>
<Program label="Big" icon="">nwpbig</Program>
<Program label="Small" icon="">nwpsm</Program>
<Program label="paragraph" icon="">paragraphhl</Program>
<Program label="nwpleft" icon="">nwpleft</Program>
<Program label="nwpright" icon="">nwpright</Program>
<Program label="nwpcenter" icon="">nwpcenter</Program>
<Program label="nwpjustify" icon="">nwpjust</Program>
</Menu>

</Menu>

<Menu label="jwm config switch" icon="" height="16">
<Program label="gjwm">gjwm</Program>
<Program label="my3">my3</Program>
<Program label="my30">my30</Program>
<Program label="my31">my31</Program>
<Program label="my32">my32</Program>
<Program label="my33">my33</Program>
<Program label="my34">my34</Program>
<Program label="my35">my35</Program>
<Program label="my36">my36</Program>
<Program label="my37">my37</Program>
<Program label="my38">my38</Program>
<Program label="my39">my39</Program>
<Program label="orig3">orig3</Program>
</Menu>

<Menu label="panels and pinboards" icon="" height="16">
<Menu label="panels" icon="" height="16">
<Program label="p1">p1</Program>
<Program label="p2">p2</Program>
<Program label="p3">p3</Program>
<Program label="p4">p4</Program>
<Program label="p5">p5</Program>
<Program label="p6">p6</Program>
<Program label="p7">p7</Program>
<Program label="p8">p8</Program>
<Program label="p9">p9</Program>
</Menu>

<Menu label="pinboards" icon="" height="16">
<Program label="pp1">pp1</Program>
<Program label="pp2">pp2</Program>
<Program label="ppold">ppo</Program>
<Program label="pp3">pp3</Program>
<Program label="pp4">pp4</Program>
<Program label="pp5">pp5</Program>
<Program label="pp6">pp6</Program>
</Menu>
</Menu>

</JWM>
name this one nwp415, place in root, get it on the menus with <Include>/root/nwp415</Include> and a jwm -restart or jwm -reload entered into the terminal or launched from VTG. (you could also use the the gui).
Last edited by Puppus Dogfellow on Fri 17 Apr 2015, 01:09, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

alternative menus for single and double monitors

#46 Post by Puppus Dogfellow »

name this one dubmon2, place in root, get it on the menus with <Include>/root/dubmon2</Include> and a jwm -restart or jwm -reload entered into the terminal or launched from VTG. (you could also use the the gui):

Code: Select all

<JWM>

<Menu label="dub mon 2 Double Monitors Menu" icon="" height="16">
	<Menu label="for double monitors ACTIVE " icon="" height="16">

<Program label="upper left quadrant of left screen" icon="a1.png">a1</Program>
<Program label="upper right quadrant of left screen " icon="a2.png">a2</Program>
<Program label="lower left quadrant of left screen " icon="a3.png">a3</Program>
<Program label="lower right quadrant of left screen " icon="a4.png">a4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="a5.png">a5</Program>
 <Separator/>
<Program label="upper left quadrant of right screen" icon="a6.png">a6</Program>
<Program label="upper right quadrant of right screen" icon="a7.png">a7</Program>
<Program label="lower left quadrant of right screen " icon="a8.png">a8</Program>
<Program label="lower right quadrant of right screen" icon="a9.png">a9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="a10.png">a10</Program>
 <Separator/>
 
<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">   
<Program label="x=0" icon="">x0a</Program>
<Program label="x=100" icon="">x100a</Program>
<Program label="x=200" icon="">x200a</Program>
<Program label="x=300" icon="">x300a</Program>
<Program label="x=400" icon="">x400a</Program>
<Program label="x=500" icon="">x500a</Program>
<Program label="x=600" icon="">x600a</Program>
<Program label="x=700" icon="">x700a</Program>
<Program label="x=800" icon="">x800a</Program>
<Program label="x=900" icon="">x900a</Program>
<Menu label="more" icon="" height="16"> 
<Program label="x=1000" icon="">x1000a</Program>
<Program label="x=1100" icon="">x1100a</Program>
<Program label="x=1200" icon="">x1200a</Program>
<Program label="x=1300" icon="">x1300a</Program>
<Program label="x=1400" icon="">x1400a</Program>
<Program label="x=1500" icon="">x1500a</Program>
<Program label="x=1600" icon="">x1600a</Program>
<Program label="x=1800" icon="">x1800a</Program>
<Program label="x=2000" icon="">x2000a</Program>
<Program label="x=2200" icon="">x2200a</Program>
</Menu> 
</Menu>
  
<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0a</Program>
<Program label="y=50" icon="">y50a</Program>
<Program label="y=100" icon="">y100a</Program>
<Program label="y=150" icon="">y150a</Program>
<Program label="y=200" icon="">y200a</Program>
<Program label="y=250" icon="">y250a</Program>
<Program label="y=300" icon="">y300a</Program>
<Program label="y=350" icon="">y350a</Program>
<Program label="y=400" icon="">y400a</Program>
<Program label="y=450" icon="">y450a</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550a</Program>
<Program label="y=650" icon="">y650a</Program>
<Program label="y=750" icon="">y750a</Program>
<Program label="y=850" icon="">y850a</Program>
<Program label="y=950" icon="">y950a</Program>
</Menu> 
</Menu>  

 <Menu label="Square" icon="" height="16"> 
<Program label="250" icon="">250a</Program>
<Program label="300" icon="">300a</Program>
<Program label="350" icon="">350a</Program>
<Program label="450" icon="">450a</Program>
<Program label="500" icon="">500a</Program>
<Program label="550" icon="">550a</Program>
<Program label="650" icon="">650a</Program>
<Program label="750" icon="">750a</Program>
<Program label="850" icon="">850a</Program>   
</Menu>
   
<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
 </Menu>  
        
<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu> 
   
<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>

    <Separator/>
 
<Program label="left half of left screen" icon="b1.png">b1</Program>
<Program label="right half of left screen" icon="b2.png">b2</Program>
<Program label="top half of left screen" icon="b3.png">b3</Program>
<Program label="bottom half of left screen" icon="b4.png">b4</Program>
<Program label="full screen left " icon="b5.png">b5</Program>
 <Separator/>
<Program label="left half of right screen" icon="b6.png">b6</Program>
<Program label="right half of right screen" icon="b7.png">b7</Program>
<Program label="top half of right screen " icon="b8.png">b8</Program>
<Program label="bottom half of right screen" icon="b9.png">b9</Program>
<Program label="full screen right  " icon="b10.png">b10</Program>

<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
 <Menu label="Send To" icon="" height="16">
   <Program label="1">wmctrl -r :ACTIVE: -t0</Program>
   <Program label="2">wmctrl -r :ACTIVE: -t1</Program>
      <Program label="3">wmctrl -r :ACTIVE: -t2</Program>
   <Program label="4">wmctrl -r :ACTIVE: -t3</Program>
      <Program label="5">wmctrl -r :ACTIVE: -t4</Program>
   <Program label="6">wmctrl -r :ACTIVE: -t5</Program>
      <Program label="7">wmctrl -r :ACTIVE: -t6</Program>
   <Program label="8">wmctrl -r :ACTIVE: -t7</Program>
      <Program label="9">wmctrl -r :ACTIVE: -t8</Program>
   <Program label="10">wmctrl -r :ACTIVE: -t9</Program>
         <Program label="11">wmctrl -r :ACTIVE: -t10</Program>
   <Program label="12">wmctrl -r :ACTIVE: -t11</Program>
      <Program label="13">wmctrl -r :ACTIVE: -t12</Program>
   <Program label="14">wmctrl -r :ACTIVE: -t13</Program>
      <Program label="15">wmctrl -r :ACTIVE: -t14</Program>
   <Program label="16">wmctrl -r :ACTIVE: -t15</Program>
      <Program label="17">wmctrl -r :ACTIVE: -t16</Program>
   <Program label="18">wmctrl -r :ACTIVE: -t17</Program>
      <Program label="19">wmctrl -r :ACTIVE: -t18</Program>
   <Program label="20">wmctrl -r :ACTIVE: -t19</Program>
   <Program label="21">wmctrl -r :ACTIVE: -t20</Program>
      <Program label="22">wmctrl -r :ACTIVE: -t21</Program>
   <Program label="23">wmctrl -r :ACTIVE: -t22</Program>
      <Program label="24">wmctrl -r :ACTIVE: -t23</Program>
   
    <Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
 </Menu>   

 <Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>
 
 <Menu label="Layer">
   <Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
   <Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
 </Menu>

 </Menu>
</Menu> 
	
	
	
<Menu label="for double monitors: SELECT (crosshairs) version" icon="" height="16">

<Program label="upper left quadrant of left screen" icon="as1.png">as1</Program>
<Program label="upper right quadrant of left screen " icon="as2.png">as2</Program>
<Program label="lower left quadrant of left screen " icon="as3.png">as3</Program>
<Program label="lower right quadrant of left screen " icon="as4.png">as4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="as5.png">as5</Program>
   <Separator/>
<Program label="upper left quadrant of right screen" icon="as6.png">as6</Program>
<Program label="upper right quadrant of right screen" icon="as7.png">as7</Program>
<Program label="lower left quadrant of right screen " icon="as8.png">as8</Program>
<Program label="lower right quadrant of right screen" icon="as9.png">as9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="as10.png">as10</Program>
   <Separator/>
   
   
	
<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">   
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16"> 
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu> 
</Menu>
  
<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu> 
</Menu>  

 <Menu label="Square" icon="" height="16"> 
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>   
</Menu>
   
<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
 </Menu>  
        
<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu> 
   
<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>   
<Separator/>

</Menu>
</Menu> 
<Program label="left half of left screen" icon="bs1.png">bs1</Program>
<Program label="right half of left screen" icon="bs2.png">bs2</Program>
<Program label="top half of left screen" icon="bs3.png">bs3</Program>
<Program label="bottom half of left screen" icon="bs4.png">bs4</Program>
<Program label="full screen left " icon="bs5.png">bs5</Program>
   <Separator/>
<Program label="left half of right screen " icon="bs6.png">bs6</Program>
<Program label="right half of right screen" icon="bs7.png">bs7</Program>
<Program label="top half of right screen " icon="bs8.png">bs8</Program>
<Program label="bottom half of right screen" icon="bs9.png">bs9</Program>
<Program label="full screen right  " icon="bs10.png">bs10</Program>


 <Menu label="Send To, Layer, Stick--SELECT">	
 <Menu label="Send To">
   <Program label="1">wmctrl -r :SELECT: -t0</Program>
   <Program label="2">wmctrl -r :SELECT: -t1</Program>
    <Program label="3">wmctrl -r :SELECT: -t2</Program>
    <Program label="4">wmctrl -r :SELECT: -t3</Program> 
    <Program label="5">wmctrl -r :SELECT: -t4</Program> 
    <Program label="6">wmctrl -r :SELECT: -t5</Program>
     <Program label="7">wmctrl -r :SELECT: -t6</Program>
    <Program label="8">wmctrl -r :SELECT: -t7</Program>
    <Program label="9">wmctrl -r :SELECT: -t8</Program>
     <Program label="10">wmctrl -r :SELECT: -t9</Program>
      <Program label="11">wmctrl -r :SELECT: -t10</Program>
   <Program label="12">wmctrl -r :SELECT: -t11</Program>
    <Program label="13">wmctrl -r :SELECT: -t12</Program>
    <Program label="14">wmctrl -r :SELECT: -t13</Program> 
    <Program label="15">wmctrl -r :SELECT: -t14</Program> 
    <Program label="16">wmctrl -r :SELECT: -t15</Program>
     <Program label="17">wmctrl -r :SELECT: -t16</Program>
    <Program label="18">wmctrl -r :SELECT: -t17</Program>
    <Program label="19">wmctrl -r :SELECT: -t18</Program>
     <Program label="20">wmctrl -r :SELECT: -t19</Program>
         <Program label="21">wmctrl -r :SELECT: -t20</Program>
    <Program label="22">wmctrl -r :SELECT: -t21</Program>
    <Program label="23">wmctrl -r :SELECT: -t22</Program>
     <Program label="24">wmctrl -r :SELECT: -t23</Program>
  </Menu>    
     
    
      <Menu label="Layer">
   <Program label="below">wmctrl -r :SELECT: -b add,below</Program>
   <Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :SELECT: -b add,above</Program>
 </Menu>
 
<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
 <Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu> 


</Menu>
</JWM>




name this one singmon2, place in root, get it on the menus with <Include>/root/singmon2</Include> and a jwm -restart or jwm -reload entered into the terminal or launched from VTG. (you could also use the the gui):

Code: Select all

<JWM>
<Menu label="Single Monitor Menu (alt version)" icon="" height="16">
<Menu label="for single monitors :ACTIVE:" icon="" height="16">
<Program label="top half" icon="tha.png">tophalf2</Program>
<Program label="bottom half" icon="bha.png">bottomhalf2</Program>
<Program label="left half" icon="lha.png">lefthalf2</Program>
<Program label="right half" icon="rha.png">righthalf2</Program>
<Program label="full" icon="fulla.png">fulla</Program>
<Separator/>


<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0a</Program>
<Program label="x=100" icon="">x100a</Program>
<Program label="x=200" icon="">x200a</Program>
<Program label="x=300" icon="">x300a</Program>
<Program label="x=400" icon="">x400a</Program>
<Program label="x=500" icon="">x500a</Program>
<Program label="x=600" icon="">x600a</Program>
<Program label="x=700" icon="">x700a</Program>
<Program label="x=800" icon="">x800a</Program>
<Program label="x=900" icon="">x900a</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000a</Program>
<Program label="x=1100" icon="">x1100a</Program>
<Program label="x=1200" icon="">x1200a</Program>
<Program label="x=1300" icon="">x1300a</Program>
<Program label="x=1400" icon="">x1400a</Program>
<Program label="x=1500" icon="">x1500a</Program>
<Program label="x=1600" icon="">x1600a</Program>
<Program label="x=1800" icon="">x1800a</Program>
<Program label="x=2000" icon="">x2000a</Program>
<Program label="x=2200" icon="">x2200a</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0a</Program>
<Program label="y=50" icon="">y50a</Program>
<Program label="y=100" icon="">y100a</Program>
<Program label="y=150" icon="">y150a</Program>
<Program label="y=200" icon="">y200a</Program>
<Program label="y=250" icon="">y250a</Program>
<Program label="y=300" icon="">y300a</Program>
<Program label="y=350" icon="">y350a</Program>
<Program label="y=400" icon="">y400a</Program>
<Program label="y=450" icon="">y450a</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550a</Program>
<Program label="y=650" icon="">y650a</Program>
<Program label="y=750" icon="">y750a</Program>
<Program label="y=850" icon="">y850a</Program>
<Program label="y=950" icon="">y950a</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250a</Program>
<Program label="300" icon="">300a</Program>
<Program label="350" icon="">350a</Program>
<Program label="450" icon="">450a</Program>
<Program label="500" icon="">500a</Program>
<Program label="550" icon="">550a</Program>
<Program label="650" icon="">650a</Program>
<Program label="750" icon="">750a</Program>
<Program label="850" icon="">850a</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>
<Separator/>


<Program label="upper left quadrant" icon="ul.png">upperleftquadrant2</Program>
<Program label="upper right quadrant" icon="ur.png">upperrightquadrant2</Program>
<Program label="lower left quadrant" icon="ll.png">lowerleftquadrant2</Program>
<Program label="lower right quadrant" icon="lr.png">lowerrightquadrant2</Program>
<Program label="centered" icon="c.png">lp5a</Program>




<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
<Menu label="Send To" icon="" height="16">
<Program label="1">wmctrl -r :ACTIVE: -t0</Program>
<Program label="2">wmctrl -r :ACTIVE: -t1</Program>
<Program label="3">wmctrl -r :ACTIVE: -t2</Program>
<Program label="4">wmctrl -r :ACTIVE: -t3</Program>
<Program label="5">wmctrl -r :ACTIVE: -t4</Program>
<Program label="6">wmctrl -r :ACTIVE: -t5</Program>
<Program label="7">wmctrl -r :ACTIVE: -t6</Program>
<Program label="8">wmctrl -r :ACTIVE: -t7</Program>
<Program label="9">wmctrl -r :ACTIVE: -t8</Program>
<Program label="10">wmctrl -r :ACTIVE: -t9</Program>
<Program label="11">wmctrl -r :ACTIVE: -t10</Program>
<Program label="12">wmctrl -r :ACTIVE: -t11</Program>
<Program label="13">wmctrl -r :ACTIVE: -t12</Program>
<Program label="14">wmctrl -r :ACTIVE: -t13</Program>
<Program label="15">wmctrl -r :ACTIVE: -t14</Program>
<Program label="16">wmctrl -r :ACTIVE: -t15</Program>
<Program label="17">wmctrl -r :ACTIVE: -t16</Program>
<Program label="18">wmctrl -r :ACTIVE: -t17</Program>
<Program label="19">wmctrl -r :ACTIVE: -t18</Program>
<Program label="20">wmctrl -r :ACTIVE: -t19</Program>
<Program label="21">wmctrl -r :ACTIVE: -t20</Program>
<Program label="22">wmctrl -r :ACTIVE: -t21</Program>
<Program label="23">wmctrl -r :ACTIVE: -t22</Program>
<Program label="24">wmctrl -r :ACTIVE: -t23</Program>

<Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
</Menu>

<Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>

<Menu label="Layer">
<Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
<Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
<Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
</Menu>

</Menu>




</Menu>

<Menu label="for single monitors :SELECT:" icon="" height="16">
<Program label="top half" icon="th.png">tophalf</Program>
<Program label="bottom half" icon="bh.png">bottomhalf</Program>
<Program label="left half" icon="lh.png">lefthalf</Program>
<Program label="right half" icon="rh.png">righthalf</Program>
<Program label="full" icon="fulls.png">fulls</Program>

<Separator/>

<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>
</Menu>


<Separator/>

</Menu>
<Program label="upper left quadrant" icon="uls.png">upperleftquadrant</Program>
<Program label="upper right quadrant" icon="urs.png">upperrightquadrant</Program>
<Program label="lower left quadrant" icon="lls.png">lowerleftquadrant</Program>
<Program label="lower right quadrant" icon="lrs.png">lowerrightquadrant</Program>
<Program label="centered" icon="cs.png">lp5</Program>



<Menu label="Send To, Layer, Stick--SELECT">
<Menu label="Send To">
<Program label="1">wmctrl -r :SELECT: -t0</Program>
<Program label="2">wmctrl -r :SELECT: -t1</Program>
<Program label="3">wmctrl -r :SELECT: -t2</Program>
<Program label="4">wmctrl -r :SELECT: -t3</Program>
<Program label="5">wmctrl -r :SELECT: -t4</Program>
<Program label="6">wmctrl -r :SELECT: -t5</Program>
<Program label="7">wmctrl -r :SELECT: -t6</Program>
<Program label="8">wmctrl -r :SELECT: -t7</Program>
<Program label="9">wmctrl -r :SELECT: -t8</Program>
<Program label="10">wmctrl -r :SELECT: -t9</Program>
<Program label="11">wmctrl -r :SELECT: -t10</Program>
<Program label="12">wmctrl -r :SELECT: -t11</Program>
<Program label="13">wmctrl -r :SELECT: -t12</Program>
<Program label="14">wmctrl -r :SELECT: -t13</Program>
<Program label="15">wmctrl -r :SELECT: -t14</Program>
<Program label="16">wmctrl -r :SELECT: -t15</Program>
<Program label="17">wmctrl -r :SELECT: -t16</Program>
<Program label="18">wmctrl -r :SELECT: -t17</Program>
<Program label="19">wmctrl -r :SELECT: -t18</Program>
<Program label="20">wmctrl -r :SELECT: -t19</Program>
<Program label="21">wmctrl -r :SELECT: -t20</Program>
<Program label="22">wmctrl -r :SELECT: -t21</Program>
<Program label="23">wmctrl -r :SELECT: -t22</Program>
<Program label="24">wmctrl -r :SELECT: -t23</Program>
</Menu>


<Menu label="Layer">
<Program label="below">wmctrl -r :SELECT: -b add,below</Program>
<Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
<Program label="above">wmctrl -r :SELECT: -b add,above</Program>
</Menu>

<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
<Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu>





</Menu>
</JWM>

the auxiliary windows reposition/resize scripts expand out of the center of the main ten (singmon) or twenty (dubmon) menu entries. the bottoms of the menus are for send to, layer, stick--i think this may be a neater setup, or at least one that's easier to pull apart and use on other menus.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

there's also a new version of the nwp menu

#47 Post by Puppus Dogfellow »

name this one nwp, place in root, get it on the menus with <Include>/root/nwp</Include> and a jwm -restart or jwm -reload entered into the terminal or launched from VTG. (you could also use the the gui):

Code: Select all

<JWM>

<Menu label="nwp" icon="" height="16">

<Program label="poetry" icon="">htmltemplatepref</Program>
<Program label="other" icon="">htmltxtwptemplate</Program>
<Program label="#!/bin/sh" icon="">scripttemplate</Program>
<Separator/>
<Program label="NWP/VGT help" icon="">geany /root/my-applications/bin/nwp.readme /root/my-applications/bin/vgt.readme</Program>
<Menu label="paste and place" icon="" height="16">
<Program label="Bold" icon="">swnwpb</Program>
<Program label="Italics" icon="">swnwpi</Program>
<Program label="Underline" icon="">swnwpu</Program>
<Program label="Subscript" icon="">swnwpsub</Program>
<Program label="Superscript" icon="">swnwpsup</Program>
<Program label="Strikethrough" icon="">swnwpstrk</Program>
<Program label="Big" icon="">swnwpbig</Program>
<Program label="Small" icon="">swnwpsm</Program>
<Program label="linebreak" icon="">linebreak</Program>

<Program label="comment" icon="">snwpcomment</Program>

<Separator/>
<Program label="preserved breaks and spaces" icon="">preotry</Program>
<Separator/>
<Program label="paragraph" icon="">paragraph</Program>
<Program label="parleft" icon="">parleft</Program>
<Program label="parright" icon="">parright</Program>
<Program label="parcenter" icon="">parcenter</Program>
<Program label="parjustify" icon="">parjustify</Program>
<Separator/>
<Program label="nwpbkmrk" icon="">nwpbkmrk</Program>
<Program label="blockquote" icon="">nwpblockquote</Program>
<Program label="quote" icon="">quote</Program>
<Separator/>
<Program label="heading1" icon="">snwph1</Program>
<Program label="heading2" icon="">snwph2</Program>
<Program label="heading3" icon="">snwph3</Program>
<Program label="heading4" icon="">snwph4</Program>
<Program label="heading5" icon="">snwph5</Program>
<Program label="heading6" icon="">snwph6</Program>
</Menu>

<Program label="get css codes" icon="">defaultbrowser http://www.w3schools.com/html/html_css.asp</Program>
<Separator/>

<Program label="5 copies template--directories">xdotool type 'for f in TTT{2..6} ; do cp -r TTT ; done'</Program>

<Program label="5 copies template">xdotool type 'for f in TTT{2..6}.txt ; do cp TTT.txt ; done'</Program>

<Separator/>

<Separator/>
<Menu label="highlight text then click to apply" icon="" height="16">
<Program label="preserved breaks and spaces" icon="">preformatted</Program>
<Program label="heading1" icon="">nwph1</Program>
<Program label="heading2" icon="">nwph2</Program>
<Program label="heading3" icon="">nwph3</Program>
<Program label="heading4" icon="">nwph4</Program>
<Program label="heading5" icon="">nwph5</Program>
<Program label="heading6" icon="">nwph6</Program>
<Separator/>

<Program label="comment" icon="">nwpcomment</Program>

<Program label="Bold" icon="">nwpb</Program>
<Program label="Italics" icon="">nwpi</Program>
<Program label="Underline" icon="">nwpu</Program>
<Program label="Subscript" icon="">nwpsub</Program>
<Program label="Superscript" icon="">nwpsup</Program>
<Program label="Strikethrough" icon="">nwpstrk</Program>
<Program label="Big" icon="">nwpbig</Program>
<Program label="Small" icon="">nwpsm</Program>
<Program label="paragraph" icon="">paragraphhl</Program>
<Program label="nwpleft" icon="">nwpleft</Program>
<Program label="nwpright" icon="">nwpright</Program>
<Program label="nwpcenter" icon="">nwpcenter</Program>
<Program label="nwpjustify" icon="">nwpjust</Program>
</Menu>

<Menu label="NWP supplemental" icon="" height="16">
<Program label="xpad--backup" icon="">xpad-backup</Program>
<Program label="xpad--clear" icon="">xpad-clear</Program>
<Program label="xpad" icon="">xpad</Program>
<Program label="geany" icon="">geany</Program>
<Program label="leafpad" icon="">leafpad</Program>
<Program label="Search_files_databases" icon="/usr/share/icons/sportsbag32-vert.png">/root/my-applications/SLocate/SrchFilesLst-01l.sh</Program>
<Program label="Update_files_databases" icon="/usr/share/icons/sportsbag32-vert.png">/root/my-applications/SLocate/MntFilesLst-01l.sh</Program>
<Program label="pfind" icon="">pfind</Program>
<Program label="recoll" icon="">recoll</Program>

<Program label="pm css" icon="">palemoon http://www.w3schools.com/html/html_css.asp</Program>
<Program label="ffdrive" icon="">firefox https://docs.google.com/document/u/0/</Program>
<Program label="pmdrive" icon="">palemoon https://docs.google.com/document/u/0/</Program>
<Program label="goldendict" icon="">goldendict</Program>
<Program label="gFnRenam" icon="">gfnrename</Program>
<Program label="gfontsel" icon="">gfontsel</Program>
<Program label="gcolor" icon="">gcolor2</Program>
<Program label="overview 1: mnt, partview, treesize" icon="">treesize| rox /mnt| partview</Program>
<Program label="overview2: lxtask, Pup Control" icon="">lxtask| PupControl</Program> 
<Program label="hardinfo" icon="">hardinfo</Program> 


</Menu>


<Menu label="menus submenu" icon="" height="16">

<Program label="VTG" icon="">vtg</Program>



<Program label="showdesktop" icon="" >xdotool key alt+shift+Down</Program>
<Program label="windows menu" icon="" >xdotool key alt+ctrl+shift+w</Program>
<Program label="winswitcher" icon="">winswitcher</Program>
<Include>/root/places_submenu</Include>
<Desktops></Desktops>

<Program label="r1" icon="" >xdotool key alt+1</Program>
<Program label="r2" icon="" >xdotool key alt+2</Program>
<Program label="r3" icon="" >xdotool key alt+3</Program>
<Program label="r4" icon="" >xdotool key alt+4</Program>
<Program label="r5" icon="" >xdotool key alt+5</Program>
<Program label="r6" icon="" >xdotool key alt+6</Program>
<Program label="r7" icon="" >xdotool key alt+7</Program>
<Program label="r8" icon="" >xdotool key alt+8</Program>
<Program label="r9" icon="" >xdotool key alt+9</Program>
<Program label="r0" icon="" >xdotool key alt+0</Program>
<Program label="3but" icon="">3but</Program>

<Menu label="jwm config switch" icon="" height="16">
<Program label="gjwm">gjwm</Program>
<Program label="my3">my3</Program>
<Program label="my30">my30</Program>
<Program label="my31">my31</Program>
<Program label="my32">my32</Program>
<Program label="my33">my33</Program>
<Program label="my34">my34</Program>
<Program label="my35">my35</Program>
<Program label="my36">my36</Program>
<Program label="my37">my37</Program>
<Program label="my38">my38</Program>
<Program label="my39">my39</Program>
<Program label="orig3">orig3</Program>
</Menu>

<Menu label="terminals and launchers" icon="" height="16">
<Program label="ROXTerm" icon="roxterm.xpm">roxterm</Program>
<Program label="lxterminal" icon="console.xpm">lxterm</Program>
<Program label="urxvt" icon="console.xpm">urxvt</Program>
<Program label="rxvt" icon="console.xpm">rxvt</Program>
<Program label="evilvte" icon="console.xpm">evilvte</Program>
<Program label="sakura" icon="console.xpm">sakura</Program>
<Program label="prun" icon="console.xpm">prun</Program>
<Program label="pupcontrol" icon="console.xpm">pcp</Program>
<Program label="grun" icon="console.xpm">grun</Program>
<Program label="gexec" icon="console.xpm">prun</Program>
<Program label="pexec" icon="console.xpm">pcp</Program>
<Program label="findnrun" icon="console.xpm">grun</Program>
<Program label="NWP/VGT help2" icon="">geany /root/my-applications/bin/nwp.readme /root/my-applications/bin/vgt.readme</Program>
<Program label="applications folder" icon="">rox /usr/share/applications</Program>

</Menu>

<Menu label="panels" icon="" height="16">
<Program label="p1">p1</Program>
<Program label="p2">p2</Program>
<Program label="p3">p3</Program>
<Program label="p4">p4</Program>
<Program label="p5">p5</Program>
<Program label="p6">p6</Program>
<Program label="p7">p7</Program>
<Program label="p8">p8</Program>
<Program label="p9">p9</Program>
</Menu>

<Menu label="pinboards" icon="" height="16">
<Program label="pp1">pp1</Program>
<Program label="pp2">pp2</Program>
<Program label="ppold">ppo</Program>
<Program label="pp3">pp3</Program>
<Program label="pp4">pp4</Program>
<Program label="pp5">pp5</Program>
<Program label="pp6">pp6</Program>
</Menu>




<Menu label="make bookmarks and launchables" icon="" height="16">
<Program label="template: list dir paths as txt" icon="">xdotool type 'find $PWD /root/my-applications/bin > /root/myapbin1; geany /root/myapbin1'</Program>
<Program label="template: list dir contents by name (all, w/ subdir)" icon="">xdotool type 'ls -a -R /usr/share/applications > /root/pupaps1; geany /root/pupaps1'</Program>
<Program label="template: list dir contents by name" icon="">xdotool type 'ls /usr/share/applications > /root/pupaps1; geany /root/pupaps1'</Program>

<Program label="to open with rox" icon="">rxmkr</Program>
<Program label="to open with geany" icon="">gmkr</Program>
<Program label="to open with leafpad" icon="">lpmkr</Program>
<Program label="to open with libreoffice--writer" icon="">lowmkr</Program>
<Program label="plain quotation marks around path" icon="">plainquotesmkr</Program>
<Program label="to open with firefox" icon="">ffmkr</Program>
<Program label="to open with palemoon" icon="">pmmkr</Program>
<Program label="to open with seamonkey " icon="">smmkr</Program>
<Program label="to open with mtpaint" icon="">mtmkr</Program>
<Program label="to open with viewnoir" icon="">vnmkr</Program>
<Program label="to open with vlc" icon="">vlcmkr</Program>
</Menu>




 <Menu label="Send To, Layer, Stick--SELECT">	
 <Menu label="Send To">
   <Program label="1">wmctrl -r :SELECT: -t0</Program>
   <Program label="2">wmctrl -r :SELECT: -t1</Program>
    <Program label="3">wmctrl -r :SELECT: -t2</Program>
    <Program label="4">wmctrl -r :SELECT: -t3</Program> 
    <Program label="5">wmctrl -r :SELECT: -t4</Program> 
    <Program label="6">wmctrl -r :SELECT: -t5</Program>
     <Program label="7">wmctrl -r :SELECT: -t6</Program>
    <Program label="8">wmctrl -r :SELECT: -t7</Program>
    <Program label="9">wmctrl -r :SELECT: -t8</Program>
     <Program label="10">wmctrl -r :SELECT: -t9</Program>
      <Program label="11">wmctrl -r :SELECT: -t10</Program>
   <Program label="12">wmctrl -r :SELECT: -t11</Program>
    <Program label="13">wmctrl -r :SELECT: -t12</Program>
    <Program label="14">wmctrl -r :SELECT: -t13</Program> 
    <Program label="15">wmctrl -r :SELECT: -t14</Program> 
    <Program label="16">wmctrl -r :SELECT: -t15</Program>
     <Program label="17">wmctrl -r :SELECT: -t16</Program>
    <Program label="18">wmctrl -r :SELECT: -t17</Program>
    <Program label="19">wmctrl -r :SELECT: -t18</Program>
     <Program label="20">wmctrl -r :SELECT: -t19</Program>
         <Program label="21">wmctrl -r :SELECT: -t20</Program>
    <Program label="22">wmctrl -r :SELECT: -t21</Program>
    <Program label="23">wmctrl -r :SELECT: -t22</Program>
     <Program label="24">wmctrl -r :SELECT: -t23</Program>
  </Menu>    
     
    
      <Menu label="Layer">
   <Program label="below">wmctrl -r :SELECT: -b add,below</Program>
   <Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :SELECT: -b add,above</Program>
 </Menu>
 
<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
 <Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu> 



<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
<Program label="showdesktop" icon="" >xdotool key alt+shift+Down</Program>
<Program label="windows menu" icon="" >xdotool key alt+ctrl+shift+w</Program>

 <Menu label="Send To" icon="" height="16">
   <Program label="1">wmctrl -r :ACTIVE: -t0</Program>
   <Program label="2">wmctrl -r :ACTIVE: -t1</Program>
      <Program label="3">wmctrl -r :ACTIVE: -t2</Program>
   <Program label="4">wmctrl -r :ACTIVE: -t3</Program>
      <Program label="5">wmctrl -r :ACTIVE: -t4</Program>
   <Program label="6">wmctrl -r :ACTIVE: -t5</Program>
      <Program label="7">wmctrl -r :ACTIVE: -t6</Program>
   <Program label="8">wmctrl -r :ACTIVE: -t7</Program>
      <Program label="9">wmctrl -r :ACTIVE: -t8</Program>
   <Program label="10">wmctrl -r :ACTIVE: -t9</Program>
         <Program label="11">wmctrl -r :ACTIVE: -t10</Program>
   <Program label="12">wmctrl -r :ACTIVE: -t11</Program>
      <Program label="13">wmctrl -r :ACTIVE: -t12</Program>
   <Program label="14">wmctrl -r :ACTIVE: -t13</Program>
      <Program label="15">wmctrl -r :ACTIVE: -t14</Program>
   <Program label="16">wmctrl -r :ACTIVE: -t15</Program>
      <Program label="17">wmctrl -r :ACTIVE: -t16</Program>
   <Program label="18">wmctrl -r :ACTIVE: -t17</Program>
      <Program label="19">wmctrl -r :ACTIVE: -t18</Program>
   <Program label="20">wmctrl -r :ACTIVE: -t19</Program>
   <Program label="21">wmctrl -r :ACTIVE: -t20</Program>
      <Program label="22">wmctrl -r :ACTIVE: -t21</Program>
   <Program label="23">wmctrl -r :ACTIVE: -t22</Program>
      <Program label="24">wmctrl -r :ACTIVE: -t23</Program>
   
    <Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
 </Menu>   

 <Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>
 
 <Menu label="Layer">
   <Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
   <Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
 </Menu>

 </Menu>

</Menu>

<Program label="close all active instances of program" icon="">cadi</Program> 
<Program label="close all current desktop's instances of program" icon="">ccdi</Program> 
<Include>/root/singmon2</Include>
<!-- <Include>/root/singmon2</Include> -->
<!-- <Include>/root/dubmon2</Include> -->


<Program label="close all rox windows" icon="">rox -D /</Program> 


</Menu>

</JWM> 

these menus can get perhaps annoyingly long if you play with them too much. here's a workaround for that:

multiple entry points for root menus
Last edited by Puppus Dogfellow on Mon 04 May 2015, 04:37, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

a better way to mine usr/share/applications

#48 Post by Puppus Dogfellow »

either of the following is a better way to get a list of executables for the vgt:

Code: Select all

cd  /usr/share/applications; grep Exec= *.desktop | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/execs2; geany /root/my-documents/Text/execs2

Code: Select all

grep Exec= *.desktop /usr/share/applications | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/vtgapps; geany /root/my-documents/Text/vtgapps
^ build/rebuild list

Code: Select all

geany /root/my-documents/Text/vtgapps

^open the list. you should probably rename the file being opened (and adjust the above line accordingly) so subsequent builds don't overwrite your changes and customizations. add this to the vgt text file or add the path to it to the command that opens the vgt text file(s).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

active and select resize, active send to gexec* shortcuts

#49 Post by Puppus Dogfellow »

sendtoAhwAS.tar.gz

a collection of resizing shortcut scripts to be launched through gexec. enter, for example, h650, to quickly resize the height of the current window to 650 pixels. presets included range from 200-1800 for both height and width, active and select (s is for select--resize scripts default to active window. the earlier scripts are reversed--s15a will send the active window to desktop 15, s15 will give you cross hairs to send the next thing clicked to desktop 15. laa lba lma are layer above, layer below, layer middle; ushade and shade and ustk and stk are active unshade, shade, unstick, and stick respectively. read the readme to see why i recommend gexec over other launchers for the following scripts:

Code: Select all

h1000   h1225s  h1475   h1700s  h325   h550s  h800   s0a   s4a     w1100s  w1350   w1575s  w200   w425s  w675   w900s
h1000s  h1250   h1475s  h1725   h325s  h575   h800s  s10a  s5a     w1125   w1350s  w1600   w200s  w450   w675s  w925
h1025   h1250s  h1500   h1725s  h350   h575s  h825   s11a  s6a     w1125s  w1375   w1600s  w225   w450s  w700   w925s
h1025s  h1275   h1500s  h1750   h350s  h600   h825s  s12a  s7a     w1150   w1375s  w1625   w225s  w475   w700s  w950
h1050   h1275s  h1525   h1750s  h375   h600s  h850   s13a  s8a     w1150s  w1400   w1625s  w250   w475s  w725   w950s
h1050s  h1300   h1525s  h1775   h375s  h625   h850s  s14a  s9a     w1175   w1400s  w1650   w250s  w500   w725s  w975
h1075   h1300s  h1550   h1775s  h400   h625s  h875   s15a  shade   w1175s  w1425   w1650s  w275   w500s  w750   w975s
h1075s  h1325   h1550s  h1800   h400s  h650   h875s  s16a  stk     w1200   w1425s  w1675   w275s  w525   w750s
h1100   h1325s  h1575   h1800s  h425   h650s  h900   s17a  ushade  w1200s  w1450   w1675s  w300   w525s  w775
h1100s  h1350   h1575s  h200    h425s  h675   h900s  s18a  ustk    w1225   w1450s  w1700   w300s  w550   w775s
h1125   h1350s  h1600   h200s   h450   h675s  h925   s19a  w1000   w1225s  w1475   w1700s  w325   w550s  w800
h1125s  h1375   h1600s  h225    h450s  h700   h925s  s1a   w1000s  w1250   w1475s  w1725   w325s  w575   w800s
h1150   h1375s  h1625   h225s   h475   h700s  h950   s20a  w1025   w1250s  w1500   w1725s  w350   w575s  w825
h1150s  h1400   h1625s  h250    h475s  h725   h950s  s21a  w1025s  w1275   w1500s  w1750   w350s  w600   w825s
h1175   h1400s  h1650   h250s   h500   h725s  h975   s22a  w1050   w1275s  w1525   w1750s  w375   w600s  w850
h1175s  h1425   h1650s  h275    h500s  h750   h975s  s23a  w1050s  w1300   w1525s  w1775   w375s  w625   w850s
h1200   h1425s  h1675   h275s   h525   h750s  laa    s24a  w1075   w1300s  w1550   w1775s  w400   w625s  w875
h1200s  h1450   h1675s  h300    h525s  h775   lba    s2a   w1075s  w1325   w1550s  w1800   w400s  w650   w875s
h1225   h1450s  h1700   h300s   h550   h775s  lma    s3a   w1100   w1325s  w1575   w1800s  w425   w650s  w900
(the more or less self-describing titles (or launch codes, if you prefer) do what they say they will).


from 290easybake.sendtoAhwAS.readme:

active and select resize scripts, active send-to, stick, and layer scripts, plus the code i found that made it easy to put together and why i recommend gexec:

grep -lr --exclude-dir=".excludedsub(repeat for each subtree)" -e "SELECT" . | xargs sed -i "s/SELECT/ACTIVE/g"

i used the above to flip a directory worth of files from select scripts to active scripts. here's the reverse, in case you find yourself making your own versions and want to spare yourself from needlessly doubling the effort involved getting a set for each:

grep -lr --exclude-dir=".excludedsub" -e "ACTIVE" . | xargs sed -i "s/ACTIVE/SELECT/g"

adapted from here:

http://www.isaacsukin.com/news/2013/06/ ... -directory

(i used the built-in gnfrename to batch rename a directory of copies, then copied the new scripts back into /root/my-applications/bin. remember to check the permissions if something won't run.)


--------------------
#!/bin/sh
for file in *
do
cat negones >> $file
done#!/bin/sh

#(negones being a file in the same directory consisting of:

#!/bin/sh
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && wmctrl -r :ACTIVE: -e 0,-1,-1,-1,-1

# --a general way to make template files/fill a directory of files with given content)

#adapted from http://www.unix.com/shell-programming-a ... files.html
--------------------

find and replace (space) with (space)/root/my-applications/bin/
touch command to make them real files. [i typed out a series of numbers (200 -1800 by 25s; echo {200..1800..25} would've produced the same sequence), replaced the space (through geany's find and replace function) with space plus path, added touch in front of the resulting list, and got a batch of files that way. used gfnrename to rename copies of the originals in separate folders for height, width, select, and active (the included active send-tos were done with the grep line that starts this readme). included the content with the little script above, placed in and activated from the same folder that held the originals (spare yourself some work and copy them after the content's been added. to do: learn the code for transposing values after commas--that'd make the process more automated still...you could also i'm sure have sed/awk/grep (tr, cut?) take the values from a list and put them in the proper place in each file. this'll do for now...)

--------------------

gfnrename
--------------------

#!/bin/sh
#name fnr
findnrun
#--------------------
#^findnrun is probably the best thing to choose when you can only remember three characters in the title of the program, but it appears to only search the desktops files and so can't launch the terminal shortcuts. it gets a launch shortcut of its own, but i recommend gexec to launch the mini-scripts, whether resize, reposition, or just in general. the lack of a zealous highlight/replace-predict action may mean you need an extra tab-press to complete something like sak into sakura compared to say, gRun, but that same thing allows shorter two and three character scripts to be run without the launcher automatically predicting some longer-titled items, apparently by default interpreting those titles as fragments of longer titles outside /root/my-applications/bin--you won't be able to access them if there's a conflict. gexec's dropdown history window (which you can preload and make into a menu of sorts) also appears to work better than gRun's. i haven't done much testing with Prun, but it seems to work very well for all the non-resize/reposition shortcuts--it fails with them in the same way the terminals do (as discussed earlier, terminals are out for launching the resize reposition scripts on active windows since they'll only be resizing/repositioning themselves).

(findandrun found (gfnrename) pretty easily (top of the list by third character) and allows you to grab the launch name for the vgt...)

worth knowing: pexec works as well as gexec (and also has a pull down menu you can preload).
making the 290 scripts wasn't as tedious as it would seem, and the code i had to find to facilitate things could come in handy so i'm thinking of maybe reserving the above part of this post for the new base file that gets opened when you launch the VGT, maybe adding to the top and bottom, since "yeah, it's in the middle" is a precise enough location for a swath of text this large, and it's not particularly pressing code, at least not compared to rox bookmarks and things like that. most of what will comprise this new file is stuff being worked at this and adjacent posts.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

The Gexec Insane Pexack

#50 Post by Puppus Dogfellow »

The_Gexec_Pexack

The_Gexec_Pexack: 537 K

Total: 537 K (3569 files, 1 directory) (copy or symlink contents to /root/my/applications/bin).

this is basically an upgrade of what i included in /root/my/applications/bin. some of it will overwrite select-to click menu items with active-window entries, and the updated supmon and dubmon menus will follow shortly--the nwp menu isn't affected by the changes.

it'll take a while to go over everything, but here's what's included:
1.0 12.17 15s.0 2s.16 5.19 7s.1 as10 h1165 h1555 h1945 h530 h920 preformatted w1000s w1390s w1780s w365s w750s x1230s x1940s x80s y1470s y370s
100 12.18 15s.1 2s.17 5.2 7s.10 as2 h1165s h1555s h1945s h530s h920s preotry w1005 w1395 w1785 w370 w755 x1240 x1950 x810 y1480 y380
10.0 12.19 15s.10 2s.18 520 7s.11 as3 h1170 h1560 h1950 h535 h925 pv2 w1005s w1395s w1785s w370s w755s x1240s x1950s x810s y1480s y380s
1000 1.22 15s.11 2s.19 5.20 7s.12 as4 h1170s h1560s h1950s h535s h925s quote w1010 w1400 w1790 w375 w760 x1250 x1960 x820 y1490 y390
1000s 12.2 15s.12 2s.2 520s 7s.13 as5 h1175 h1565 h1955 h540 h930 rb w1010s w1400s w1790s w375s w760s x1250s x1960s x820s y1490s y390s
100s 12.20 15s.13 2s.20 5.3 7s.14 as6 h1175s h1565s h1955s h540s h930s rb2 w1015 w1405 w1795 w380 w765 x1260 x1970 x830 y150 y40
10.1 1.23 15s.14 2s.3 530 7s.15 as7 h1180 h1570 h1960 h545 h935 righthalf w1015s w1405s w1795s w380s w765s x1260s x1970s x830s y1500 y400
1010 12.3 15s.15 2s.4 530s 7s.16 as8 h1180s h1570s h1960s h545s h935s righthalf2 w1020 w1410 w1800 w385 w770 x1270 x1980 x840 y1500s y400s
10.10 1.24 15s.16 2s.5 5.4 7s.17 as9 h1185 h1575 h1965 h550 h940 rmkr w1020s w1410s w1800s w385s w770s x1270s x1980s x840s y150s y40s
1010s 12.4 15s.17 2s.6 540 7s.18 b1 h1185s h1575s h1965s h550s h940s roxicon w1025 w1415 w1805 w390 w775 x1280 x1990 x850 y1510 y410
10.11 1.25 15s.18 2s.7 540s 7s.19 b10 h1190 h1580 h1970 h555 h945 roxsys w1025s w1415s w1805s w390s w775s x1280s x1990s x850s y1510s y410s
10.12 12.5 15s.19 2s.8 5.5 7s.2 b2 h1190s h1580s h1970s h555s h945s rr w1030 w1420 w1810 w395 w780 x1290 x20 x860 y1520 y420
10.13 1.26 15s.2 2s.9 550 7s.20 b3 h1195 h1585 h1975 h560 h950 rup w1030s w1420s w1810s w395s w780s x1290s x200 x860s y1520s y420s
10.14 12.6 15s.20 3.0 550a 7s.3 b4 h1195s h1585s h1975s h560s h950s rxmkr w1035 w1425 w1815 w400 w785 x130 x2000 x870 y1530 y430
10.15 1.27 15s.3 300 550s 7s.4 b5 h1200 h1590 h1980 h565 h955 rxt w1035s w1425s w1815s w400s w785s x1300 x2000s x870s y1530s y430s
10.16 12.7 15s.4 300a 5.6 7s.5 b6 h1200s h1590s h1980s h565s h955s s0 w1040 w1430 w1820 w405 w790 x1300s x200s x880 y1540 y440
10.17 1.28 15s.5 300s 560 7s.6 b7 h1205 h1595 h1985 h570 h960 s0a w1040s w1430s w1820s w405s w790s x130s x20s x880s y1540s y440s
10.18 12.8 15s.6 3.1 560s 7s.7 b8 h1205s h1595s h1985s h570s h960s s0s w1045 w1435 w1825 w410 w795 x1310 x210 x890 y1550 y450
10.19 1.29 15s.7 310 5.7 7s.8 b9 h1210 h1600 h1990 h575 h965 s1 w1045s w1435s w1825s w410s w795s x1310s x210s x890s y1550s y450s
10.2 12.9 15s.8 3.10 570 7s.9 blankscript h1210s h1600s h1990s h575s h965s s10 w1050 w1440 w1830 w415 w800 x1320 x220 x90 y1560 y460
1020 12s.0 15s.9 310s 570s 8.0 blnk h1215 h1605 h1995 h580 h970 s10s w1050s w1440s w1830s w415s w800s x1320s x220s x900 y1560s y460s
10.20 12s.1 1.6 3.11 5.8 800 bm h1215s h1605s h1995s h580s h970s s11 w1055 w1445 w1835 w420 w805 x1330 x230 x900s y1570 y470
1020s 12s.10 160 3.12 580 800s bmj h1220 h1610 h200 h585 h975 s11s w1055s w1445s w1835s w420s w805s x1330s x2300 x90s y1570s y470s
10.3 12s.11 16.0 3.13 580s 8.1 botmid3 h1220s h1610s h2000 h585s h975s s12 w1060 w1450 w1840 w425 w810 x1340 x2300s x910 y1580 y480
1030 12s.12 160s 3.14 5.9 810 bottomhalf h1225 h1615 h2000s h590 h980 s12s w1060s w1450s w1840s w425s w810s x1340s x230s x910s y1580s y480s
1030s 12s.13 16.1 3.15 590 8.10 bottomhalf2 h1225s h1615s h200s h590s h980s s13 w1065 w1455 w1845 w430 w815 x1350 x240 x920 y1590 y490
10.4 12s.14 16.10 3.16 590s 810s bs1 h1230 h1620 h205 h595 h985 s13s w1065s w1455s w1845s w430s w815s x1350s x240s x920s y1590s y490s
1040 12s.15 16.11 3.17 5copies 8.11 bs10 h1230s h1620s h205s h595s h985s s14 w1070 w1460 w1850 w435 w820 x1360 x250 x930 y160 y50
1040s 12s.16 16.12 3.18 5copiesDir 8.12 bs2 h1235 h1625 h210 h600 h990 s14s w1070s w1460s w1850s w435s w820s x1360s x2500 x930s y1600 y500
10.5 12s.17 16.13 3.19 5s.0 8.13 bs3 h1235s h1625s h210s h600s h990s s15 w1075 w1465 w1855 w440 w825 x1370 x2500s x940 y1600s y500s
1050 12s.18 16.14 3.2 5s.1 8.14 bs4 h1240 h1630 h215 h605 h995 s15s w1075s w1465s w1855s w440s w825s x1370s x250s x940s y160s y50s
1050s 12s.19 16.15 320 5s.10 8.15 bs5 h1240s h1630s h215s h605s h995s s16 w1080 w1470 w1860 w445 w830 x1380 x260 x950 y1610 y510
10.6 12s.2 16.16 3.20 5s.11 8.16 bs6 h1245 h1635 h220 h610 hlx s16s w1080s w1470s w1860s w445s w830s x1380s x260s x950s y1610s y510s
1060 12s.20 16.17 320s 5s.12 8.17 bs7 h1245s h1635s h220s h610s htmltemplatepref s17 w1085 w1475 w1865 w450 w835 x1390 x270 x960 y1620 y520
1060s 12s.3 16.18 3.3 5s.13 8.18 bs8 h1250 h1640 h225 h615 htmltxtwptemplate s17s w1085s w1475s w1865s w450s w835s x1390s x270s x960s y1620s y520s
10.7 12s.4 16.19 330 5s.14 8.19 bs9 h1250s h1640s h225s h615s index1 s18 w1090 w1480 w1870 w455 w840 x140 x280 x970 y1630 y530
1070 12s.5 16.2 330s 5s.15 8.2 c1 h1255 h1645 h230 h620 index4 s18s w1090s w1480s w1870s w455s w840s x1400 x2800 x970s y1630s y530s
1070s 12s.6 16.20 3.4 5s.16 820 c2 h1255s h1645s h230s h620s la s19 w1095 w1485 w1875 w460 w845 x1400s x2800s x980 y1640 y540
10.8 12s.7 16.3 340 5s.17 8.20 c3 h1260 h1650 h235 h625 laa s19s w1095s w1485s w1875s w460s w845s x140s x280s x980s y1640s y540s
1080 12s.8 16.4 340s 5s.18 820s cadi h1260s h1650s h235s h625s las s1a w1100 w1490 w1880 w465 w850 x1410 x290 x990 y1650 y550
1080s 12s.9 16.5 3.5 5s.19 8.3 ca.png h1265 h1655 h240 h630 lb s1s w1100s w1490s w1880s w465s w850s x1410s x290s x990s y1650s y550s
10.9 1.3 16.6 350 5s.2 830 car h1265s h1655s h240s h630s lba s2 w1105 w1495 w1885 w470 w855 x1420 x30 xgterm y1660 y560
1090 130 16.7 350a 5s.20 830s ccdi h1270 h1660 h245 h635 lbs s20 w1105s w1495s w1885s w470s w855s x1420s x300 xl y1660s y560s
1090s 1.30 16.8 350s 5s.3 8.4 centermid3 h1270s h1660s h245s h635s lefthalf s20a w1110 w1500 w1890 w475 w860 x1430 x3000 xm y1670 y570
10s.0 13.0 16.9 3.6 5s.4 840 cl h1275 h1665 h250 h640 lefthalf2 s20s w1110s w1500s w1890s w475s w860s x1430s x3000s xpad-backup y1670s y570s
10s.1 130s 16s.0 360 5s.5 840s closeallrox h1275s h1665s h250s h640s linebreak s21 w1115 w1505 w1895 w480 w865 x1440 x300s xpad-clear y1680 y580
10s.10 13.1 16s.1 360s 5s.6 8.5 clx h1280 h1670 h255 h645 linebreaktake2 s21a w1115s w1505s w1895s w480s w865s x1440s x30s xr y1680s y580s
10s.11 13.10 16s.10 3.7 5s.7 850 cm h1280s h1670s h255s h645s lm s21s w1120 w1510 w1900 w485 w870 x1450 x310 y0 y1690 y590
10s.12 13.11 16s.11 370 5s.8 850a cr h1285 h1675 h260 h650 lma s22 w1120s w1510s w1900s w485s w870s x1450s x310s y0s y1690s y590s
10s.13 13.12 16s.12 370s 5s.9 850s crx h1285s h1675s h260s h650s lms s22a w1125 w1515 w1905 w490 w875 x1460 x320 y10 y170 y60
10s.14 13.13 16s.13 3.8 6.0 8.6 cs h1290 h1680 h265 h655 lomkr s22s w1125s w1515s w1905s w490s w875s x1460s x320s y100 y1700 y600
10s.15 13.14 16s.14 380 600 860 ctrm h1290s h1680s h265s h655s lowerleftquadrant s23 w1130 w1520 w1910 w495 w880 x1470 x330 y1000 y1700s y600s
10s.16 13.15 16s.15 380s 600s 860s cx h1295 h1685 h270 h660 lowerleftquadrant2 s23a w1130s w1520s w1910s w495s w880s x1470s x330s y1000s y170s y60s
10s.17 13.16 16s.16 3.9 6.1 8.7 d11 h1295s h1685s h270s h660s lowerrightquadrant s23s w1135 w1525 w1915 w5 w885 x1480 x340 y100s y1710 y610
10s.18 13.17 16s.17 390 610 870 d12 h1300 h1690 h275 h665 lowerrightquadrant2 s24 w1135s w1525s w1915s w500 w885s x1480s x340s y1010 y1710s y610s
10s.19 13.18 16s.18 390s 6.10 870s d13 h1300s h1690s h275s h665s lowmkr s24a w1140 w1530 w1920 w500s w890 x1490 x350 y1010s y1720 y620
10s.2 13.19 16s.19 3s.0 610s 8.8 d14 h1305 h1695 h280 h670 lp5 s24s w1140s w1530s w1920s w505 w890s x1490s x350s y1020 y1720s y620s
10s.20 13.2 16s.2 3s.1 6.11 880 d15 h1305s h1695s h280s h670s lp5a s2a w1145 w1535 w1925 w505s w895 x150 x360 y1020s y1730 y630
10s.3 13.20 16s.20 3s.10 6.12 880s d16 h1310 h1700 h285 h675 lpbunch s2s w1145s w1535s w1925s w510 w895s x1500 x360s y1030 y1730s y630s
10s.4 13.3 16s.3 3s.11 6.13 8.9 d17 h1310s h1700s h285s h675s lpmkr s3 w1150 w1540 w1930 w510s w900 x1500s x370 y1030s y1740 y640
10s.5 13.4 16s.4 3s.12 6.14 890 d18 h1315 h1705 h290 h680 lwl2 s3a w1150s w1540s w1930s w515 w900s x150s x370s y1040 y1740s y640s
10s.6 13.5 16s.5 3s.13 6.15 890s d19 h1315s h1705s h290s h680s lwl2a s3s w1155 w1545 w1935 w515s w905 x1510 x380 y1040s y1750 y650
10s.7 13.6 16s.6 3s.14 6.16 8s.0 d20 h1320 h1710 h295 h685 lwl3 s4 w1155s w1545s w1935s w520 w905s x1510s x380s y1050 y1750s y650s
10s.8 13.7 16s.7 3s.15 6.17 8s.1 d21 h1320s h1710s h295s h685s lwl3a s4s w1160 w1550 w1940 w520s w910 x1520 x390 y1050s y1760 y660
10s.9 13.8 16s.8 3s.16 6.18 8s.10 d22 h1325 h1715 h300 h690 lwl3x500 s5 w1160s w1550s w1940s w525 w910s x1520s x390s y1060 y1760s y660s
1.1 13.9 16s.9 3s.17 6.19 8s.11 d23 h1325s h1715s h300s h690s lwl4 s5s w1165 w1555 w1945 w525s w915 x1530 x40 y1060s y1770 y670
110 13s.0 1.7 3s.18 6.2 8s.12 d24 h1330 h1720 h305 h695 lwl4a s6 w1165s w1555s w1945s w530 w915s x1530s x400 y1070 y1770s y670s
1.10 13s.1 170 3s.19 620 8s.13 dspl1 h1330s h1720s h305s h695s lwl4x400 s6s w1170 w1560 w1950 w530s w920 x1540 x400s y1070s y1780 y680
11.0 13s.10 170s 3s.2 6.20 8s.14 dspl2 h1335 h1725 h310 h700 lwl4x900 s7 w1170s w1560s w1950s w535 w920s x1540s x40s y1080 y1780s y680s
1100 13s.11 1.8 3s.20 620s 8s.15 dspr1 h1335s h1725s h310s h700s lwl5 s7s w1175 w1565 w1955 w535s w925 x1550 x410 y1080s y1790 y690
1100s 13s.12 180 3s.3 6.3 8s.16 dspr2 h1340 h1730 h315 h705 lwl5x333 s8 w1175s w1565s w1955s w540 w925s x1550s x410s y1090 y1790s y690s
110s 13s.13 180s 3s.4 630 8s.17 ffmkr h1340s h1730s h315s h705s lwl5x666 s8s w1180 w1570 w1960 w540s w930 x1560 x420 y1090s y180 y70
1.11 13s.14 1.9 3s.5 630s 8s.18 fnr h1345 h1735 h320 h710 lwl5x666a s9 w1180s w1570s w1960s w545 w930s x1560s x420s y10s y1800 y700
11.1 13s.15 190 3s.6 6.4 8s.19 fulla h1345s h1735s h320s h710s lwl5x999 s9s w1185 w1575 w1965 w545s w935 x1570 x430 y110 y1800s y700s
1110 13s.16 190s 3s.7 640 8s.2 fulls h1350 h1740 h325 h715 lwr2 sbm w1185s w1575s w1965s w550 w935s x1570s x430s y1100 y180s y70s
11.10 13s.17 1s.0 3s.8 640s 8s.20 g1 h1350s h1740s h325s h715s lwr2a sbm.png w1190 w1580 w1970 w550s w940 x1580 x440 y1100s y1810 y710
1110s 13s.18 1s.1 3s.9 6.5 8s.3 g10 h1355 h1745 h330 h720 lwr3 script w1190s w1580s w1970s w555 w940s x1580s x440s y110s y1810s y710s
11.11 13s.19 1s.10 4.0 650 8s.4 g2 h1355s h1745s h330s h720s lwr3a script2 w1195 w1585 w1975 w555s w945 x1590 x450 y1110 y1820 y720
11.12 13s.2 1s.11 400 650a 8s.5 g3 h1360 h1750 h335 h725 lwr3m scripttemplate w1195s w1585s w1975s w560 w945s x1590s x450s y1110s y1820s y720s
11.13 13s.20 1s.12 400s 650s 8s.6 g4 h1360s h1750s h335s h725s lwr4 sd w1200 w1590 w1980 w560s w950 x160 x460 y1120 y1830 y730
11.14 13s.3 1s.13 4.1 6.6 8s.7 g5 h1365 h1755 h340 h730 lwr4a sdr w1200s w1590s w1980s w565 w950s x1600 x460s y1120s y1830s y730s
11.15 13s.4 1s.14 410 660 8s.8 g6 h1365s h1755s h340s h730s lwr4p400 sfs-java.sh w1205 w1595 w1985 w565s w955 x1600s x470 y1130 y1840 y740
11.16 13s.5 1s.15 4.10 660s 8s.9 g7 h1370 h1760 h345 h735 lwr4rghtmrgn shade w1205s w1595s w1985s w570 w955s x160s x470s y1130s y1840s y740s
11.17 13s.6 1s.16 410s 6.7 9.0 g8 h1370s h1760s h345s h735s lwr5 simplegtk w1210 w1600 w1990 w570s w960 x1610 x480 y1140 y1850 y750
11.18 13s.7 1s.17 4.11 670 900 g9 h1375 h1765 h350 h740 lwr5a slodb w1210s w1600s w1990s w575 w960s x1610s x480s y1140s y1850s y750s
11.19 13s.8 1s.18 4.12 670s 900s gea3 h1375s h1765s h350s h740s lwr5p300 smmkr w1215 w1605 w1995 w575s w965 x1620 x490 y1150 y1860 y760
1.12 13s.9 1s.19 4.13 6.8 9.1 gmkr h1380 h1770 h355 h745 lwr5p600 snwpcomment w1215s w1605s w1995s w580 w965s x1620s x490s y1150s y1860s y760s
11.2 1.4 1s.2 4.14 680 910 gny88 h1380s h1770s h355s h745s lwr5p900 snwph1 w1220 w1610 w200 w580s w970 x1630 x50 y1160 y1870 y770
1120 140 1s.20 4.15 680s 9.10 gnyroot h1385 h1775 h360 h750 m1 snwph2 w1220s w1610s w2000 w585 w970s x1630s x500 y1160s y1870s y770s
11.20 14.0 1s.21 4.16 6.9 910s gnysys h1385s h1775s h360s h750s m2 snwph3 w1225 w1615 w2000s w585s w975 x1640 x500s y1170 y1880 y780
1120s 140s 1s.22 4.17 690 9.11 h1000 h1390 h1780 h365 h755 m3 snwph4 w1225s w1615s w200s w590 w975s x1640s x50s y1170s y1880s y780s
1.13 14.1 1s.23 4.18 690s 9.12 h1000s h1390s h1780s h365s h755s mbm snwph5 w1230 w1620 w205 w590s w980 x1650 x510 y1180 y1890 y790
11.3 14.10 1s.24 4.19 6s.0 9.13 h1005 h1395 h1785 h370 h760 midright4 snwph6 w1230s w1620s w205s w595 w980s x1650s x510s y1180s y1890s y790s
1130 14.11 1s.25 4.2 6s.1 9.14 h1005s h1395s h1785s h370s h760s mmrx3 stk w1235 w1625 w210 w595s w985 x1660 x520 y1190 y190 y80
1130s 14.12 1s.26 420 6s.10 9.15 h1010 h1400 h1790 h375 h765 mmRXbm2 stks w1235s w1625s w210s w6 w985s x1660s x520s y1190s y1900 y800
1.14 14.13 1s.27 4.20 6s.11 9.16 h1010s h1400s h1790s h375s h765s mps supdown w1240 w1630 w215 w600 w990 x1670 x530 y120 y1900s y800s
11.4 14.14 1s.28 420s 6s.12 9.17 h1015 h1405 h1795 h380 h770 mrbm supleft w1240s w1630s w215s w600s w990s x1670s x530s y1200 y190s y80s
1140 14.15 1s.29 4.3 6s.13 9.18 h1015s h1405s h1795s h380s h770s mrs supright w1245 w1635 w220 w605 w995 x1680 x540 y1200s y1910 y810
1140s 14.16 1s.3 430 6s.14 9.19 h1020 h1410 h1800 h385 h775 mss supup w1245s w1635s w220s w605s w995s x1680s x540s y120s y1910s y810s
1.15 14.17 1s.30 430s 6s.15 9.2 h1020s h1410s h1800s h385s h775s mtmkr swnwp# w1250 w1640 w225 w610 x0 x1690 x550 y1210 y1920 y820
11.5 14.18 1s.4 4.4 6s.16 920 h1025 h1415 h1805 h390 h780 mwl swnwpb w1250s w1640s w225s w610s x0s x1690s x550s y1210s y1920s y820s
1150 14.19 1s.5 440 6s.17 9.20 h1025s h1415s h1805s h390s h780s mwl9 swnwpbig w1255 w1645 w230 w615 x10 x170 x560 y1220 y1930 y830
1150s 14.2 1s.6 440s 6s.18 920s h1030 h1420 h1810 h395 h785 mxs swnwpi w1255s w1645s w230s w615s x100 x1700 x560s y1220s y1930s y830s
1.16 14.20 1s.7 4.5 6s.19 9.3 h1030s h1420s h1810s h395s h785s nwp# swnwpsm w1260 w1650 w235 w620 x1000 x1700s x570 y1230 y1940 y840
11.6 14.3 1s.8 450 6s.2 930 h1035 h1425 h1815 h400 h790 nwpb swnwpstrk w1260s w1650s w235s w620s x1000s x170s x570s y1230s y1940s y840s
1160 14.4 1s.9 450a 6s.20 930s h1035s h1425s h1815s h400s h790s nwpbig swnwpsub w1265 w1655 w240 w625 x100s x1710 x580 y1240 y1950 y850
1160s 14.5 2.0 450s 6s.3 9.4 h1040 h1430 h1820 h405 h795 nwpbkmrk swnwpsup w1265s w1655s w240s w625s x1010 x1710s x580s y1240s y1950s y850s
1.17 14.6 200 4.6 6s.4 940 h1040s h1430s h1820s h405s h795s nwpblockquote swnwpu w1270 w1660 w245 w630 x1010s x1720 x590 y1250 y1960 y860
11.7 14.7 200s 460 6s.5 940s h1045 h1435 h1825 h410 h800 nwpcent tophalf w1270s w1660s w245s w630s x1020 x1720s x590s y1250s y1960s y860s
1170 14.8 2.1 460s 6s.6 9.5 h1045s h1435s h1825s h410s h800s nwpcenter tophalf2 w1275 w1665 w250 w635 x1020s x1730 x60 y1260 y1970 y870
1170s 14.9 210 4.7 6s.7 950 h1050 h1440 h1830 h415 h805 nwpcomment topmid3 w1275s w1665s w250s w635s x1030 x1730s x600 y1260s y1970s y870s
1.18 14s.0 2.10 470 6s.8 950s h1050s h1440s h1830s h415s h805s nwpgt undeb w1280 w1670 w255 w640 x1030s x1740 x600s y1270 y1980 y880
11.8 14s.1 210s 470s 6s.9 9.6 h1055 h1445 h1835 h420 h810 nwph1 unrpm w1280s w1670s w255s w640s x1040 x1740s x60s y1270s y1980s y880s
1180 14s.10 2.11 4.8 7.0 960 h1055s h1445s h1835s h420s h810s nwph2 upl2 w1285 w1675 w260 w645 x1040s x1750 x610 y1280 y1990 y890
1180s 14s.11 2.12 480 700 960s h1060 h1450 h1840 h425 h815 nwph3 upl2a w1285s w1675s w260s w645s x1050 x1750s x610s y1280s y1990s y890s
1.19 14s.12 2.13 480s 700s 9.7 h1060s h1450s h1840s h425s h815s nwph4 upl3 w1290 w1680 w265 w650 x1050s x1760 x620 y1290 y20 y90
11.9 14s.13 2.14 4.9 7.1 970 h1065 h1455 h1845 h430 h820 nwph5 upl3a w1290s w1680s w265s w650s x1060 x1760s x620s y1290s y200 y900
1190 14s.14 2.15 490 710 970s h1065s h1455s h1845s h430s h820s nwph6 upl3x400 w1295 w1685 w270 w655 x1060s x1770 x630 y130 y2000 y900s
1190s 14s.15 2.16 490s 7.10 9.8 h1070 h1460 h1850 h435 h825 nwpi upl3x555 w1295s w1685s w270s w655s x1070 x1770s x630s y1300 y2000s y90s
11s.0 14s.16 2.17 4s.0 710s 980 h1070s h1460s h1850s h435s h825s nwpjust upl4 w1300 w1690 w275 w660 x1070s x1780 x640 y1300s y200s y910
11s.1 14s.17 2.18 4s.1 7.11 980s h1075 h1465 h1855 h440 h830 nwpleft upl4a w1300s w1690s w275s w660s x1080 x1780s x640s y130s y20s y910s
11s.10 14s.18 2.19 4s.10 7.12 9.9 h1075s h1465s h1855s h440s h830s nwpright upl4x444 w1305 w1695 w280 w665 x1080s x1790 x650 y1310 y210 y920
11s.11 14s.19 2.2 4s.11 7.13 990 h1080 h1470 h1860 h445 h835 nwpsm upl4x888 w1305s w1695s w280s w665s x1090 x1790s x650s y1310s y210s y920s
11s.12 14s.2 220 4s.12 7.14 990s h1080s h1470s h1860s h445s h835s nwpstrk upl5 w1310 w1700 w285 w670 x1090s x180 x660 y1320 y220 y930
11s.13 14s.20 2.20 4s.13 7.15 9s.0 h1085 h1475 h1865 h450 h840 nwpsub upl5a w1310s w1700s w285s w670s x10s x1800 x660s y1320s y220s y930s
11s.14 14s.3 220s 4s.14 7.16 9s.1 h1085s h1475s h1865s h450s h840s nwpsup upl5x1000 w1315 w1705 w290 w675 x110 x1800s x670 y1330 y230 y940
11s.15 14s.4 2.3 4s.15 7.17 9s.10 h1090 h1480 h1870 h455 h845 nwptag upl5x345 w1315s w1705s w290s w675s x1100 x180s x670s y1330s y230s y940s
11s.16 14s.5 230 4s.16 7.18 9s.11 h1090s h1480s h1870s h455s h845s nwpu upl5x790 w1320 w1710 w295 w680 x1100s x1810 x680 y1340 y240 y950
11s.17 14s.6 230s 4s.17 7.19 9s.12 h1095 h1485 h1875 h460 h850 nwpxdtyptmplt upperleftquadrant w1320s w1710s w295s w680s x110s x1810s x680s y1340s y240s y950s
11s.18 14s.7 2.4 4s.18 7.2 9s.13 h1095s h1485s h1875s h460s h850s p0 upperleftquadrant2 w1325 w1715 w300 w685 x1110 x1820 x690 y1350 y250 y960
11s.19 14s.8 240 4s.19 720 9s.14 h1100 h1490 h1880 h465 h855 p1 upperrightmargin4 w1325s w1715s w300s w685s x1110s x1820s x690s y1350s y250s y960s
11s.2 14s.9 240s 4s.2 7.20 9s.15 h1100s h1490s h1880s h465s h855s P1 upperrightquadrant w1330 w1720 w305 w690 x1120 x1830 x70 y1360 y260 y970
11s.20 1.5 2.5 4s.20 720s 9s.16 h1105 h1495 h1885 h470 h860 p2 upperrightquadrant2 w1330s w1720s w305s w690s x1120s x1830s x700 y1360s y260s y970s
11s.3 150 250 4s.3 7.3 9s.17 h1105s h1495s h1885s h470s h860s p3 upr2 w1335 w1725 w310 w695 x1130 x1840 x700s y1370 y270 y980
11s.4 15.0 250a 4s.4 730 9s.18 h1110 h1500 h1890 h475 h865 p4 upr2a w1335s w1725s w310s w695s x1130s x1840s x70s y1370s y270s y980s
11s.5 150s 250s 4s.5 730s 9s.19 h1110s h1500s h1890s h475s h865s p5 upr3 w1340 w1730 w315 w700 x1140 x1850 x710 y1380 y280 y990
11s.6 15.1 2.6 4s.6 7.4 9s.2 h1115 h1505 h1895 h480 h870 p6 upr3a w1340s w1730s w315s w700s x1140s x1850s x710s y1380s y280s y990s
11s.7 15.10 260 4s.7 740 9s.20 h1115s h1505s h1895s h480s h870s p7 upr3m w1345 w1735 w320 w705 x1150 x1860 x720 y1390 y290
11s.8 15.11 260s 4s.8 740s 9s.3 h1120 h1510 h1900 h485 h875 p8 upr3tomargin w1345s w1735s w320s w705s x1150s x1860s x720s y1390s y290s
11s.9 15.12 2.7 4s.9 7.5 9s.4 h1120s h1510s h1900s h485s h875s p9 upr4 w1350 w1740 w325 w710 x1160 x1870 x730 y140 y30
1.2 15.13 270 5.0 750 9s.5 h1125 h1515 h1905 h490 h880 paragraph upr4a w1350s w1740s w325s w710s x1160s x1870s x730s y1400 y300
120 15.14 270s 500 750a 9s.6 h1125s h1515s h1905s h490s h880s paragraphhl upr4x1444 w1355 w1745 w330 w715 x1170 x1880 x740 y1400s y300s
1.20 15.15 2.8 500a 750s 9s.7 h1130 h1520 h1910 h495 h885 parcenter upr5 w1355s w1745s w330s w715s x1170s x1880s x740s y140s y30s
12.0 15.16 280 500s 7.6 9s.8 h1130s h1520s h1910s h495s h885s parjustify upr5a w1360 w1750 w335 w720 x1180 x1890 x750 y1410 y310
1200 15.17 280s 5.1 760 9s.9 h1135 h1525 h1915 h500 h890 parleft upr5p450 w1360s w1750s w335s w720s x1180s x1890s x750s y1410s y310s
1200s 15.18 2.9 510 760s a1 h1135s h1525s h1915s h500s h890s parright upr5p950 w1365 w1755 w340 w725 x1190 x190 x760 y1420 y320
120s 15.19 290 5.10 7.7 a10 h1140 h1530 h1920 h505 h895 pcp ushade w1365s w1755s w340s w725s x1190s x1900 x760s y1420s y320s
1.21 15.2 290s 510s 770 a2 h1140s h1530s h1920s h505s h895s plainquotesmkr ustk w1370 w1760 w345 w730 x120 x1900s x770 y1430 y330
12.1 15.20 2s.0 5.11 770s a3 h1145 h1535 h1925 h510 h900 pmmkr ustks w1370s w1760s w345s w730s x1200 x190s x770s y1430s y330s
12.10 15.3 2s.1 5.12 7.8 a4 h1145s h1535s h1925s h510s h900s pnls.png vlcmkr w1375 w1765 w350 w735 x1200s x1910 x780 y1440 y340
12.11 15.4 2s.10 5.13 780 a5 h1150 h1540 h1930 h515 h905 pp1 vnmkr w1375s w1765s w350s w735s x120s x1910s x780s y1440s y340s
12.12 15.5 2s.11 5.14 780s a6 h1150s h1540s h1930s h515s h905s pp2 vtg w1380 w1770 w355 w740 x1210 x1920 x790 y1450 y350
12.13 15.6 2s.12 5.15 7.9 a7 h1155 h1545 h1935 h520 h910 pp3 vtg-lfpd w1380s w1770s w355s w740s x1210s x1920s x790s y1450s y350s
12.14 15.7 2s.13 5.16 790 a8 h1155s h1545s h1935s h520s h910s pp4 vtgqts w1385 w1775 w360 w745 x1220 x1930 x80 y1460 y360
12.15 15.8 2s.14 5.17 790s a9 h1160 h1550 h1940 h525 h915 pp5 vvtg w1385s w1775s w360s w745s x1220s x1930s x800 y1460s y360s
12.16 15.9 2s.15 5.18 7s.0 as1 h1160s h1550s h1940s h525s h915s pp6 w1000 w1390 w1780 w365 w750 x1230 x1940 x800s y1470 y370
it's quite a bit and rox has an annoying habit of politely asking you if you would like it to be quiet as it transfers; you answer yes (or no--doesn't matter), and it stops and asks at every step for your approval. use the included space fm for transfers like this (or look up how to do it cli--i was about to then i remembered one of the main reasons i included spacefm. normally it's not a problem, but you'll be overwriting hundreds of things--keep a copy if you've modded the files, transfer back at the end).

requires the already included pexec or gexec to launch the active versions of the windows size and place scripts (other launchers or terminals can do the select/click versions). they'd work on the menus but this is quicker in terms of set up and activation. also the sheer number of programs it takes to make it work well would be prohibitively long a list to place/browse, though you could use xdotool as a workaround (see create multiple menu entry points).

thanks to MochiMoppel for his tremendous help in automating the process of coming up with wmctrl scripts.
i've come to rely on a shortcut key (shift plus space) for gexec quite a bit lately and so i decided to use it to make it as quick and easy as possible (given what little i know about computers, that is) to resize and reposition windows with the keyboard. send along the x axis and y axis go from 0-2000 by tens, height and width go from 200 to 2000 by fives. basic launch code is

x# move along x axis to #
y# move along y axis to #
w# adjust width to #pixels
h# adjust height to #pixels

add an s to make the code work on a window to be clicked rather than the active one (examples: x440, y750s, w435, h1275s)

caveat: the only two launchers i've found to work with this type of script are pexec and gexec--all the others morph and send themselves for a walk.

^ quote from the programming help thread.

more explanatory text from there:
here's gexsq.tar.gz. (included in Gexec Pexack). lauch convention is same--bare number is active square, add an s at the end to make it a click-to-square. squares from 100 to 1200 by 10s.
grid.tar.xz

naming convention's a little different for these. first part (with or without the s for select, the 1-16 part that comes before the dot) is rung down the y axis, 100 pixels per step (i.e first rung is y=0, second is y=100, etc). the second part is x-axis times 100. so,

1.20 and 5s.16 are active window to 2000x,0y and selected window to 1600x,400y. 1.0 is upper left corner.

seems to me i could've started at 0 for the y value and the period is unnecessary for the select values, but it already more or less feels natural to me, though i've discovered that some windows, or, sometimes windows can in fact be pushed past the screen edge...

pack includes active and select versions of x2300,2500,2800,and 3000 and the 1._ series goes to 30 (the others go to 20 and the y# scripts from earlier cover down to 2000 (which'd be 21._).

some background
Last edited by Puppus Dogfellow on Wed 20 May 2015, 03:01, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

updated singmon and dubmon menus

#51 Post by Puppus Dogfellow »

dubmon:

Code: Select all

<JWM>

<Menu label="dub mon 2 Double Monitors Menu" icon="" height="16">
   <Menu label="for double monitors ACTIVE " icon="" height="16">

<Program label="upper left quadrant of left screen" icon="a1.png">a1</Program>
<Program label="upper right quadrant of left screen " icon="a2.png">a2</Program>
<Program label="lower left quadrant of left screen " icon="a3.png">a3</Program>
<Program label="lower right quadrant of left screen " icon="a4.png">a4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="a5.png">a5</Program>
 <Separator/>
<Program label="upper left quadrant of right screen" icon="a6.png">a6</Program>
<Program label="upper right quadrant of right screen" icon="a7.png">a7</Program>
<Program label="lower left quadrant of right screen " icon="a8.png">a8</Program>
<Program label="lower right quadrant of right screen" icon="a9.png">a9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="a10.png">a10</Program>
 <Separator/>
 
<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">   
<Program label="x=0" icon="">x0a</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu>
</Menu>
 
<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu>
</Menu> 

 <Menu label="Square" icon="" height="16">
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>   
</Menu>
   
<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
 </Menu> 
       
<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu>
   
<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>

    <Separator/>
 
<Program label="left half of left screen" icon="b1.png">b1</Program>
<Program label="right half of left screen" icon="b2.png">b2</Program>
<Program label="top half of left screen" icon="b3.png">b3</Program>
<Program label="bottom half of left screen" icon="b4.png">b4</Program>
<Program label="full screen left " icon="b5.png">b5</Program>
 <Separator/>
<Program label="left half of right screen" icon="b6.png">b6</Program>
<Program label="right half of right screen" icon="b7.png">b7</Program>
<Program label="top half of right screen " icon="b8.png">b8</Program>
<Program label="bottom half of right screen" icon="b9.png">b9</Program>
<Program label="full screen right  " icon="b10.png">b10</Program>

<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
 <Menu label="Send To" icon="" height="16">
   <Program label="1">wmctrl -r :ACTIVE: -t0</Program>
   <Program label="2">wmctrl -r :ACTIVE: -t1</Program>
      <Program label="3">wmctrl -r :ACTIVE: -t2</Program>
   <Program label="4">wmctrl -r :ACTIVE: -t3</Program>
      <Program label="5">wmctrl -r :ACTIVE: -t4</Program>
   <Program label="6">wmctrl -r :ACTIVE: -t5</Program>
      <Program label="7">wmctrl -r :ACTIVE: -t6</Program>
   <Program label="8">wmctrl -r :ACTIVE: -t7</Program>
      <Program label="9">wmctrl -r :ACTIVE: -t8</Program>
   <Program label="10">wmctrl -r :ACTIVE: -t9</Program>
         <Program label="11">wmctrl -r :ACTIVE: -t10</Program>
   <Program label="12">wmctrl -r :ACTIVE: -t11</Program>
      <Program label="13">wmctrl -r :ACTIVE: -t12</Program>
   <Program label="14">wmctrl -r :ACTIVE: -t13</Program>
      <Program label="15">wmctrl -r :ACTIVE: -t14</Program>
   <Program label="16">wmctrl -r :ACTIVE: -t15</Program>
      <Program label="17">wmctrl -r :ACTIVE: -t16</Program>
   <Program label="18">wmctrl -r :ACTIVE: -t17</Program>
      <Program label="19">wmctrl -r :ACTIVE: -t18</Program>
   <Program label="20">wmctrl -r :ACTIVE: -t19</Program>
   <Program label="21">wmctrl -r :ACTIVE: -t20</Program>
      <Program label="22">wmctrl -r :ACTIVE: -t21</Program>
   <Program label="23">wmctrl -r :ACTIVE: -t22</Program>
      <Program label="24">wmctrl -r :ACTIVE: -t23</Program>
   
    <Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
 </Menu>   

 <Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>
 
 <Menu label="Layer">
   <Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
   <Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
 </Menu>

 </Menu>
</Menu>
   
   
   
<Menu label="for double monitors: SELECT (crosshairs) version" icon="" height="16">

<Program label="upper left quadrant of left screen" icon="as1.png">as1</Program>
<Program label="upper right quadrant of left screen " icon="as2.png">as2</Program>
<Program label="lower left quadrant of left screen " icon="as3.png">as3</Program>
<Program label="lower right quadrant of left screen " icon="as4.png">as4</Program>
<Program label="quadrant-sized window placed at center of left screen " icon="as5.png">as5</Program>
   <Separator/>
<Program label="upper left quadrant of right screen" icon="as6.png">as6</Program>
<Program label="upper right quadrant of right screen" icon="as7.png">as7</Program>
<Program label="lower left quadrant of right screen " icon="as8.png">as8</Program>
<Program label="lower right quadrant of right screen" icon="as9.png">as9</Program>
<Program label="quadrant-sized window placed at center of right screen " icon="as10.png">as10</Program>
   <Separator/>
   
   
   
<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">   
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100s</Program>
<Program label="x=200" icon="">x200s</Program>
<Program label="x=300" icon="">x300s</Program>
<Program label="x=400" icon="">x400s</Program>
<Program label="x=500" icon="">x500s</Program>
<Program label="x=600" icon="">x600s</Program>
<Program label="x=700" icon="">x700s</Program>
<Program label="x=800" icon="">x800s</Program>
<Program label="x=900" icon="">x900s</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000s</Program>
<Program label="x=1100" icon="">x1100s</Program>
<Program label="x=1200" icon="">x1200s</Program>
<Program label="x=1300" icon="">x1300s</Program>
<Program label="x=1400" icon="">x1400s</Program>
<Program label="x=1500" icon="">x1500s</Program>
<Program label="x=1600" icon="">x1600s</Program>
<Program label="x=1800" icon="">x1800s</Program>
<Program label="x=2000" icon="">x2000s</Program>
<Program label="x=2200" icon="">x2200s</Program>
</Menu>
</Menu>
 
<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0s</Program>
<Program label="y=50" icon="">y50s</Program>
<Program label="y=100" icon="">y100s</Program>
<Program label="y=150" icon="">y150s</Program>
<Program label="y=200" icon="">y200s</Program>
<Program label="y=250" icon="">y250s</Program>
<Program label="y=300" icon="">y300s</Program>
<Program label="y=350" icon="">y350s</Program>
<Program label="y=400" icon="">y400s</Program>
<Program label="y=450" icon="">y450s</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550s</Program>
<Program label="y=650" icon="">y650s</Program>
<Program label="y=750" icon="">y750s</Program>
<Program label="y=850" icon="">y850s</Program>
<Program label="y=950" icon="">y950s</Program>
</Menu>
</Menu> 

 <Menu label="Square" icon="" height="16">
<Program label="250" icon="">250s</Program>
<Program label="300" icon="">300s</Program>
<Program label="350" icon="">350s</Program>
<Program label="450" icon="">450s</Program>
<Program label="500" icon="">500s</Program>
<Program label="550" icon="">550s</Program>
<Program label="650" icon="">650s</Program>
<Program label="750" icon="">750s</Program>
<Program label="850" icon="">850s</Program>   
</Menu>
   
<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
 </Menu> 
       
<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu>
   
<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>   
<Separator/>

</Menu>
</Menu>
<Program label="left half of left screen" icon="bs1.png">bs1</Program>
<Program label="right half of left screen" icon="bs2.png">bs2</Program>
<Program label="top half of left screen" icon="bs3.png">bs3</Program>
<Program label="bottom half of left screen" icon="bs4.png">bs4</Program>
<Program label="full screen left " icon="bs5.png">bs5</Program>
   <Separator/>
<Program label="left half of right screen " icon="bs6.png">bs6</Program>
<Program label="right half of right screen" icon="bs7.png">bs7</Program>
<Program label="top half of right screen " icon="bs8.png">bs8</Program>
<Program label="bottom half of right screen" icon="bs9.png">bs9</Program>
<Program label="full screen right  " icon="bs10.png">bs10</Program>


 <Menu label="Send To, Layer, Stick--SELECT">   
 <Menu label="Send To">
   <Program label="1">wmctrl -r :SELECT: -t0</Program>
   <Program label="2">wmctrl -r :SELECT: -t1</Program>
    <Program label="3">wmctrl -r :SELECT: -t2</Program>
    <Program label="4">wmctrl -r :SELECT: -t3</Program>
    <Program label="5">wmctrl -r :SELECT: -t4</Program>
    <Program label="6">wmctrl -r :SELECT: -t5</Program>
     <Program label="7">wmctrl -r :SELECT: -t6</Program>
    <Program label="8">wmctrl -r :SELECT: -t7</Program>
    <Program label="9">wmctrl -r :SELECT: -t8</Program>
     <Program label="10">wmctrl -r :SELECT: -t9</Program>
      <Program label="11">wmctrl -r :SELECT: -t10</Program>
   <Program label="12">wmctrl -r :SELECT: -t11</Program>
    <Program label="13">wmctrl -r :SELECT: -t12</Program>
    <Program label="14">wmctrl -r :SELECT: -t13</Program>
    <Program label="15">wmctrl -r :SELECT: -t14</Program>
    <Program label="16">wmctrl -r :SELECT: -t15</Program>
     <Program label="17">wmctrl -r :SELECT: -t16</Program>
    <Program label="18">wmctrl -r :SELECT: -t17</Program>
    <Program label="19">wmctrl -r :SELECT: -t18</Program>
     <Program label="20">wmctrl -r :SELECT: -t19</Program>
         <Program label="21">wmctrl -r :SELECT: -t20</Program>
    <Program label="22">wmctrl -r :SELECT: -t21</Program>
    <Program label="23">wmctrl -r :SELECT: -t22</Program>
     <Program label="24">wmctrl -r :SELECT: -t23</Program>
  </Menu>   
     
   
      <Menu label="Layer">
   <Program label="below">wmctrl -r :SELECT: -b add,below</Program>
   <Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
   <Program label="above">wmctrl -r :SELECT: -b add,above</Program>
 </Menu>
 
<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
 <Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
 <Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu>


</Menu>
</JWM>




singmon:

Code: Select all


	
<JWM>
<Menu label="Single Monitor Menu (alt version)" icon="" height="16">
<Menu label="for single monitors :ACTIVE:" icon="" height="16">
<Program label="top half" icon="tha.png">tophalf2</Program>
<Program label="bottom half" icon="bha.png">bottomhalf2</Program>
<Program label="left half" icon="lha.png">lefthalf2</Program>
<Program label="right half" icon="rha.png">righthalf2</Program>
<Program label="full" icon="fulla.png">fulla</Program>
<Separator/>


<Menu label="size and placement 2, active">
<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0</Program>
<Program label="x=100" icon="">x100</Program>
<Program label="x=200" icon="">x200</Program>
<Program label="x=300" icon="">x300</Program>
<Program label="x=400" icon="">x400</Program>
<Program label="x=500" icon="">x500</Program>
<Program label="x=600" icon="">x600</Program>
<Program label="x=700" icon="">x700</Program>
<Program label="x=800" icon="">x800</Program>
<Program label="x=900" icon="">x900</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000</Program>
<Program label="x=1100" icon="">x1100</Program>
<Program label="x=1200" icon="">x1200</Program>
<Program label="x=1300" icon="">x1300</Program>
<Program label="x=1400" icon="">x1400</Program>
<Program label="x=1500" icon="">x1500</Program>
<Program label="x=1600" icon="">x1600</Program>
<Program label="x=1800" icon="">x1800</Program>
<Program label="x=2000" icon="">x2000</Program>
<Program label="x=2200" icon="">x2200</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0</Program>
<Program label="y=50" icon="">y50</Program>
<Program label="y=100" icon="">y100</Program>
<Program label="y=150" icon="">y150</Program>
<Program label="y=200" icon="">y200</Program>
<Program label="y=250" icon="">y250</Program>
<Program label="y=300" icon="">y300</Program>
<Program label="y=350" icon="">y350</Program>
<Program label="y=400" icon="">y400</Program>
<Program label="y=450" icon="">y450</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550</Program>
<Program label="y=650" icon="">y650</Program>
<Program label="y=750" icon="">y750</Program>
<Program label="y=850" icon="">y850</Program>
<Program label="y=950" icon="">y950</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250</Program>
<Program label="300" icon="">300</Program>
<Program label="350" icon="">350</Program>
<Program label="450" icon="">450</Program>
<Program label="500" icon="">500</Program>
<Program label="550" icon="">550</Program>
<Program label="650" icon="">650</Program>
<Program label="750" icon="">750</Program>
<Program label="850" icon="">850</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300a</Program>
<Program label="w450h300" icon="">w450h300a</Program>
<Program label="w500h400" icon="">w500h400a</Program>
<Program label="w550h400" icon="">w550h400a</Program>
<Program label="w600h500" icon="">w600h500a</Program>
<Program label="w650h500" icon="">w650h500a</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400a</Program>
<Program label="w300h450" icon="">w300h450a</Program>
<Program label="w400h500" icon="">w400h500a</Program>
<Program label="w400h550" icon="">w400h550a</Program>
<Program label="w500h600" icon="">w500h600a</Program>
<Program label="w500h650" icon="">w500h650a</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2a</Program>
<Program label="upper left /3" icon="">upl3a</Program>
<Program label="upper left /4" icon="">upl4a</Program>
<Program label="upper left /5" icon="">upl5a</Program>
<Program label="lower left /2" icon="">lwl2a</Program>
<Program label="lower left /3" icon="">lwl3a</Program>
<Program label="lower left /4" icon="">lwl4a</Program>
<Program label="lower left /5" icon="">lwl5a</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2a</Program>
<Program label="upper right /3" icon="">upr3a</Program>
<Program label="upper right /4" icon="">upr4a</Program>
<Program label="upper right /5" icon="">upr5a</Program>
<Program label="lower right /2" icon="">lwr2a</Program>
<Program label="lower right /3" icon="">lwr3a</Program>
<Program label="lower right /4" icon="">lwr4a</Program>
<Program label="lower right /5" icon="">lwr5a</Program>
</Menu>

</Menu>
</Menu>
<Separator/>


<Program label="upper left quadrant" icon="ul.png">upperleftquadrant2</Program>
<Program label="upper right quadrant" icon="ur.png">upperrightquadrant2</Program>
<Program label="lower left quadrant" icon="ll.png">lowerleftquadrant2</Program>
<Program label="lower right quadrant" icon="lr.png">lowerrightquadrant2</Program>
<Program label="centered" icon="c.png">lp5a</Program>




<Menu label="Send To, Layer, Stick--ACTIVE" icon="" height="16">
<Menu label="Send To" icon="" height="16">
<Program label="1">wmctrl -r :ACTIVE: -t0</Program>
<Program label="2">wmctrl -r :ACTIVE: -t1</Program>
<Program label="3">wmctrl -r :ACTIVE: -t2</Program>
<Program label="4">wmctrl -r :ACTIVE: -t3</Program>
<Program label="5">wmctrl -r :ACTIVE: -t4</Program>
<Program label="6">wmctrl -r :ACTIVE: -t5</Program>
<Program label="7">wmctrl -r :ACTIVE: -t6</Program>
<Program label="8">wmctrl -r :ACTIVE: -t7</Program>
<Program label="9">wmctrl -r :ACTIVE: -t8</Program>
<Program label="10">wmctrl -r :ACTIVE: -t9</Program>
<Program label="11">wmctrl -r :ACTIVE: -t10</Program>
<Program label="12">wmctrl -r :ACTIVE: -t11</Program>
<Program label="13">wmctrl -r :ACTIVE: -t12</Program>
<Program label="14">wmctrl -r :ACTIVE: -t13</Program>
<Program label="15">wmctrl -r :ACTIVE: -t14</Program>
<Program label="16">wmctrl -r :ACTIVE: -t15</Program>
<Program label="17">wmctrl -r :ACTIVE: -t16</Program>
<Program label="18">wmctrl -r :ACTIVE: -t17</Program>
<Program label="19">wmctrl -r :ACTIVE: -t18</Program>
<Program label="20">wmctrl -r :ACTIVE: -t19</Program>
<Program label="21">wmctrl -r :ACTIVE: -t20</Program>
<Program label="22">wmctrl -r :ACTIVE: -t21</Program>
<Program label="23">wmctrl -r :ACTIVE: -t22</Program>
<Program label="24">wmctrl -r :ACTIVE: -t23</Program>

<Program label="Stick/Unstick">wmctrl -r :ACTIVE: -b toggle,sticky</Program>
</Menu>

<Program label="Stick">wmctrl -r :ACTIVE: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :ACTIVE: -b remove,sticky</Program>

<Menu label="Layer">
<Program label="below">wmctrl -r :ACTIVE: -b add,below</Program>
<Program label="normal">wmctrl -r :ACTIVE: -b remove,above,below</Program>
<Program label="above">wmctrl -r :ACTIVE: -b add,above</Program>
</Menu>

</Menu>




</Menu>

<Menu label="for single monitors :SELECT:" icon="" height="16">
<Program label="top half" icon="th.png">tophalf</Program>
<Program label="bottom half" icon="bh.png">bottomhalf</Program>
<Program label="left half" icon="lh.png">lefthalf</Program>
<Program label="right half" icon="rh.png">righthalf</Program>
<Program label="full" icon="fulls.png">fulls</Program>

<Separator/>

<Menu label="size and placement 2, select">



<Menu label="Left to Right" icon="" height="16">
<Program label="x=0" icon="">x0s</Program>
<Program label="x=100" icon="">x100s</Program>
<Program label="x=200" icon="">x200s</Program>
<Program label="x=300" icon="">x300s</Program>
<Program label="x=400" icon="">x400s</Program>
<Program label="x=500" icon="">x500s</Program>
<Program label="x=600" icon="">x600s</Program>
<Program label="x=700" icon="">x700s</Program>
<Program label="x=800" icon="">x800s</Program>
<Program label="x=900" icon="">x900s</Program>
<Menu label="more" icon="" height="16">
<Program label="x=1000" icon="">x1000s</Program>
<Program label="x=1100" icon="">x1100s</Program>
<Program label="x=1200" icon="">x1200s</Program>
<Program label="x=1300" icon="">x1300s</Program>
<Program label="x=1400" icon="">x1400s</Program>
<Program label="x=1500" icon="">x1500s</Program>
<Program label="x=1600" icon="">x1600s</Program>
<Program label="x=1800" icon="">x1800s</Program>
<Program label="x=2000" icon="">x2000s</Program>
<Program label="x=2200" icon="">x2200s</Program>
</Menu>
</Menu>

<Menu label="Top to Bottom" icon="" height="16">
<Program label="y=0" icon="">y0s</Program>
<Program label="y=50" icon="">y50s</Program>
<Program label="y=100" icon="">y100s</Program>
<Program label="y=150" icon="">y150s</Program>
<Program label="y=200" icon="">y200s</Program>
<Program label="y=250" icon="">y250s</Program>
<Program label="y=300" icon="">y300s</Program>
<Program label="y=350" icon="">y350s</Program>
<Program label="y=400" icon="">y400s</Program>
<Program label="y=450" icon="">y450s</Program>
<Menu label="more" icon="" height="16">
<Program label="y=550" icon="">y550s</Program>
<Program label="y=650" icon="">y650s</Program>
<Program label="y=750" icon="">y750s</Program>
<Program label="y=850" icon="">y850s</Program>
<Program label="y=950" icon="">y950s</Program>
</Menu>
</Menu>

<Menu label="Square" icon="" height="16">
<Program label="250" icon="">250s</Program>
<Program label="300" icon="">300s</Program>
<Program label="350" icon="">350s</Program>
<Program label="450" icon="">450s</Program>
<Program label="500" icon="">500s</Program>
<Program label="550" icon="">550s</Program>
<Program label="650" icon="">650s</Program>
<Program label="750" icon="">750s</Program>
<Program label="850" icon="">850s</Program>
</Menu>

<Menu label="Landscape" icon="" height="16">
<Program label="w400h300" icon="">w400h300</Program>
<Program label="w450h300" icon="">w450h300</Program>
<Program label="w500h400" icon="">w500h400</Program>
<Program label="w550h400" icon="">w550h400</Program>
<Program label="w600h500" icon="">w600h500</Program>
<Program label="w650h500" icon="">w650h500</Program>
</Menu>

<Menu label="Portrait" icon="" height="16">
<Program label="w300h400" icon="">w300h400</Program>
<Program label="w300h450" icon="">w300h450</Program>
<Program label="w400h500" icon="">w400h500</Program>
<Program label="w400h550" icon="">w400h550</Program>
<Program label="w500h600" icon="">w500h600</Program>
<Program label="w500h650" icon="">w500h650</Program>
</Menu>

<Menu label="Window Size and Placement" icon="" height="16">
<Menu label="Left Side Placement" icon="" height="16">
<Program label="upper left /2" icon="">upl2</Program>
<Program label="upper left /3" icon="">upl3</Program>
<Program label="upper left /4" icon="">upl4</Program>
<Program label="upper left /5" icon="">upl5</Program>
<Program label="lower left /2" icon="">lwl2</Program>
<Program label="lower left /3" icon="">lwl3</Program>
<Program label="lower left /4" icon="">lwl4</Program>
<Program label="lower left /5" icon="">lwl5</Program>
</Menu>
<Menu label="Right Side Placement" icon="" height="16">
<Program label="upper right /2" icon="">upr2</Program>
<Program label="upper right /3" icon="">upr3</Program>
<Program label="upper right /4" icon="">upr4</Program>
<Program label="upper right /5" icon="">upr5</Program>
<Program label="lower right /2" icon="">lwr2</Program>
<Program label="lower right /3" icon="">lwr3</Program>
<Program label="lower right /4" icon="">lwr4</Program>
<Program label="lower right /5" icon="">lwr5</Program>
</Menu>
</Menu>


<Separator/>

</Menu>
<Program label="upper left quadrant" icon="uls.png">upperleftquadrant</Program>
<Program label="upper right quadrant" icon="urs.png">upperrightquadrant</Program>
<Program label="lower left quadrant" icon="lls.png">lowerleftquadrant</Program>
<Program label="lower right quadrant" icon="lrs.png">lowerrightquadrant</Program>
<Program label="centered" icon="cs.png">lp5</Program>



<Menu label="Send To, Layer, Stick--SELECT">
<Menu label="Send To">
<Program label="1">wmctrl -r :SELECT: -t0</Program>
<Program label="2">wmctrl -r :SELECT: -t1</Program>
<Program label="3">wmctrl -r :SELECT: -t2</Program>
<Program label="4">wmctrl -r :SELECT: -t3</Program>
<Program label="5">wmctrl -r :SELECT: -t4</Program>
<Program label="6">wmctrl -r :SELECT: -t5</Program>
<Program label="7">wmctrl -r :SELECT: -t6</Program>
<Program label="8">wmctrl -r :SELECT: -t7</Program>
<Program label="9">wmctrl -r :SELECT: -t8</Program>
<Program label="10">wmctrl -r :SELECT: -t9</Program>
<Program label="11">wmctrl -r :SELECT: -t10</Program>
<Program label="12">wmctrl -r :SELECT: -t11</Program>
<Program label="13">wmctrl -r :SELECT: -t12</Program>
<Program label="14">wmctrl -r :SELECT: -t13</Program>
<Program label="15">wmctrl -r :SELECT: -t14</Program>
<Program label="16">wmctrl -r :SELECT: -t15</Program>
<Program label="17">wmctrl -r :SELECT: -t16</Program>
<Program label="18">wmctrl -r :SELECT: -t17</Program>
<Program label="19">wmctrl -r :SELECT: -t18</Program>
<Program label="20">wmctrl -r :SELECT: -t19</Program>
<Program label="21">wmctrl -r :SELECT: -t20</Program>
<Program label="22">wmctrl -r :SELECT: -t21</Program>
<Program label="23">wmctrl -r :SELECT: -t22</Program>
<Program label="24">wmctrl -r :SELECT: -t23</Program>
</Menu>


<Menu label="Layer">
<Program label="below">wmctrl -r :SELECT: -b add,below</Program>
<Program label="normal">wmctrl -r :SELECT: -b remove,above,below</Program>
<Program label="above">wmctrl -r :SELECT: -b add,above</Program>
</Menu>

<Program label="Stick/Unstick">wmctrl -r :SELECT: -b toggle,sticky</Program>
<Program label="Stick">wmctrl -r :SELECT: -b add,sticky</Program>
<Program label="Unstick">wmctrl -r :SELECT: -b remove,sticky</Program>

<Minimize/>
<Maximize/>
<Close/>
<Kill/>
</Menu>





</Menu>
</JWM>

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

maybe a little late, and perhaps you never missed them, but

#52 Post by Puppus Dogfellow »

in a slightly different form with some bonuses (still no icons though).

thanks to musher0 and you'll need aemenu.tar.bz2, unpacked and placed in a /bin.

the following menu and the two letter launching code that will pop it up should be placed in /root and /root/my-applications/bin respectively. in addition to the defaults, some rox items, and the supplemental menus, you'll get a submenu that makes it easy to make your own ae or jwm menus from executable commands or full paths to progs/scripts, etc.

Code: Select all

menu "defaults/original puppy desktop"
cmd " audiomixer" defaultaudiomixer
cmd " audioplayer" defaultaudioplayer
cmd " browser" defaultbrowser
cmd " calendar" defaultcalendar
cmd " cdplayer" defaultcdplayer
cmd " chat" defaultchat
cmd " chmviewer" defaultchmviewer
cmd " ~ 'Chooser' ~" /usr/bin/defaults-chooser
cmd " connect" defaultconnect
cmd "console" "urxvt"
cmd " contact" defaultcontact
cmd " draw" defaultdraw
cmd " email" defaultemail
cmd " htmleditor" defaulthtmleditor
cmd " htmlviewer" defaulthtmlviewer
cmd " imageviewer" defaultimageviewer
cmd " mediaplayer" defaultmediaplayer
cmd " notecase" notecase
cmd " paint" defaultpaint
cmd "puppy package manager" "ppm"
cmd "puppy control panel" "pcp"
cmd " spreadsheet" defaultspreadsheet
cmd "screen shot" "tas"
cmd " texteditor" defaulttexteditor
cmd " textviewer" defaulttextviewer
cmd " videoplayer" defaultvideoplayer
cmd " wizardwizard" wizardwizard
cmd " wordprocessor" defaultwordprocessor
cmd "Xlock setup" "/usr/local/apps/Xlock/AppRun -configure"
cmd  "Xlock lock screen" "/usr/local/apps/Xlock/AppRun -locknow"
end

 menu "rox"
 cmd "rox /" "rox /"
  cmd " ~ ROX-Filer ~" "rox ~"
 cmd " Close All Rox" "cr"
  cmd "  rox Recents  " "rr"
  cmd " rox Bookmarks" "rb"
  cmd "applications" "rox /usr/share/applications" 
  cmd "/etc" "rox /etc"
 cmd "/mnt" "rox /mnt"
 cmd "/mnt/home" "rox /mnt/home"
cmd "my-applications" "rox /root/my-applications/bin"
cmd "my-documents" "rox /root/my-documents"
cmd "rox /tmp" "rox /tmp"
cmd "rox /root/.Trash" "rox /root/.Trash"

end   
 
menu "launchers and consoles" # beginning of menu
cmd "findnrun" "fnr"
cmd "gexec" "gexec"
cmd "grun" "grun"
cmd "lxterminal" "lxterminal"
 cmd "pexec" "pexec"
cmd "prun" "prun"
cmd "roxterm" "roxterm"
cmd "rxvt" "rxvt"
cmd "sakura" "sakura" # program to launch
cmd "urxvt" "urxvt"
end # end of menu   



menu "supplemental 1" # beginning of menu
cmd "close all desktop instances" "cadi" # program to launch
cmd "close current desktop instances" "ccdi" # program to launch
cmd "partview" "partview" # program to launch
cmd "lxtask" "lxtask" # program to launch
cmd "htop" "htop" # program to launch
cmd "winswitcher" "winswitcher"
cmd "jwm -restart" "jwm -restart"
cmd "5copies" "5copies"
cmd "5copiesDir" "5copiesDir"
cmd "nwp" "wp"
cmd "left full" "b5"
cmd "right full" "b10"
cmd "slocate search all" "slac"
cmd "slocate search limited" "sloc"
cmd "slocate update databases" "sluc"
cmd "spacefm" "spacefm"
end # end of menu   

menu "supplemental 2" # beginning of menu
cmd "chromium" "chromium"
cmd "firefox" "firefox"
cmd "galculator" "galculator"
cmd "gcolor2" "gcolor2"
cmd "gfnrename" "gfnrename"
cmd "gfontsel" "gfontsel"
cmd "goldendict" "goldendict"
cmd "google-chrome" "google-chrome"
cmd "palemoon" "palemoon"
cmd "pfind" "pfind"
cmd "recoll" "recoll"
cmd "xpad-backup" "xpad-backup"
cmd "xpad-clear" "xpad-clear"
cmd "xpad" "xpad"
end # end of menu
 menu "jwm menu maker" # beginning of menu
cmd "jwmxx-leafpad-grab executables" "cd  /usr/share/applications; grep Exec= *.desktop | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/jwmxx; leafpad /root/my-documents/Text/jwmxx
cmd "jwmxx-geany-grab executables" "cd  /usr/share/applications; grep Exec= *.desktop | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/jwmxx; geany /root/my-documents/Text/jwmxx
 cmd "make a menu entry" "jwmkr"
cmd "add the menu template" "jwmenuplate"

 menu "ae menu maker"
cmd "ae menu item maker" "aeae"
cmd "ae menu slot maker" "aeaem"
end


end # end of menu 

#menu "supplemental 3" # beginning of menu

#end # end of menu


#name mushu1 and place in /root to be able to launch it with the mm script below/change location in mm to reflect change in location or title of mushu1

#launcher

Code: Select all

#!/bin/sh

#aemenu -rc /root/mushu1   
#name mm and place in /root/my-applications/bin/
killall -q aemenu
sleep 0.1s
aemenu -rc /root/mushu1    

the jwmxx scripts strip the executable commands from /usr/share/applications and open a file (saved in my-documents/Text) containing them in either leafpad or geany. highlight and choose which type of menu item you want to make.


convenient to launch with a gexec or terminal shortcut, but it's so easy to modify you may want to have even more direct access and give it proper keycut---alt+ctrl plus a used for anything?

further details here. i wasn't able to get the jwmkr, jwmenuplate, aeae, or aeaem scripts to work correctly from either a jwm menu or an ae menu as bare code, but they all work fine if you call them from /root/my-applications/bin by the titles the above ae menu uses.


aeae

Code: Select all

#! /bin/sh
# name aeae
# turn an executable into a menu item (aemenu)

xclip -o | sed 's/^/cmd "title-here" "/' | sed 's/$/\"/' | xclip -selection clipboard
xdotool type "`xclip -out -selection clipboard`"	



aeaem

Code: Select all

#! /bin/sh
# name aeaem
# ae menu slot template


xdotool type 'menu "title"
(your menu here)
end
'
jwmkr

Code: Select all

#! /bin/sh
# name jwmkr
#  use on executables/ paths to executables
# adds jwm menu tags around a selection of text in any text editor
xclip -o | sed 's/^/<Program label="" icon="">/' | sed 's/$/<\/Program>/' | xclip -selection clipboard
xdotool type "`xclip -out -selection clipboard`"



jwmenuplate


Code: Select all

#! /bin/sh
 #name jwmenuplate

xdotool type "<Menu label="pick a better title" icon="/path/to/img_wots_opt_icon.jpgpngsvg" height="16">


[delete this and place your entries here]

</Menu>
"



the two jwmxx entries (jwmxx-leafpad/geany-grab executables) strip the executable commands from the .desktop files in usr/share/applications. to make an off PATH executable, program, or script into a menu item for either aemenu or jwm, highlight its full path and click the appropriate menu-item maker. works for individual commands/paths or batches, separated by line break or space doesn't seem to matter though i usually rely on the former and i'm relying on memory to attest the latter works. you can mix commands and paths--the script (based on miriam's ht-b) appears to be looking for breaks in the continuity of the text...

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#53 Post by Puppus Dogfellow »

in these spins, spacefm backs up rox. the following came together a little too late to be included, but i suggest this to back up/augment jwm.


(it's another version of the same stuff you've already got in /root/my-applications/bin if you've been updating as the thread suggests, but it utilizes an even more minimalistic windows manager, aemenu, and it keeps everything outside of the save file.)

edit: nwpus upgrade: Gaexec_Paexack.tar.xz

a mostly jwm-specific upgrade of above
Last edited by Puppus Dogfellow on Tue 16 Jun 2015, 14:32, edited 2 times in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

new wine sfs

#54 Post by Puppus Dogfellow »

w1744.sfs [made from wine-1.7.44-i486_v2.1.pet, wine_DOC-1.7.44-i486.pet, wine_DEV-1.7.44-i486_v2.pet, (version2013), wine_menu-1.pet, wine_extras-v2.pet (technosaurus and version2013), winenv-1.2.pet (argolance)]

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

add on pack for gaexec-paexack/ gaexec-paexack(jwm)/nwpus

#55 Post by Puppus Dogfellow »

also, you get the missing five increment steps for x,y, and squares (bare number command). pick which overloaded folder to activate the scripts from (should be close to 4000 in both /nwp and /root/my-applications/bin if you've been following the upgrade path/posts as they roll in). scripts launch instantly from the pxc/pexec/pwn/nwpp/gexec launchers, but despite the small overall size of their respective folders, and perhaps because of the sheer number of files they contain, there's a bit of a delay when you open or navigate them in rox. i generally open the /nwp files directly through the terminal or vgt if i need to edit something (i.e. "geany /nwp/(plus the one or two characters you'd have used to launch it) becomes quicker than navigating the folder sometimes, though there doesn't appear to be any delay with spacefm. and again, if you have to overwrite many files, choose spacefm to do it). so, relevant text cut from the posts that supply and inform this upgrade:

more legible font for the comments:

modified version of pexec launcher to use with the gaexec paexack and the nwp/nwpus directory/word processing/"word processing" functions. use if the original pxc is giving you time delay grief; this version doesn't have xdotool type anything, so timing and system idiosyncrasies don't come into play. arrow right to access the scripts in /nwp, type to enter a regular run command ("/nwp/" is already entered, but it's highlighted. typing overwrites it, the arrow key brings you to the end so you can enter the short script name). i suggest adding the two scripts that follow this one to your chosen PATH location or /nwp. since there doesn't appear to be any system conflict with a program named f or t, this would be the simplest way to quickly make up for the autoclosing pexec's lack of tab complete--findandrun does a nice job of that and you can choose whatever shortcut you want to be able to quickly reach a terminal from pxc or np, which is what i'm calling this script at the moment.

Code: Select all

#!/bin/dash

#modified version of pexec launcher to use with the gaexec paexack and the nwp/nwpus directory/word processing/"word processing" functions. use especially if the original pxc is giving you time delay grief; this version doesn't have xdotool type anything. arrow right to access the scripts in /nwp, type to enter a regular run command. i suggest adding the two scripts that follow this one to your chosen PATH location or /nwp. since there doesn't appear to be any system conflict with a program named f or t, this would be the simplest way to quickly make up for the autoclosing pexec's lack of tab complete--findandrun does a nice job of that and you can chose whatever shortcut you want to be able to quickly reach a terminal from pxc or nwpp (which is what i'm calling the script at the moment, though i suppose pwn and np are both arguably more inspirational).


# edit line below to preload other commands, i.e. history=/nwp/s1/ will start the search in a subdirectory of nwp...
[ -z "$history" ] && history="/nwp/"

# create and run dialog
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="nwpp" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:" --editable \
              --column="command" --entry-text $history)

# if the command line is empty, exit now
[ -z "$CMDLINE" ] && exit 0

 

# run the command
$CMDLINE &

exit 0

Code: Select all

#!/bin/sh
#name t and place in root/my-applications/bin  and/or /nwp
#lxterminal
#roxterminal
#urxvt
#sakura
#evilvte
#vte
#uncomment the terminal of your choice
rxvt

Code: Select all

#!/bin/sh
#name f and place in root/my-applications/bin  and/or /nwp
findnrun
#grun
#pexec
#pxc
#prun
#gexec
#uncomment the launcher of your choice
here's the original pexec thread


-----

2 add-on packs (the missing 5 increment steps):

x5y53000.tar.xz

x5y53000s.tar.xz

from the readme:

the missing 5 increment steps for 100--1205 (px) squares, a 0-2005 y axis, a 0-3000 x axis (ten steps fleshing out from 2000-3000 also added, which will overwrite five or six files in /nwp), an alternate, non xdotool-dependent launcher, and launcher shortcuts for goldendict (gd), findnrun (f), the new launcher (np, pwn, nwpp--all the same; use as a template to search in specific folders for executables), and notecase (nc).

s version of this folder contains the click-to-select versions of the scripts

copy or symlink files to nwp. 19kb compressed, 130kb uncompressed. (30 with gz compression ftr. 925 files (x2) not including the readme).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

take the show on the road

#56 Post by Puppus Dogfellow »

most up to date version of nwp/vgt/ae and jwm tweaks


mostly just missing the recoll stuff, but that will install the geany plugins (1.23 may work but they were done on geany1.24.1, which is what these spins are running. i think 1.19 (the original precise geany) will have problems with them), the vgt toolbar, activate the ten button autohidden tray, install the /nwp folder under /, add some scripts to /root/my-applications/bin and set their permissions, and give you twelve or so jwm configurations to play around with and further customize. aemenu, a variant of pexec, and jwm all working together to make it easy for you to have quick and easy control of your machine.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

some updates

#57 Post by Puppus Dogfellow »

palemoon-25.5.0-i686.sfs and palemoon-25.5.0-i686.pet by OscarTalks

currently the newest libre office packages:

LibreOffice-4.4.4_en-US_xz.sfs and LibreOffice-4.4.4_en-US_xz.pet


updated nwp/vgt help page also now available here

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#58 Post by s243a »

I just started using precise 57577 today, because something happened to my Precise 5.7.1 full installation making it so that spot isn't working correctly. I want to be able to run files on precise 57577 that are located where my existing full installation of precise 5.7.1 resides.

My save directory for precise 57577 is on sdb3. My full install of precise 5.7.1 is located on sdb1. When I try to start Freenet (located on sdb1) from precise 57577 (located on sdb3), I have the problem that spot is not able to use absolute paths with the cd command from mounted drives. For instance if I navigate to:
/mnt/sdb1/root/spoot/Freenet
and then I type

Code: Select all

# su spot
# sh run.sh spot
the start up script give me the error

Code: Select all

/mnt/sdb1/root/spot/Freenet:Not a directory
However, If I try typing

Code: Select all

cd /mnt/sdb1/root/spot/Freenet
as root then I have no issue.


----------
P.S. not related to the above, but I keep acidently hitting some shortcut key that opens a terminal as I type. What might this be?

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#59 Post by Puppus Dogfellow »

s243a wrote:

P.S. not related to the above, but I keep accidentally hitting some shortcut key that opens a terminal as I type. What might this be?

it could be the space bar plus a modifier or it could be u (if urxvt) or t (if rxvt) plus a modifier. my guess is spacebar plus shift is causing it--check jwmrc-personal for the keyboard shortcuts section (last half or so) and check the section with the spacebar shortcuts (a group of seven or so). if the source of the problem isn't there, check a little higher up in the file--there should be ten or so regular letter keys with modifiers and assignments included. I switch them up pretty frequently, but the spacebar set's kept relatively consistent. since it's happening accidentally/consistently, I'm guessing it's just a single modifier plus spacebar--I think at one point I encountered this myself and just got more careful--for me it was mostly holding down shift for another purpose but not releasing it fast enough when the next press was a space. something like that. since ''the'' and other words beginning with t are so frequently the initial and capitalized letter, you may want to check out that section as well, but i'm pretty sure the thing's tripped me up the same way and i'm pretty sure it's the space key that's causing it.


first i'm hearing of freenet, but you got it working, so all's okay with it?

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#60 Post by s243a »

Puppus Dogfellow wrote:
s243a wrote: first i'm hearing of freenet, but you got it working, so all's okay with it?
I had it working in Precise 5.7.1 so I presume that it would work with these variants. However, due to my problems mentioned above, I'm unable to run it from a different patrician then the one which runs 57577.

BTW there is a thread about freenet on these forums:
http://www.murga-linux.com/puppy/viewto ... 5&start=15

Edit: I solved the problem. Apparently, I had to give the patrician executable permissions for cd to work. This seems like more permission than should be required to change directories so perhaps it is a bug.

Post Reply