obfilebrowser

2024-05-17 22:37 UTC
  • Xyne

Metadata

Description: An Openbox pipe menu application and file browser.
Latest Version: 2021
Source Code: src/
Architecture:
  • any
Dependencies:
  • mimeo
  • python-pyxdg
  • python3
Build Dependencies:
  • python-setuptools
Arch Repositories:
  • [xyne-any]
  • [xyne-i686]
  • [xyne-x86_64]
AUR Page: obfilebrowser
Arch Forum Thread: 77197
Tags:

About

ObFileBrowser is a *drumroll* file browser for Openbox. It uses pipemenus to display files and directories and generates submenus with commands to open files with their associated applications. These assocations can be configured using Mimeo or any other application that follows the Desktop Entry Specification.

See the help message for usage information.

Features

  • creates traversable menus for navigating between directories
  • creates launcher menus for files and directories
  • parent and current directories can be hidden
  • displays hidden files in separate, optional menu
  • options to add custom commands to launcher menu, e.g. for copying filepaths, creating associations

Additional Menus

  • desktop entry menus, sorted by name and by category

Screenshots

screenshot screenshot 

Help Message

$ obfilebrowser --help

usage: obfilebrowser [-h] [--no-parent] [--no-self] [--no-hidden]
                     [--term <cmd>] [--command <name> <command>] [--more-help]
                     [--desktop-menu] [--cache] [--delete-cache]
                     [<filepath>]

Browse and open files using Openbox pipe menus.

positional arguments:
  <filepath>            The path to a file or directory.

options:
  -h, --help            show this help message and exit
  --no-parent           Remove the ".." entry from the initial directory.
  --no-self             Remove the "." launcher menu from the initial
                        directory.
  --no-hidden           Remove the "hidden" menu containing hidden files and
                        directories.
  --term <cmd>          Specify a terminal command. See Mimeo's documentation
                        for details.
  --command <name> <command>
                        Custom commands to add to every Exec menu. See "--
                        more-help" for details.
  --more-help           Display more information.
  --desktop-menu        Display desktop entries sorted by name and category.
  --cache               Cache menus in a database to speed up subsequent
                        browsing. This should detect changes in target
                        directories and MIME-type associations.
  --delete-cache        Delete the cache database.

CHANGELOG

2016-01-21

  • Handle empty menus (e.g. due to permission errors).

2016-01-16

  • Rewritten in Python 3 (finally).

2011-06-16

  • Added caching for the ObDesktopBrowser menu.

2011-03-12

  • Added optional cache.

2011-02-22

  • Rewritten ObFileBrowser from scratch.
    • cleaner code
      • use of the xml.dom module for generating pipe menus
      • classes
      • Mimeo integration
    • pretty printing of the output
    • removed hard-coded xsel detection
    • added new options (–assoc, –command, –more-help)
    • added “–desktop-menu” option to display Desktop Entries

2011-02-02

  • Replaced old Mimeo code with new Mimeo module (new dependency: Mimeo)
  • Added “–term” option to select terminal for desktop files that require one.
Contact
echo xyne.archlinux.org | sed 's/\./@/'
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0