You are not logged in.
I'm using LXDE as my desktop environment, but I don't like having icons on the wallpaper. I removed the file manager, pcmanfm, (pacman -R pcmanfm) which also controls the desktop. I installed nitrogen and set a wallpaper for my background image. So far, so good. In my .config/openbox/autostart.sh file I added "nitrogen --restore &" but when I start x from the command line all I get is a black background. If I run "nitrogen --restore" from a terminal, the wallpaper will reset. I've tried a sleep value from 2 to 10 with no change. I'm sure it is something simple I'm overlooking, but I can't think what it would be.
Help, please
Kent
Last edited by 000krf (2008-11-10 01:48:19)
Offline
What else is in your autostart.sh? Make sure it has the correct permissions (I think you need execute)
Offline
I think LXDE uses its own session management .
Now I'm a complete n00b , so don't take me seriously but did you try adding a launcher in ~/.config/autostart
English is not my native language .
Offline
Do you have icons on the desktop? If so, turn off PCManFM's desktop icon support. If you wish to use said feature, you won't need nitrogen to set the wallpaper - PCManFM will do it itself.
Offline
What else is in your autostart.sh? Make sure it has the correct permissions (I think you need execute)
Here is my autostart.sh
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# Set a background color
BG=""
if which hsetroot >/dev/null; then
BG=hsetroot
else
if which esetroot >/dev/null; then
BG=esetroot
else
if which xsetroot >/dev/null; then
BG=xsetroot
fi
fi
fi
test -z $BG || $BG -solid "#303030"
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Conky
#conky &
nitrogen --restore &
The permissions are Owner: rwx Group: none Others: none
I think LXDE uses its own session management .
Now I'm a complete n00b , so don't take me seriously but did you try adding a launcher in ~/.config/autostart
That is entirely possible, and probable. I just don't know what file I need to edit.
Do you have icons on the desktop? If so, turn off PCManFM's desktop icon support. If you wish to use said feature, you won't need nitrogen to set the wallpaper - PCManFM will do it itself.
No, I don't have icons on the desktop. As I said in my OP, I have removed PCManFM. When I turned off the desktop icon support, I wasn't able to change wallpapers either. That is why I removed PCManFM and installed nitrogen.
Offline
SOLVED:
The autostart file I needed to edit is:
/etc/xdg/lxsession/LXDE/autostart
Apparently, this is a system wide file. I still can't figure out how to do it on a per user basis. At least it is working now.
Offline
That is entirely possible, and probable. I just don't know what file I need to edit.
LXDE does NOT use autostart.sh.
Instead, add *.desktop files in your ~/.config/autostart folder (make one if it is not there).
It would be nice to have a small app for quick adding LXDE startup programs. I'm planning to make one
Offline
pcmanfm --set-wallpaper /path/file.jpg in a cron job
Offline