Virtual Multi-Pane (really multiple windows/directories, but it more less functions as multi-pane) and a Close All Rox Windows Command Line Menu Install And Icon Creator/Placer. run as a script or dump into a terminal; modify and rerun as often as you like:
Code: Select all
#!/bin/sh
#rox multipane -- 3 templates
#(since rox will use default apps for most files, you can
#use these same templates for a variety of batch launching,
#(but by then you could just swap out executables or swap in scripts))
#you could use any pic on your system for the icon if you swap in
#the correct path for it--i just went with what was in #/usr/share/applications/ROX-Filer-file-manager.desktop
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-4
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /mnt /root/.config /root/Choices /root/Desktop
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox4
' > /usr/share/applications/ROX-4.desktop
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-3
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /mnt /root/my-documents /usr/share/applications
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox3
' > /usr/share/applications/ROX-3.desktop
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-2
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /root/.jwm /etc/xdg/templates
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox2
' > /usr/share/applications/ROX-2.desktop
#add an icon for the next .desktop
#(rox colored (turquoise) X on a transparent background)
#default action for open as text changed transparent to black
#so i had to manually swap in the "none"
echo $'
/* XPM */
static char *cr_xpm[] = {
"21 21 2 1",
"0 c none",
"1 c #00FFFF",
"000000000000000000000",
"000000000000000000000",
"001000000000000000100",
"000100000000000001000",
"000010000000000010000",
"000001000000000100000",
"000000100000001000000",
"000000010000010000000",
"000000001000100000000",
"000000000101000000000",
"000000000010000000000",
"000000000101000000000",
"000000001000100000000",
"000000010000010000000",
"000000100000001000000",
"000001000000000100000",
"000010000000000010000",
"000100000000000001000",
"001000000000000000100",
"000000000000000000000",
"000000000000000000000"
};
' > /usr/share/pixmaps/puppy/cr.xpm
#all those "multipanes" can start to bury you in windows, so
# here's an easy way to close them all
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=Rox-CloseAll
Icon=/usr/share/pixmaps/puppy/cr.xpm
Comment=close all rox
Exec=rox -D /
Terminal=false
Type=Application
Categories=FileManager
GenericName=Rox-CloseAll
' > /usr/share/applications/Rox-CloseAll.desktop
fixmenus
jwm -reload
#other choices for menu position/category include:
#Utility;WordProcessor;FileSystem;System;Amusement;X-Internet-browser;TextEditor;Player;Recorder;X-Document;RasterGraphics
#(pick a .desktop file from /usr/share/applications whose menu position is close to what you want for your item and copy its category listing for your own .desktop), then run fixmenus; jwm -reload
swap out directories and how many you want launched, alter the position, sprinkle the menu with close-all-rox commands. use the same template to launch multiple files in geany or multiple windows in leafpad (as examples).
from the comments, the only problem i found from making .xpm icons this way:
when i checked to see if it worked, i noticed that my transparency was turned to black so i had to change the #000000 (black) to none.[...]
#(rox colored (turquoise) X on a transparent background)
#default action for open as text changed transparent to black
#so i had to manually swap in the "none"
sandwich the icons and .desktops you'd like to make with
Code: Select all
echo $'
(content--script spits out a sample create-file-with-content template)
' > (path to file)