cool, but i stuck with your title.MochiMoppel wrote:No, you can name it anything you like.
ran into some sort of problem on a fresh installation. it only did some of the bookmarks and required a reboot to show up in the menu, though i didn't try an x-restart, just a few reloads and fixmenus. anyway, here's the "/root/places_submenu" file:
Code: Select all
<?xml version="1.0"?>
<JWM>
<Menu label="Places" icon="/usr/local/PupControl/icons/gtkicons20.png">
<Program label="/mnt/sda1/dwnldsfff/pets">rox /mnt/sda1/dwnldsfff/pets</Program>
<Program label="/root/Startup">rox /root/Startup</Program><bookmark title="/root/Downloads">/root/Downloads</bookmark><bookmark title="/usr/share/applications">/usr/share/applications</bookmark><bookmark title="/root/puppy-reference">/root/puppy-reference</bookmark></Menu>
</JWM>
Code: Select all
#!/bin/sh
MENUPATH="/root/places_submenu"
sed '
s|<bookmarks>|<JWM>\n<Menu label="Places" icon="/usr/local/PupControl/icons/gtkicons20.png">|
s|</bookmarks>|</Menu>\n</JWM>|
s|<bookmark title=|<Program label=|
s|</bookmark>|</Program>|
s|\(<Program label[^>]*>\)|\1rox |
' /root/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml > "$MENUPATH"
jwm -reload
thank you for your patience.