as usual, add to .jwmrc_personal.
Code: Select all
<Key mask="A" key="space">exec:gexec</Key>
<Key mask="C" key="space">exec:rox</Key>
<Key mask="S" key="space">exec:termit</Key>
<Key mask="CA" key="space">exec:rox /root/my-applications/bin /usr/share/applications</Key>
<Key mask="CS" key="space">exec:rox /mnt /mnt/home</Key>
<Key mask="AS" key="space">exec:rox /root/Startup /root/puppy-reference</Key>
<Key mask="CAS" key="space">exec:geany /root/.pexec_history .gexec_history /root/.gexec /root/despitethewarning.jwmrc /root/.jwmrc /root/scrap /root/notes /root/.jwmrc-tray /etc/xdg/templates/_root_.jwmrc /root/.jwm/jwmrc-personal /root/.jwm/jwmrc-personal2</Key>
#and if you've got a windows key, here's a template for another 8:
<Key mask="4" key="space">exec:</Key>
<Key mask="4A" key="space">exec:</Key>
<Key mask="4C" key="space">exec:</Key>
<Key mask="4S" key="space">exec:</Key>
<Key mask="4CA" key="space">exec:</Key>
<Key mask="4CS" key="space">exec:</Key>
<Key mask="4AS" key="space">exec:</Key>
<Key mask="4CAS" key="space">exec:</Key>
I haven't actually tested to see if the Winkey works when partnered with the other modifiers. if you're going to test it out, remember that for the windows functions (move, resize, etc. "kill" is actually a call to a program and needs the "exec:"), you need to remove the "exec:"; regular programs and scripts will not run without it.
changes done in jwmrc-personal, jwrc-tray, .jwmrc, /etc/xdg/templates/_root_.jwmrc, and your custom.jwmrc file (if it exists) need a jwm restart to take effect. changes done to scripts placed in the path (for example, in /root/my-applications/bin) will be immediately reflected in the key, icon, menu item, or button that calls them.
as for the program/file choices, you can swap out
termit for Urxvt or Rxvt if you don't feel like installing it. it allows copy and paste without having to use middle click through shortcut keys and the right click menu (tip: if you don't have a middle button, you can press left and right together for the same effect in rxvt/urxvt).
Control+Shift+Alt + Spacebar opens Geany and most of the files you may need to touch if following this thread. I also added notes and scrap--voila!, now it's a note-taking app. if any of the files are already opened in geany, the others will just be added to them. as to the two scrap files, you can use them as they're labeled, or you can also use them to help you launch things. in geany, if you go to
view >
show message window and click the terminal tab, you get a terminal beneath your document into which you can paste your growing and refined list of rox ____ ___ ____ or geany ____ ____ ___----that stuff can also be used for "menu items" when copied into .pexec_history or .gexec_history.
for rox, i chose what i thought would be useful or what's been brought up in the thread. simple to open to root, but you need to use an additional finger to get the pairs of folders to open. as with everything, a template for you to play around with.
i included the custom.jwmrc file i need on this machine--if you insist on editing .jwmrc instead of going through the personal folders in /root/.jwmrc or the _root_.jwrc file in /etc, this is one of the easiest ways to rename it to .jwmrc when necessary. (right click >copy >delete >enter >enter is probably easier.)
to convert any of these keys into terminal shortcuts, just open a file, place
#!/bin/bash
atop, and then paste in the same code from above that sits between the ><, taking out the "exec:".
so, for example, the last one from above becomes
Code: Select all
#!/bin/bash
geany /root/.pexec_history .gexec_history /root/.gexec /root/despitethewarning.jwmrc /root/.jwmrc /root/scrap /root/notes /root/.jwmrc-tray /etc/xdg/templates/_root_.jwmrc /root/.jwm/jwmrc-personal /root/.jwm/jwmrc-personal2
give it a name you'll remember and that's pretty short--for this one i suggest "tweak." you can then go back to .jwmrc-personal and swap out the code for "exec:tweak." this way, you can more easily mess around with the contents and more readily see the results.
tip: /root/.bashrc may provide some commands worth pasting into your scrap or g(p)exec_history file.
tip2: if any of the programs fails to launch, especial at first run, check the permissions (file name should be green in a stock rox setup--if not, right click, permissions, quiet or yes) or its location (it must be in the path--enter
into a terminal to see acceptable locations to copy, move, or link your scripts/programs into.
enjoy.