download obmexplorer.py

Usage

First, download the script and place it wherever you wish.

Second, edit your openbox menu file ( ~/.config/openbox/menu.xml), adding a menu node of an arbitrary label, id, and icon, and whose execute attribute is a string in the form of a command to have a python(3) interpreter execute obmexeplorer.py (wherever you have placed it), possibly with arguments --show-sys, --no-dirs, --no-recurse, or --no-files. Multiple directories may be specified, or in the case where none are specified, home directory ~ is used.

Here are some lines to get you started:


<menu label="docsdeskdown"
    id="three-dees-menu"
    execute="/usr/bin/python3 /path/to/obmexplorer.py --show-sys --no-recurse ~/Documents ~/Desktop ~/Downloads"
    icon="/usr/share/icons/Adwaita/22x22/places/user-desktop.png" />

<menu label="home"
    id="standard-home-menu"
    execute="/usr/bin/python3 /path/to/obmexplorer.py"
    icon="/usr/share/icons/Adwaita/16x16/actions/go-home.png" />

<menu label="home files"
    id="home-files-n-dots-menu"
    execute="/usr/bin/python3 /path/to/obmexplorer.py --no-dirs --no-recurse --show-sys"
    icon="/usr/share/icons/Adwaita/22x22/places/user-home.png" />