Joined: July 2004
||Posted: June 28 2007,15:29
Please don't send me PMs with technical questions. I won't answer them. In this case the thread is already here and I'm already posting to it, so I'm making an exception.
|Hmm, unfortunately, that directory does not exist in /home/dsl. The themes directory is loaded into opt/icewm/share/themes and files there can't be seem to be "edited" even from root. I understand why, so i guess for me to add a line to the theme file in the desired theme would be impossible.|
The directory does not exist in /home/dsl because you haven't created it yet. Use the command "mkdir -p /home/dsl/.icewm/themes" to create it (the -p option also creates .icewm if it doesn't already exist). After that, copy the directory of your desired theme from /opt/icewm/themes to /home/dsl/.icewm/themes. Then copy the image you like into that theme's directory. You could either replace the existing background image (if one exists), or just change the filename listed in default.theme.
For example, if the file says:
either name your liquidglass.jpg to background.jpg or change the line in default.theme to:
I think you could also use a full path to liquidglass.jpg if the file already exists elsewhere on your system and you don't want to have duplicate files, but I haven't tried it.
I'm going to assume that "exec xscreensaver $" is *not* the actual command you used. It was most likely "exec xscreensaver &". In any case, there are at least a couple of possible reasons for failure.
The command has to be somewhere above the part of the script that starts the window manager, or it won't start when you want it to. If you add it to the end of the script, the window manager will run, and when you close the window manager xscreensaver will then try to run.
Since the command has to run before the window manager, you must remove the "exec" part. If exec is there, the script runs xscreensaver as a replacement to itself, and never gets to the part where it runs the window manager.
It could be that neither of these relate to your problem, but we won't know until you post exactly what file you edited, the exact command used, and where the command was added.
EDIT: lucky13, if an IceWM theme sets a background image, setting it in .xinitrc won't help. It's the same as with Fluxbox, which also can overwrite a previously set root window.