All Projects → phillbush → Xmenu

phillbush / Xmenu

Licence: other
a x11 menu utility

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Xmenu

Pmenu
A pie-menu in xlib and imlib2.
Stars: ✭ 66 (-54.48%)
Mutual labels:  unix, x11, menu
Azpainter
Full color painting software for Unix-like systems for illustration drawing. This is un-official little fixed repository for package maintainers of image editor AzPainter (based on "mlib" toolkit). Official repository - http://azsky2.html.xdomain.jp/arc/download.html
Stars: ✭ 179 (+23.45%)
Mutual labels:  unix, x11
x11-cr
X11 bindings for Crystal language.
Stars: ✭ 32 (-77.93%)
Mutual labels:  unix, x11
shod-old
hybrid (floating and tiling) tabbed window manager
Stars: ✭ 56 (-61.38%)
Mutual labels:  unix, x11
Jgmenu
A simple X11 menu
Stars: ✭ 523 (+260.69%)
Mutual labels:  x11, menu
gobble
Rust rewrite of Devour
Stars: ✭ 23 (-84.14%)
Mutual labels:  unix, x11
shod
mouse-based window manager that can tile windows inside floating containers
Stars: ✭ 126 (-13.1%)
Mutual labels:  unix, x11
Nscde
Modern and functional CDE desktop based on FVWM
Stars: ✭ 526 (+262.76%)
Mutual labels:  unix, x11
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-63.45%)
Mutual labels:  unix, x11
Xnotify
read notifications from stdin and pop them up on the screen
Stars: ✭ 97 (-33.1%)
Mutual labels:  unix, x11
Asciinema Player
asciinema player is an open-source terminal session player written in Javascript and Rust/WASM. Unlike other video players asciinema player doesn't play heavy-weight video files (.mp4, .webm etc) and instead plays light-weight terminal session files called asciicasts.
Stars: ✭ 1,948 (+1243.45%)
Mutual labels:  unix
React Command Palette
An accessible browser compatible javascript command palette
Stars: ✭ 140 (-3.45%)
Mutual labels:  menu
Xinput Gui
A simple GUI for Xorg's Xinput tool.
Stars: ✭ 143 (-1.38%)
Mutual labels:  x11
Kf drawer
Flutter drawer (dynamic ready side menu)
Stars: ✭ 144 (-0.69%)
Mutual labels:  menu
Igcmenu
Grid and Circular Menu for iOS.
Stars: ✭ 136 (-6.21%)
Mutual labels:  menu
Cli Menu
🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
Stars: ✭ 1,776 (+1124.83%)
Mutual labels:  menu
I3wm Themer
🎨 Theme collection manager for i3-wm
Stars: ✭ 1,854 (+1178.62%)
Mutual labels:  unix
Fluentftp
An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#,…
Stars: ✭ 1,943 (+1240%)
Mutual labels:  unix
Pipe operator
Elixir/Unix style pipe operations in Ruby - PROOF OF CONCEPT
Stars: ✭ 136 (-6.21%)
Mutual labels:  unix
Xmonad
The core of xmonad, a small but functional ICCCM-compliant tiling window manager
Stars: ✭ 2,253 (+1453.79%)
Mutual labels:  x11

XMenu

XMenu is a menu utility for X. XMenu receives a menu specification in stdin, shows a menu for the user to select one of the options, and outputs the option selected to stdout. XMenu can be controlled both via mouse and via keyboard.

In order to generate a menu of applications based on .desktop entries, as specified by XDG, checkout xdg-xmenu by OliverLew.

Check out my other project, xclickroot for an application that can spawn xmenu by right clicking on the root window (i.e. on the desktop).

Features

XMenu comes with the following features:

  • XMenu reads something in and prints something out, the UNIX way.
  • Submenus (some menu entries can spawn another menu).
  • Separators (menu entries can be separated by a line).
  • Icons (menu entries can be preceded by an icon image).
  • X resources support (you don't need to recompile xmenu for configuring it).
  • Multi-head (xmenu supports multiple monitors by using Xinerama).
  • Type-to-select (you can select an item by typing part of its name).

Files

The files are:

  • ./README: This file.
  • ./Makefile: The makefile.
  • ./config.h: The hardcoded default configuration for XMenu.
  • ./config.mk: The setup for the makefile.
  • ./demo.gif: A gif demonstrating how XMenu works.
  • ./xmenu.1: The manual file (man page) for XMenu.
  • ./xmenu.c: The source code of XMenu.
  • ./xmenu.sh: A sample script illustrating how to use XMenu.
  • ./icons/: Icons for the sample script

Installation

First, edit ./config.mk to match your local setup.

In order to build XMenu you need the Imlib2, Xlib, Xinerama and Xft header files. The default configuration for XMenu is specified in the file config.h, you can edit it, but most configuration can be changed at runtime via X resources. Enter the following command to build XMenu. This command creates the binary file ./xmenu.

make

By default, XMenu is installed into the /usr/local prefix. Enter the following command to install XMenu (if necessary as root). This command installs the binary file ./xmenu into the ${PREFIX}/bin/ directory, and the manual file ./xmenu.1 into ${MANPREFIX}/man1/ directory.

make install

Running XMenu

XMenu receives as input a menu specification where each line is a menu entry. Each line can be indented with tabs to represent nested menus. Each line is made out of a label and a command separated by any number of tabs. Lines without labels are menu separators.

See the script ./xmenu.sh for an example of how to use XMenu to draw a simple menu with submenus and separators. The file ./demo.gif shows how the menu generated by that script looks like.

Read the manual for more information on running XMenu.

Acknowledgements

  • thingmenu for being the base for xmenu's code. However, xmenu evolved enough that it no longer resambles thingmenu at all.
  • dmenu for inspiring the stdin-to-stdout interface, and being base for drawing routines and input method code.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].