Openbox:Pipemenus

From Openbox

(Difference between revisions)
Jump to: navigation, search
m (System Integration)
m
 
(5 intermediate revisions by one user not shown)
Line 3: Line 3:
  
 
See the [[Help:Menus#Pipe_menus|menu documentation]] for how to use pipe menus in your Openbox installation.
 
See the [[Help:Menus#Pipe_menus|menu documentation]] for how to use pipe menus in your Openbox installation.
 
  
 
== Application Menus ==
 
== Application Menus ==
 +
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
|- style="padding: 1px;"
 
|- style="padding: 1px;"
Line 33: Line 33:
 
''Automagically creates Openbox application menus by analyzing xdg information provided by desktop files.''
 
''Automagically creates Openbox application menus by analyzing xdg information provided by desktop files.''
 
|}
 
|}
 
  
 
== Desktop Environment Integration ==
 
== Desktop Environment Integration ==
 +
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
|- style="padding: 1px;"
 
|- style="padding: 1px;"
Line 66: Line 66:
 
'''[[Openbox:Pipemenus:recentfilesxbel|recentfilesxbel]]'''
 
'''[[Openbox:Pipemenus:recentfilesxbel|recentfilesxbel]]'''
 
|valign="middle"|
 
|valign="middle"|
POSIX sh
+
UNIX sh
 
|valign="middle"|
 
|valign="middle"|
 
''Shows your recent documents using the newer xbel format. by [[User:davidbarr|davidbarr]]''
 
''Shows your recent documents using the newer xbel format. by [[User:davidbarr|davidbarr]]''
Line 78: Line 78:
 
|}
 
|}
  
== Multimedia & Games ==
+
===Personalisation===
 +
<span id="Background_Management"></span>
 +
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 +
|- style="padding: 1px;"
 +
|width="25%" valign="middle"|'''Script'''
 +
|width="10%" valign="middle"|'''Implementation'''
 +
|width="*%" valign="middle"|'''Description'''
 +
<!-- here is an example entry for a pipemenu. please maintain the style -->
 +
|- style="background: #eee; padding: 1px;"
 +
|valign="middle"|
 +
'''[http://www.gozer.org/my_stuff/c/c/ob3_theme.c ob3_theme]'''
 +
|valign="middle"|
 +
C
 +
|valign="middle"|
 +
''Openbox 3 theme changer by Mike Hokenson''
 +
<!-- END OF EXAMPLE -->
 +
|- style="background: #eee; padding: 1px;"
 +
|valign="middle"|
 +
'''[http://www.gozer.org/programs/c/c/ob3_wall.c ob3_wall]'''
 +
|valign="middle"|
 +
C
 +
|valign="middle"|
 +
''Openbox 3 desktop wallpaper changer by Mike Hokenson''
 +
|- style="background: #eee; padding: 1px;"
 +
|valign="middle"|'''[https://github.com/vapniks/ob-pipe-menus show_ob_keybindings]'''
 +
|valign="middle"|Python
 +
|valign="middle"|''View/edit keybindings by Joe Bloggs''
 +
|- style="background: #eee; padding: 1px;"
 +
|valign="middle"|
 +
'''[[Openbox:Pipemenus:bmenu-1.0|bmenu-1.0]]'''
 +
|valign="middle"|
 +
Python
 +
|valign="middle"|
 +
''A pipe menu which uses Feh to select the wallpaper from the chosen directory by Mulberry''
 +
|}
 +
 
 +
== Media & Games ==
 +
 
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
|- style="padding: 1px;"
 
|- style="padding: 1px;"
Line 121: Line 158:
 
|}
 
|}
  
 +
== System Integration ==
  
==Personalisation==
 
<span id="Background_Management"></span>
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
|- style="padding: 1px;"
 
|width="25%" valign="middle"|'''Script'''
 
|width="10%" valign="middle"|'''Implementation'''
 
|width="*%" valign="middle"|'''Description'''
 
<!-- here is an example entry for a pipemenu. please maintain the style -->
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
'''[http://www.gozer.org/my_stuff/c/c/ob3_theme.c ob3_theme]'''
 
|valign="middle"|
 
C
 
|valign="middle"|
 
''Openbox 3 theme changer by Mike Hokenson''
 
<!-- END OF EXAMPLE -->
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
'''[http://www.gozer.org/programs/c/c/ob3_wall.c ob3_wall]'''
 
|valign="middle"|
 
C
 
|valign="middle"|
 
''Openbox 3 desktop wallpaper changer by Mike Hokenson''
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|'''[https://github.com/vapniks/ob-pipe-menus show_ob_keybindings]'''
 
|valign="middle"|Python
 
|valign="middle"|''View/edit keybindings by Joe Bloggs''
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
'''[[Openbox:Pipemenus:bmenu-1.0|bmenu-1.0]]'''
 
|valign="middle"|
 
Python
 
|valign="middle"|
 
''A pipe menu which uses Feh to select the wallpaper from the chosen directory by Mulberry''
 
|}
 
 
== System Integration ==
 
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
|- style="padding: 1px;"
 
|- style="padding: 1px;"
Line 182: Line 183:
 
'''[[Openbox:Pipemenus:Date_Menu|date-menu]]'''
 
'''[[Openbox:Pipemenus:Date_Menu|date-menu]]'''
 
|valign="middle"|
 
|valign="middle"|
POSIX sh
+
UNIX sh
 
|valign="middle"|
 
|valign="middle"|
 
''A simple date, time, and calendar.''
 
''A simple date, time, and calendar.''
Line 201: Line 202:
 
|- style="background: #eee; padding: 1px;"
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
|valign="middle"|
'''[[Openbox:Pipemenus:Dirsmenu|Directory Menu]]'''
+
'''[[Openbox:Pipemenus:processes-python|processes]]'''
 
|valign="middle"|
 
|valign="middle"|
Perl
+
Python
 
|valign="middle"|
 
|valign="middle"|
''Pipe menu for recursive directory listings.''
+
''Reads out info from /proc and pipes it to a menu. Renice, kill or restart apps through the menu. Has a filter, so not all apps/daemons are shown in the menu. By Vlad George.''
 
|- style="background: #eee; padding: 1px;"
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
|valign="middle"|
'''[[Openbox:Pipemenus:processes-python|processes]]'''
+
'''[https://github.com/whiteinge/ob-randr ob-randr]'''
 
|valign="middle"|
 
|valign="middle"|
 
Python
 
Python
 
|valign="middle"|
 
|valign="middle"|
''Reads out info from /proc and pipes it to a menu. Renice, kill or restart apps through the menu. Has a filter, so not all apps/daemons are shown in the menu. By Vlad George.''
+
''Easily change resolution, rotation, scaling, panning, and other xrandr operations as well as quickly see the capabilities of connected displays.''
 +
|}
 +
 
 +
=== Devices & Files ===
 +
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 +
|- style="padding: 1px;"
 +
|width="25%" valign="middle"|'''Script'''
 +
|width="10%" valign="middle"|'''Implementation'''
 +
|width="*%" valign="middle"|'''Description'''
 
|- style="background: #eee; padding: 1px;"
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
|valign="middle"|
Line 222: Line 231:
 
|- style="background: #eee; padding: 1px;"
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
|valign="middle"|
'''[https://github.com/whiteinge/ob-randr ob-randr]'''
+
'''[[Openbox:Pipemenus:obdevicemenu|obdevicemenu]]'''
 
|valign="middle"|
 
|valign="middle"|
Python
+
Bash
 
|valign="middle"|
 
|valign="middle"|
''Easily change resolution, rotation, scaling, panning, and other xrandr operations as well as quickly see the capabilities of connected displays.''
+
''Uses udisks to easily mount, unmount or eject removable devices. Extensive configuration allows notifications about success or failure of operation, & modification of several other options. By Jamie Nguyen.''
 +
|- style="background: #eee; padding: 1px;"
 +
|valign="middle"|
 +
'''[[Openbox:Pipemenus:Dirsmenu|Directory Menu]]'''
 +
|valign="middle"|
 +
Perl
 +
|valign="middle"|
 +
''Pipe menu for recursive directory listings.''
 
|- style="background: #eee; padding: 1px;"
 
|- style="background: #eee; padding: 1px;"
 
|valign="middle"|
 
|valign="middle"|
Line 233: Line 249:
 
Python
 
Python
 
|valign="middle"|
 
|valign="middle"|
''display files and directories and generates submenus with commands to open files with their associated applications. By Xyne''
+
''Display files and directories and generates submenus with commands to open files with their associated applications. By Xyne''
 
|}
 
|}
  
 
== Miscellaneous ==
 
== Miscellaneous ==
 +
 
=== Internet ===
 
=== Internet ===
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
 
{| border="0" width="100%" cellspacing="1" cellpadding="5" align="left"
Line 272: Line 289:
 
''Shows the weather forecast of the city passed as argument.''
 
''Shows the weather forecast of the city passed as argument.''
 
|}
 
|}
 
  
 
=== Utilities ===
 
=== Utilities ===
Line 295: Line 311:
 
''A simple task list in the form of a pipe menu. Simple features are supported for the time being. Adding tasks. Clicking on a task renders it completed and is therefore removed from the list.''
 
''A simple task list in the form of a pipe menu. Simple features are supported for the time being. Adding tasks. Clicking on a task renders it completed and is therefore removed from the list.''
 
|}
 
|}
 
  
 
== Script collections ==
 
== Script collections ==

Latest revision as of 13:28, 24 March 2018

(thumbnail)
Example of a pipe menu in action.

Pipe menus are generated at run time (on-the-fly) based on output of scripts. These are also called "dynamic menus," and are often used to provide added functionality to Openbox or integration with other software on the system. A number of scripts for generating pipe menus have been collected on this page. Please note many of these scripts have not been reviewed, and were not written by people directly involved with the project.

See the menu documentation for how to use pipe menus in your Openbox installation.

Contents

[edit] Application Menus

Script Implementation Description

openbox-xdgmenu

C

Create an XDG menu

Openbox Application Menu

Perl

Reads .desktop files from multiple directories to construct a flat menu. Useful if your system doesn't have working XDG or Debian menus.

obamenu

Python

Automagically creates Openbox application menus by analyzing xdg information provided by desktop files.

[edit] Desktop Environment Integration

Script Implementation Description

gtk-bookmarks

Bash

Simple bash script to create a pipe menu from ~/.gtk-bookmarks by Mulberry

thunar-bookmarks

Perl

A pipe menu that duplicates ~/.gtk-bookmarks (Nautilus, PCManFM, Thunar), by dbbolton

dolphin-bookmarks

Perl

A pipe menu that duplicates user-places.xbel (Dolphin, etc) by dbbolton

recentfilesxbel

UNIX sh

Shows your recent documents using the newer xbel format. by davidbarr

rox-filer bookmarks

Python

Pipes the rox-filer bookmarks from ~/.config/rox..../bookmarks.xml into the Openbox menu. Running one opens the bookmark in rox-filer.

[edit] Personalisation

Script Implementation Description

ob3_theme

C

Openbox 3 theme changer by Mike Hokenson

ob3_wall

C

Openbox 3 desktop wallpaper changer by Mike Hokenson

show_ob_keybindings Python View/edit keybindings by Joe Bloggs

bmenu-1.0

Python

A pipe menu which uses Feh to select the wallpaper from the chosen directory by Mulberry

[edit] Media & Games

Script Implementation Description

xmms2-OpenboxMenu

Python

xmms2 Pipe menu client

Audacious Control

Bash

Controls Audacious from a pipe menu by Matsuda Shinpei

Audacious Control (alternative)

Perl

A menu to control Audacious. Uses a builtin client for Audacious and depends on wmctrl. By AaylaSecura

MPD/MPC Control

Perl

Control MPD/MPC from a pipe menu. Depends on MPC and one of gtkdialog/matedialog/zenity. By AaylaSecura

my_q3stat

C

A script to query Quake 3 servers by Mike Hokenson

[edit] System Integration

Script Implementation Description

ob-cpufreq-0.2

Python

See your CPU frequency by John McKnight

ob-sysinfo

Perl

A similar system information script written in Perl and easy to modify/extend by dbbolton

date-menu

UNIX sh

A simple date, time, and calendar.

Reboot Menu

Perl

Allows you to reboot to the any of the options in your grub.conf.

battery

Bash

A simple script to show acpi settings battery and temperature.

processes

Python

Reads out info from /proc and pipes it to a menu. Renice, kill or restart apps through the menu. Has a filter, so not all apps/daemons are shown in the menu. By Vlad George.

ob-randr

Python

Easily change resolution, rotation, scaling, panning, and other xrandr operations as well as quickly see the capabilities of connected displays.

[edit] Devices & Files

Script Implementation Description

mntmenu

Perl

Pipe menu that parses /etc/fstab for user mountable filesystems and allows the user to mount them. By Matthew Fitzgibbons.

obdevicemenu

Bash

Uses udisks to easily mount, unmount or eject removable devices. Extensive configuration allows notifications about success or failure of operation, & modification of several other options. By Jamie Nguyen.

Directory Menu

Perl

Pipe menu for recursive directory listings.

obfilebrowser

Python

Display files and directories and generates submenus with commands to open files with their associated applications. By Xyne

[edit] Miscellaneous

[edit] Internet

Script Implementation Description

Chromium bookmarks

Perl

Create a pipemenu of chromium/google-chrome bookmarks by Spoiledbroth

Firefox bookmarks

Python

Create a pipemenu of Firefox bookmarks by Manuel Colmenero.

feeder

Python

A script to pipe RSS and Podcast feeds into the Openbox menu by Vlad George

Weather Pipe Menu

Python

Shows the weather forecast of the city passed as argument.

[edit] Utilities

Script Implementation Description

clipboard_menu

Python

Menu of recently copied text clips, selecting an item pastes it (requires parcellite or clipit) by Joe Bloggs

Palobo's Openbox SimpleTasks Tasklist

Python

A simple task list in the form of a pipe menu. Simple features are supported for the time being. Adding tasks. Clicking on a task renders it completed and is therefore removed from the list.

[edit] Script collections

[edit] External links

Personal tools