diff --git a/README.md b/README.md index cac99d6..4cb3fbc 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,16 @@ sorted according to the main categories as specified by The menu entries that are generated by xdgmenumaker are localised according to the running user locale settings. -xdgmenumaker currently supports generating menus for **blackbox**, -**compizboxmenu**, **fluxbox**, **fvwm**, **icewm**, **jwm**, **pekwm** and -**windowmaker**. +xdgmenumaker currently supports generating menus for: +* blackbox +* compizboxmenu +* fluxbox +* fvwm +* icewm +* jwm +* pekwm +* twm and derivatives such as ctwm and vtwm +* windowmaker **xdgmenumaker** requires: * Python 2.7 or 3.x @@ -227,6 +234,34 @@ xdgmenumaker command and restart pekwm all over again to update it. The advantage is that there will be no delay in displaying the menu. +TWM and Derivatives +------------------- + +You can create a menu for TWM running xdgmenumaker like this: + + $ xdgmenumaker -f twm > ~/.twm-xdgmenu + +If you're using the standard TWM, then unfortunately you'll have to +manually copy/paste the contents of the generated `~/.twm-xdgmenu` file +into your `~/.twmrc` manually. You could then add something like this +to your main menu definition: + + "Applications" f.menu "xdgmenu" + +It could be possible to create a script that updates the menus inside +the main `~/.twmrc` settings file, but I'll leave that as an exercise +for the user. + +If you're using CTWM or VTWM, instead of manually copy/pasting the menu +contents into your settings file, you could just add an include line +like this: + + sinclude(`/home/george/.twm-xdgmenu') + +**NOTE:** In order for this to work with VTWM, `vtwm` has to be called +with the `-m` switch. + + Window Maker ------------