obbrowser

obbrowser is a very simple script which displays files and directories in the Openbox menu. It recursively browse the filesystem through openbox3 pipe menus. (related to fbrowse-tray)


The following line needs to be added inside the menu.xml file:
  <menu id="obbrowser /my/dir" label="Disk" execute="obbrowser"/>

Or, if you are using the obmenu-generator, add the following line inside the schema.pl file:
  {pipe => ['obbrowser /my/dir', 'Disk', 'drive-harddisk']},

The script supports a large variety of icons, thanks to File::MimeInfo module.

Github: https://github.com/trizen/obbrowser
AUR link: https://aur.archlinux.org/packages/obbrowser/

Simple version, in C++:
    https://github.com/trizen/cpp-learning/blob/master/openbox-pipefs.cpp

Simpler version, in Go:
    https://github.com/trizen/go-learning/blob/master/openbox-pipefs.go

Comments

  1. I have tried to use obbrowser, why my icons did not appear? what is the perl module that should I install? thanks

    ReplyDelete
    Replies
    1. obbrower depends on Linux::DesktopFiles and File::MimeInfo. This modules can be installed with the cpan utility (sudo cpan Linux::DesktopFiles ...).

      In addition to this, you can run the script with the "-h" argument for more details (perl obbrower -h) and/or edit the configuration file accordingly (~/.config/obbrower/config.pl) and add more path to icons, if necessarily.

      Delete
    2. I try this on Slackware. even the icon doesn't appear, obbrowser is very helpful. Nice Project, thanks

      Delete

Post a Comment