Xorg recurring background

Brandon helsley brandon.helsley at hotmail.com
Sun May 3 17:12:30 UTC 2020


Ok I did, "feh --bg-center Downloads/wallpaper1.jpg" in .xinitrc

What does PATH and $HOME mean?

I copied my .xinitrc to .xsession. Can you tell me why I'm supposed to do this?

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: Michael Gmelin <freebsd at grem.de>
Sent: Sunday, May 3, 2020 11:05:14 AM
To: Brandon helsley <brandon.helsley at hotmail.com>
Cc: freebsd-x11 at freebsd.org <freebsd-x11 at freebsd.org>
Subject: Re: Xorg recurring background

Anything you run to set the background while X is running will also work from within those files (X is already started when they‘re executed). You have to make sure that the programs you call are found in PATH (and specify the correct path to any files you pass as parameters, like images - you can use $HOME in ~/.xinitrc)

On 3. May 2020, at 18:50, Brandon helsley <brandon.helsley at hotmail.com> wrote:


So would " feh --bg-center " in .xinitrc or .xsession work?

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: Michael Gmelin <freebsd at grem.de>
Sent: Sunday, May 3, 2020 10:11:29 AM
To: Brandon helsley <brandon.helsley at hotmail.com>
Cc: freebsd-x11 at freebsd.org <freebsd-x11 at freebsd.org>
Subject: Re: Xorg recurring background

Oh, so that’s what you meant with “recurring”? Like it permanently?

You can set these kind of things in ~/.xinitrc
(or if you use a session manager, ~/.xsession).

Just add the command in there before starting your window manager,

e.g.

    xmodmap ...
    xsetroot ...
    xterm&
    twm

On 3. May 2020, at 17:58, Brandon helsley <brandon.helsley at hotmail.com> wrote:


There are no options for setting background from file, or set permanently. I'm using feh, but it doesn't give option for permanent set. The wallpaper has to be set everytime the machine is turned off and on.

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: owner-freebsd-x11 at freebsd.org <owner-freebsd-x11 at freebsd.org> on behalf of Brandon helsley <brandon.helsley at hotmail.com>
Sent: Sunday, May 3, 2020 9:50:21 AM
To: Michael Gmelin <freebsd at grem.de>
Cc: freebsd-x11 at freebsd.org <freebsd-x11 at freebsd.org>
Subject: Re: Xorg recurring background

Got it, thanks.

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: Michael Gmelin <freebsd at grem.de>
Sent: Sunday, May 3, 2020 9:49:38 AM
To: Brandon helsley <brandon.helsley at hotmail.com>
Cc: freebsd-x11 at freebsd.org <freebsd-x11 at freebsd.org>
Subject: Re: Xorg recurring background



On 3. May 2020, at 17:42, Brandon helsley <brandon.helsley at hotmail.com> wrote:

Hello, could I gain assistance in setting up a recurring background in xorg?


See xsetroot(1)

https://www.x.org/archive/X11R7.5/doc/man/man1/xsetroot.1.html


_______________________________________________
freebsd-x11 at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"


More information about the freebsd-x11 mailing list