why I have duplicates items on my Styles and Themes menu ?

36 views
Skip to first unread message

Elnath

unread,
Sep 2, 2023, 9:35:05 AM9/2/23
to Window Maker Users
Hi, I have edited my Root Menu because was missing the "appareance" menu;
now I have duplicates items on "Styles" and "Themes" sub-menu, as in attached picture.

Where I can look for the origin of the problem and try a solution ?

Thank you

Menu.png

Martin Baumler

unread,
Sep 4, 2023, 1:58:32 AM9/4/23
to Window Maker Users
I would first try with another new user to see if the behaviour is the same.

worst case scenario you can regenerate the configuration by using wmaker.inst but it will overwrite your current files. backup  ~/Gnustep first.

Russ Button

unread,
Sep 4, 2023, 4:39:03 AM9/4/23
to Martin Baumler, Window Maker Users
Your personal theme files are located in:

~/GNUstep/Library/WindowMaker/Themes

Your system style files are at:

/usr/share/WindowMaker/Styles

Your system theme files are at:

/usr/share/WindowMaker/Themes

Your menu comes from:

~/GNUstep/Defaults/WMRootMenu

Take a look at WMRootMenu.

Russ

--
You received this message because you are subscribed to the Google Groups "Window Maker Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wmaker-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wmaker-user/78d82624-13c4-4049-8173-10ecc6b45558n%40googlegroups.com.

Elnath

unread,
Sep 4, 2023, 12:40:20 PM9/4/23
to Window Maker Users



Hi guys....
I tell you what I did following your advice: I created a new temporary user "dummy" and verified that the problem still exists; I ran wmaker.inst and I found myself with the "base" environment, with the correct menu but always present the duplicate entries in the "Styles", "Themes" and "Icon set" submenus. The weird thing is that my "~/GNUstep/Defaults/WMRootMenu" points to /usr/share/WindowMaker/menu but the menu I edited to have the missing "Appearance" entry is /usr/share/WindowMaker/menu.it (since I'm Italian) which does not appear to be pointed by anyone . So I don't know where else to look; okay that's not that bad, but those duplicates are really bad.

Thanks for your suggestions, if there's anything else I can gladly listen to

Martin Baumler

unread,
Sep 4, 2023, 1:16:41 PM9/4/23
to Window Maker Users
Russ is right.  I have never installed wmaker from source, it always came with Slackware Linux since 90s so I am not sure about this. What I have is the WMRootMenu as a single file, which makes sense, as a normal user I should not be able to edit installed programs/data under anything outside my $HOME. You might want to rename the symlink and copy the menu.it version as WMRootMenu then restart wmaker.

Elnath

unread,
Sep 4, 2023, 1:24:04 PM9/4/23
to Window Maker Users
UPDATE: hi guys, i had an intuition: i went to check the file /usr/share/WindowMaker/appareance.menu and i found this:

#include "wmmacros"
Appearance MENU
"Background" OPEN_MENU background.menu
"Styles" OPEN_MENU -noext STYLES_DIR USER_STYLES_DIR WITH setstyle "
Themes" OPEN_MENU -noext THEMES_DIR USER_THEMES_DIR WITH setstyle
"Icon Sets" OPEN_MENU -noext ICON_SETS_DIR USER_ICON_SETS_DIR WITH seticons
"Save IconSet" EXEC geticonset USER_ICON_SETS_DIR/"%a(IconSet name)"
"Save Theme" EXEC getstyle -p "%a(Theme name)"
"Preferences Utility" EXEC /usr/share/GNUstep/Applications/WPrefs.app/WPrefs
Appearance END

so I stripped away all items with USER_*, and now my menu no longer has the annoying double items I described; I still have to work on the Background/Images submenu but now I think I figured out how to do it


stay tuned ;)

Martin Baumler

unread,
Sep 5, 2023, 1:45:35 PM9/5/23
to Window Maker Users
have you tried replacing symlink you mentioned with a modified WMRootMenu  file ?

again, I never installed wmaker from scratch, but to me what are you doing feels wrong because those files are supposed to be global system files. If, by chance, something is very wrong with them then probably the Linux distro you are using messed up big time. Any customization should be done under your $HOME
Reply all
Reply to author
Forward
0 new messages