 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

6th April 2011, 10:01 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 196

|
|
|
Openbox set wallpaper issue
I set openbox wallpaper with:
Code:
feh --bg-scale ~/Pictures/image.jpg &
In ~/.config/openbox/autostart.sh last line.
But some kind of KDE stuff overrides it and sets default again after few seconds. I can override it again with manual command. Strange. :O
How can I set wallpaper then in openbox in proper way?
|

6th April 2011, 01:51 PM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 4,979

|
|
|
Re: Openbox set wallpaper issue
How do you log in--that is, do you boot up in GUI and then select openbox? I don't have that issue, but I boot up into textmode and then run startx manually.
Maybe you could put the feh line into ~/.xinitrc, but TBH, I don't know how it works if you boot into runlevel 5, there's some other files in /etc/X11 that are doing something.
Hopefully, someone with more knowledge will give a more accurate answer shortly, just threw this out here in case no one does.
|

6th April 2011, 03:26 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 196

|
|
|
Re: Openbox set wallpaper issue
yes, I boot to KDM and select Openbox. Very strange because after login I see my walpaper for few seconds.
|

6th April 2011, 05:35 PM
|
|
Registered User
|
|
Join Date: Jan 2010
Posts: 4,979

|
|
|
Re: Openbox set wallpaper issue
Is it worth the effort to you to try
Set runlevel to 3 (in /etc/inittab, edit default runlevel, changing from 5 to 3--or, change the 0 timeout of grub to 3 or something and then, add a 3 to the end of the kernel line)
Make a $HOME/.xinitrc (note the dot in front) which just contains
exec openbox-session
Then, type startx
And see if the problem disappears. I think it will, Still waiting for someone who understands the runlevel 5 with KDE installed boot process. Obviously, something gets called after autostart, but I wouldn't even know where to look.
|

6th April 2011, 06:01 PM
|
 |
"Registered User" T-Shirt Winner
|
|
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126

|
|
|
Re: Openbox set wallpaper issue
Before my personal computer (W2K/F12) gave up the ghost about a week and a half ago, I had been booting into Openbox for the prior 3 weeks or so. I set my Desktop wallpaper in Openbox by just opening the right-click (on empty desktop space) menu once booted into OB and selecting, if I remember correctly, "Appearance", and made my selection there. Then, when I booted into OB, my wallpaper was always set. No adding a line to the ~/.config/openbox/autostart.sh file needed, though, I suppose it can be done that way also.
Last edited by PabloTwo; 6th April 2011 at 06:03 PM.
|

6th April 2011, 06:22 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 196

|
|
|
Re: Openbox set wallpaper issue
In Fedora .../12/13 it was OK for me too.
Where can I set kdm wallpaper? It whould be the most simple override imo.
|

6th April 2011, 09:12 PM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,108

|
|
|
Re: Openbox set wallpaper issue
I had GNOME installed in F14 before I added openbox, and I haven't had to use feh - my preferred GNOME background appears without any background specification in openbox.
In my Arch system, without anything remotely GNOME-related, I notice I have a shell script named .fehbg in my home directory which I call from autostart.sh with
Code:
(sleep 1 && /home/pcg/.fehbg) &
The .fehbg script is the single command
Code:
feh --bg-tile '/usr/share/backgrounds/grey.png'
I really don't remember why I set it up that way - maybe I read it in the docs, maybe it was the first thing that worked. My Arch system is 3 years old (love that rolling release) and my memory is fading rapidly with age.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:26 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|