You are not logged in.

#1 2008-10-29 01:11:43

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Openbox default background color not black?!?

Since openbox doesn't handle desktop backgrounds, shouldn't the default desktop background be black?
Well for some odd reason mine isn't. It's gray (GIMP calls it HTML color #303030).

As you can see from the screenshot, I do have some colors tweaked for the terminal in .Xdefaults, but they're not affecting the background. I've checked just about everything else I can think of and no joy. Shouldn't the background be black? You can see that it isn't when compared to the black of the terminal.

It's not an X issue either, as X by itself is as black as night. Only when I start Openbox does it go gray. And other programs such as the terminal show black just fine, so it isn't a monitor issue either.

Fortunately it's a nice gray, so it's nice to look at, but it's bugging me that I can't figure out why it isn't black. Any ideas?

screenshotrj5.th.jpgthpix.gif

Bob

P.S. I'm not running feh or nitrogen or anything that's changing the desktop. GTK theme is Industrial, Openbox them is Neo, but changing either or both of them doesn't change the background.

Offline

#2 2008-10-29 01:30:48

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Openbox default background color not black?!?

That is the default.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#3 2008-10-29 01:34:48

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: Openbox default background color not black?!?

Yep, I just happened upon another post showing that was the default color in the autostart.sh file.

$BG -solid "#303030"

Yippee, mystery solved! smile

Bob

Offline

#4 2008-10-29 01:35:02

bslagowski
Member
Registered: 2008-02-23
Posts: 102

Re: Openbox default background color not black?!?

cat .config/openbox/autostart.sh

# 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"

Offline

#5 2008-10-29 01:35:59

bslagowski
Member
Registered: 2008-02-23
Posts: 102

Re: Openbox default background color not black?!?

14 seconds late, hehe.

Offline

#6 2013-04-17 00:13:33

Konstantin Morevich
Member
Registered: 2013-04-17
Posts: 1

Re: Openbox default background color not black?!?

In Ubuntu 12.10 with OpenBox 3.5.0 the autostart script which sets the background color to #303030 is /usr/local/libexec/openbox-autostart

Offline

#7 2013-04-17 00:43:44

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 12,872
Website

Re: Openbox default background color not black?!?

Konstantin, please don't necrobump old threads:
https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing


Arch + dwm   •   Mercurial repos

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB