"Change theme" option in IceWM menu

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Lothar
Posts: 15
Joined: Thu 02 Jun 2011, 09:01

"Change theme" option in IceWM menu

#1 Post 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!

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post 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!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Lothar
Posts: 15
Joined: Thu 02 Jun 2011, 09:01

#3 Post 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!

User avatar
Lothar
Posts: 15
Joined: Thu 02 Jun 2011, 09:01

#4 Post by Lothar »

Does it help that the whole Icewm submenu in the menu is gone?

Is there a command that does the same thing?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#5 Post 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!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply