You are not logged in.

#1 2011-11-27 19:22:15

asipper
Member
Registered: 2011-11-24
Posts: 22

How to set openbox background.

Whenever I follow a tutorial to set openboxes background it works until I logout or shut down.  How would I get it to stay.

Offline

#2 2011-11-27 19:24:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to set openbox background.

https://wiki.archlinux.org/index.php/Openbox

autostart is read by openbox-session at startup. It contains the programs that are run at startup. It is typically used to set environment variables, launch panels/docks, set background image

How exactly are you setting your background?

Offline

#3 2011-11-27 19:30:16

asipper
Member
Registered: 2011-11-24
Posts: 22

Re: How to set openbox background.

Using nitrogen (I think that's what it's called)

Last edited by asipper (2011-11-27 19:30:29)

Offline

#4 2011-11-27 19:32:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to set openbox background.

asipper wrote:

Using nitrogen (I think that's what it's called)

I asked 'how exactly'. Is nitrogen called by the autostarting scripts?

Offline

#5 2011-11-27 19:33:39

asipper
Member
Registered: 2011-11-24
Posts: 22

Re: How to set openbox background.

oh sorry.  No I seemed to have missed that part I run the program.

Last edited by asipper (2011-11-27 19:33:59)

Offline

#6 2011-11-27 21:26:40

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: How to set openbox background.

I think this is what your looking for;

nitrogen --restore &

Offline

#7 2011-11-27 23:35:32

asipper
Member
Registered: 2011-11-24
Posts: 22

Re: How to set openbox background.

zero_one wrote:

I think this is what your looking for;

nitrogen --restore &

Would I put that in the autostart script?

Offline

#8 2011-11-27 23:38:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to set openbox background.

asipper wrote:
zero_one wrote:

I think this is what your looking for;

nitrogen --restore &

Would I put that in the autostart script?

Yes https://wiki.archlinux.org/index.php/Nitrogen (at teh very bottom of the page).

Offline

#9 2011-11-28 14:26:45

Arrakis11
Member
Registered: 2011-11-14
Posts: 14

Re: How to set openbox background.

use 'feh' and add the command to your autostart

Offline

#10 2011-11-28 14:49:58

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,923
Website

Re: How to set openbox background.

Arrakis11 wrote:

use 'feh' and add the command to your autostart

+1 for

feh --bg-fill /my/file.jpg

and

cat .config/openbox/autostart
...
sh ~/.fehbg &
...

zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#11 2011-11-28 15:44:24

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: How to set openbox background.

You can also use hsetroot.

Offline

#12 2011-11-28 16:38:00

Cheesecake Charlie
Member
Registered: 2011-09-08
Posts: 94

Re: How to set openbox background.

SanskritFritz wrote:
Arrakis11 wrote:

use 'feh' and add the command to your autostart

+1 for

feh --bg-fill /my/file.jpg

and

cat .config/openbox/autostart
...
sh ~/.fehbg &
...

Use feh smile

Offline

#13 2011-11-28 20:28:57

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: How to set openbox background.

Another feh vote.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2011-11-29 12:02:00

asipper
Member
Registered: 2011-11-24
Posts: 22

Re: How to set openbox background.

Thanks Feh worked

Offline

#15 2011-11-29 13:36:53

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,923
Website

Re: How to set openbox background.

Heh, why am I not surprised smile
[solved] then?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB