A mirror of phillbush's xmenu.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
vor 4 Jahren
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <p align="center">
  2. <img src="/demo.gif", title="demo"/>
  3. </p>
  4. # XMenu
  5. XMenu is a menu utility for X.
  6. XMenu receives a menu specification in stdin, shows a menu for the user
  7. to select one of the options, and outputs the option selected to stdout.
  8. XMenu can be controlled both via mouse and via keyboard. The menu is a
  9. pop-up menu (that is, after selecting an option, the menu disappears).
  10. In order to generate a menu of applications based on .desktop entries,
  11. as specified by XDG, checkout [xdg-xmenu](https://github.com/OliverLew/xdg-xmenu)
  12. by [OliverLew](https://github.com/OliverLew).
  13. Check out my other project, [xclickroot](https://github.com/phillbush/xclickroot) for an application that can
  14. spawn xmenu by right clicking on the root window (i.e. on the desktop).
  15. ## Features
  16. XMenu comes with the following features:
  17. * XMenu reads something in and prints something out, the UNIX way.
  18. * Submenus (some menu entries can spawn another menu).
  19. * Separators (menu entries can be separated by a line).
  20. * Icons (menu entries can be preceded by an icon image).
  21. * X resources support (you don't need to recompile xmenu for configuring it).
  22. ## Files
  23. The files are:
  24. * `./README`: This file.
  25. * `./Makefile`: The makefile.
  26. * `./config.h`: The hardcoded default configuration for XMenu.
  27. * `./config.mk`: The setup for the makefile.
  28. * `./demo.gif`: A gif demonstrating how XMenu works.
  29. * `./xmenu.1`: The manual file (man page) for XMenu.
  30. * `./xmenu.c`: The source code of XMenu.
  31. * `./xmenu.sh`: A sample script illustrating how to use XMenu.
  32. * `./icons/`: Icons for the sample script
  33. ## Installation
  34. First, edit `./config.mk` to match your local setup.
  35. In order to build XMenu you need the `Imlib2`, `Xlib` and `Xft` header files.
  36. The default configuration for XMenu is specified in the file `config.h`,
  37. you can edit it, but most configuration can be changed at runtime via
  38. X resources. Enter the following command to build XMenu. This command
  39. creates the binary file `./xmenu`.
  40. make
  41. By default, XMenu is installed into the `/usr/local` prefix. Enter the
  42. following command to install XMenu (if necessary as root). This command
  43. installs the binary file `./xmenu` into the `${PREFIX}/bin/` directory, and
  44. the manual file `./xmenu.1` into `${MANPREFIX}/man1/` directory.
  45. make install
  46. ## Running XMenu
  47. XMenu receives as input a menu specification where each line is a menu
  48. entry. Each line can be indented with tabs to represent nested menus.
  49. Each line is made out of a label and a command separated by any number
  50. of tabs. Lines without labels are menu separators.
  51. See the script `./xmenu.sh` for an example of how to use XMenu to draw a
  52. simple menu with submenus and separators. The file `./demo.gif` shows how
  53. the menu generated by that script looks like.
  54. Read the [manual](https://github.com/phillbush/xmenu/wiki) for more information on running XMenu.
  55. ## License
  56. MIT/X Consortium License
  57. © 2020 phillbush
  58. Permission is hereby granted, free of charge, to any person obtaining a
  59. copy of this software and associated documentation files (the "Software"),
  60. to deal in the Software without restriction, including without limitation
  61. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  62. and/or sell copies of the Software, and to permit persons to whom the
  63. Software is furnished to do so, subject to the following conditions:
  64. The above copyright notice and this permission notice shall be included in
  65. all copies or substantial portions of the Software.
  66. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  67. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  68. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  69. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  70. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  71. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  72. DEALINGS IN THE SOFTWARE.