Sign in to follow this  
Followers 0
Mindovermaster

openbox Openbox Questions

8 posts in this topic

I'm messing around with Openbox atm. Just seeing what I can do with it.

 

Wallpaper, I tried many managers, xsetroot , esetroot, hsetroot and nitrogen. None seem to work. Unless any of you know the autostart works with any of these managers. I did add the program to autostart, but it didn't seem to do anything. This is my autostart:

#XFCE Panel
xfce4-panel

#Wallpaper
feh --bg-fill ~/matrix.jpg

I tried to mess with the feh code, but nothing seems to work. Anybody know about feh? I tried looking it up on google, arch, openbox, etc. But I can't see a solution where you can put it into autostart.

 

I got XFCE4-panel up. So, I'm happy I got that up :)

 

Might add more later...

Share this post


Link to post
Share on other sites

You can grab the autostart of CrunchBang distro :) I don't have it here @ work so I can't send you, sorry.. #! uses nitrogen

Share this post


Link to post
Share on other sites

Thanks, Guitmz. Looking at the code an applying it to my autostart, I don't get any wallpaper on my desktop unless I type nitrogen --restore in the terminal.

 

Here's my autostart again:

#XFCE Panel
xfce4-panel

#Wallpaper
nitrogen --restore &

:huh:  That should work? :angry:

Share this post


Link to post
Share on other sites

Hmmm that seems correct!

 

You'll need the & after XFCE as well (as far as I remember)

 

i bet (i hope im right) that you'll need a sleep in there... make something like this and try again: 

#Wallpaper

(sleep 2s && nitrogen --restore) &

#XFCE

(sleep 2s && xfce4-panel) &
1 person likes this

Share this post


Link to post
Share on other sites

:D :D :D :D :D :D :D :D :D :D :D

 

OK, what exactly did you do there? I see you added a sleep, but exactly what does that do?

Share this post


Link to post
Share on other sites

 

:D :D :D :D :D :D :D :D :D :D :D

 

OK, what exactly did you do there? I see you added a sleep, but exactly what does that do?

 

It worked?

The sleep prevents one process to interrupt or cause issues in another. In other words, makes only a single process run per time and gives it plenty (few secs is enough) time to load everything it needs. I recommend adding the xfce as the last one or something like that because that way, the other critical process will be there already and wont need to wait for xfce (apparently the most resource hunger one) to load

Share this post


Link to post
Share on other sites

add your commands to the beginning of ~/.xinit

I have never had any issues with adding commands to .xinit in this way :)

xfce4-panel
feh --bg-scale ~/wallpaper.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.