You are not logged in.
Pages: 1
Hi all, I'm new to the forums here and have tried my hardest to just dig around for the information I need, but after going through several topics and forums nothing seems to have worked. I have been working on getting arch linux set up after fiddling around with ubuntu and fedora for a few years now and have really enjoyed the experience so far. My problem is getting my background/wallpaper to properly load up when I login. I have posted below my .xinitrc and autostart.sh files and as you can see they are pretty stripped down. The background is there because I can see it through the tint tray on my screen as well as the partially transparent gnome-terminal i'm running. Any suggestions?
P.S. The bg does load up when I run feh in the command line.
~/.xinitrc
#!/bin/sh
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#if [ -d /etc/X11/xinit/xinitrc.d ]; then
# for f in /etc/X11/xinit/xinitrc.d/*; do
# [ -x "$f" ] && . "$f"
# done
# unset f
#fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
feh --bg-tile /home/andrew/pictures/cosmogony.jpg &
tint2 &
exec openbox-session
~/config/openbox/autostart.sh
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# Set a background color
# D-bus
#if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
#fi
# Make GTK apps look and behave how they were set up in the gnome config tools
# Preload stuff for KDE apps
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
feh --bg-tile /home/andrew/pictures/cosmogony.jpg &
eval `cat ~/.fehbg` &
Last edited by linovix (2011-07-21 03:47:05)
Offline
If I remember correctly from back in the day when I used feh for a wallpaper manager, you don't need to fork the process for it to work. Try removing the "&" from the end of the command.
EDIT: On second though, my advice sucks. Always do the inverse of what I say.
Last edited by cesura (2011-07-21 04:18:54)
Offline
I just tried that seperately with each of the commands and I still just get a grey background. If this helps the bg image flickers on briefly before disappearing behind the grey.
Offline
Try setting the image manually and then putting an entry in .xinitrc and autostart that calls your feh config file:
sh .fehbg &
Offline
Hmm. Still not working. Its almost as if something is overriding the bg command and making it grey.
Offline
I figured out what the problem was. The .xinitrc file in the root folder had not been corrected like I thought it was. I just commented out the original portion of the file and my background came up as it should. Thanks for your help!
Offline
Pages: 1