Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: need help with persistent icewm wallpaper, wallpaper icewm< Next Oldest | Next Newest >
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 28 2007,15:12 QUOTE

bsetbg [path]

So if your foo.png background is in ~/.fluxbox/backgrounds, you would have a line in .xinitrc like this:

bsetbg /home/dsl/.fluxbox/backgrounds/foo.png &

You can check the man page for bsetbg using Google if you need to try some of its options for your huge monitor.

As far as xscreensaver, I have a line like this in my .xinitrc (hope you meant the ampersand instead of dollar sign):
xscreensaver -nosplash &

Edit: I don't think DSL is any more work than other distros. Some run everything behind pretty coatings. There's maybe a little more tweaking involved with DSL to get it working for certain hardware configurations, but changing wallpaper and setting up a screensaver isn't particularly troublesome.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 28 2007,15:29 QUOTE

Quote
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.
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.

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:
DesktopBackgroundImage="background.jpg"
either name your liquidglass.jpg to background.jpg or change the line in default.theme to:
DesktopBackgroundImage="liquidglass.jpg"
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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
bwh1969 Offline





Group: Members
Posts: 67
Joined: Mar. 2006
Posted: June 28 2007,15:59 QUOTE

Thanks, and I won't PM:-)  I usually run Kubunty 7.04, so in that regards, the graphical format of changing settings is "easier."  DSL is better if I can get it to run because it is so "thrifty" on resources.

.xinitrc file.  I added the xscreensaver -nosplash & to the top.  I stuck bsetbg /home/dsl/.fluxbox/backgrounds/glass.jpg at the end, logged out and then in and the wallpaper is there now.  Also, when I start xscreensaver from the menu, it no longer tells me that daemon is not started, so I assume it is started.  I am putting my file here so that it might help others:

# put X windows programs that you want started here.
# Be sure to add at the end of each command the &

KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP="$(getoption.lua $HOME/.desktop wm)"
ICONS="$(getoption.lua $HOME/.desktop icons)"
xscreensaver -nosplash &
umix -lf .umix 2>/dev/null

# For non-US Keyboards
if [ ${KEYTABLE:0:2} != "us" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

#if egrep -qv noicons /proc/cmdline 2>/dev/null; then
if [ "$ICONS" == 1 ]; then
 for x in `ls -1 .xtdesktop/*.hide 2>/dev/null`; do rm -f ${x%.*}; done
 iconsnap.lua &>/dev/null &
 xtdesk.sh
fi
dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
torsmo 2>/dev/null &
case $DESKTOP in
 fluxbox )
   fluxter &>/dev/null &
   wmswallow -geometry 70x80 docked  docked.lua &
   exec fluxbox 2>/dev/null  
 ;;
 jwm )
   ./.background
   sleep 2
   exec jwm 2>/dev/null
 ;;
 icewm)
 exec /opt/icewm/starticewm 2>/dev/null
 ;;
 * )
   exec fluxbox 2>/dev/null
 ;;
esac

bsetbg /home/dsl/.fluxbox/backgrounds/glass.jpg
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: June 28 2007,16:15 QUOTE

icewm is not a DSL application. It is a MyDSL extension.
This topic has been moved to the Window Manager MyDSL extension area.
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: June 28 2007,20:02 QUOTE

Quote
when I start xscreensaver from the menu, it no longer tells me that daemon is not started, so I assume it is started.

Adding -nosplash runs it without the pop up. Leave it be for however long you've set your time out and you'll see that it works.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
9 replies since June 27 2007,23:20 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: need help with persistent icewm wallpaper

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code