WMRootMenu problem

39 views
Skip to first unread message

Riza Dindir

unread,
Oct 1, 2023, 10:03:24 AM10/1/23
to Window Maker Users
Hello All,

I wanted to add something to me menu, and edited the ~/GNUstep/Default/WMRootMenu file. But when I added the application to the menu file, the menu changed. Now I can not see some of the menu items in the menu anymore.

Regards
Riza

Riza Dindir

unread,
Oct 1, 2023, 1:10:18 PM10/1/23
to Window Maker Users
Hello,

I think I have found the problem. This entry ("Openoffice Write", EXEC, open-writer) looks like it does not work. When the entry is changes to ("Openoffice Write", EXEC, "open-writer"), by putting text that contains a dash (-), it can be processed by the menu system of wmaker.

Can anybody confirm this?

Regards

Riza Dindir

unread,
Oct 1, 2023, 1:17:14 PM10/1/23
to Window Maker Users
Hello

To amend my previous post, the rules with the dashes in menu items was from the WindowMaker FAQ.

3.24 Why do dashes not work as menu entries?

If you wish to use a - as part of a menu item name, you must enclose the name in double quotes. This will only apply if you're editing the ~/GNUstep/Defaults/WMRootMenu file manually, as it is handled properly within WPrefs.

This will work:

(ssh, ("us-gw", EXEC, "Eterm -e ssh us-gw"),

This will not:

(ssh, (us-gw, EXEC, "Eterm -e ssh us-gw"),

Thanks to Martin Sillence for pointing this out.

But in this entry, it refers to this rule for the menu item name (underlined above). What I had assumed was that the first item in the parenthesis (which looks like an S-expression of lisp/scheme) is the name. But it seems that this rule applies for all text that contain dashes (-). The FAQ is a bit misleading on this.

Regards
Riza
Reply all
Reply to author
Forward
0 new messages