Page 1 of 1

"Change theme" option in IceWM menu

Posted: Sat 15 Sep 2012, 15:18
by Lothar
For many a moon I have walked with women. Yet my heart vexes me so!

Yesterday I discovered some great IceWM themes, and realized I couldn't use them without editing a text file, because I have my own custom menu and I removed the "change theme" option.

Can anyone tell me how to put it back?

I am Lothar, of the hill people!

Posted: Sat 15 Sep 2012, 15:43
by musher0
Hello.

1. Open your text editor.

2. In it, open file /root/.icewm/preferences

3. Find "theme" with the editor's search function.
(You should find something around line 292.)

4. Change this
# Show themes submenu
# ShowThemesMenu=0 # 0/1

to this :
# Show themes submenu
ShowThemesMenu=1 # 0/1

(Please notice the subtleties!) :)

5. Restart your icewm.
The themes submenu should now be visible again in the main menu.

Best regards.

PS. Here's some down-to-earth "psychology" in answer to your first line.

Tsk, tsk. You should never, but never, walk with a woman in the moonlight. Walk with her in the sunlight instead. Then you'll see the luminous side of her, if she has one. If she doesn't, well, she'll just vanish. Problem solved. :twisted: Much less vexing!

Posted: Sat 15 Sep 2012, 19:34
by Lothar
Thanks musher0.

Unfortunately, it already says ShowThemesMenu=1 and so does the prefs file in /usr/share/icewm. I have no idea what I did!

Posted: Sat 15 Sep 2012, 20:55
by Lothar
Does it help that the whole Icewm submenu in the menu is gone?

Is there a command that does the same thing?

Posted: Mon 17 Sep 2012, 03:12
by musher0
Lothar wrote:Does it help that the whole Icewm submenu in the menu is gone?

Is there a command that does the same thing?
Tentatively:

rename your current /root/.icewm directory to something like /root/not.icewm

go back to the initial black console with ctrl-alt-backspace

type xwin icewm and test the menu.

I suspect icewm will try to recreate a proper /root/.icewm directory with the defaults. And perhaps you will regain your themes submenu.

If that fails, I'd remove anything icewm from the computer. (Use pfind with "icewm" as parameter. And maybe make a backup of any personalized file related to icewm in a safe place.) Once your Puppy has no icewm files, I'd download and install a fresh copy of icewm.

I'm pretty sure that would work. After that you can "re-install" or copy your interesting icewm themes in the proper place: either /root/.icewm/themes or /usr/share/icewm/themes.

Good luck!