• Persisting xrdb settings

    From Anton Shepelev@3:770/3 to All on Mon Sep 19 00:40:20 2022
    Hello, all

    I am one of the strange guys who try invent their own
    16-color ANSI palette that will be better than all the rest.
    In the middle of my first experiment I was frustrated by the
    difficulty peristing the cusom colors throught system start-
    up:

    1. I duly saved my palette under ~/.Xresouces, and
    2. merged it: xrdb -merge .Xresource

    Now, when I restart xterm the new colors are put in effect,
    but after system restart they are gone again. Must I
    manually load them at startup from ~/.profile? The `xrdb'
    man page says the file name depends on the desktop
    environment:

    Xrdb does not load any files on its own, but many desktop
    environments use xrdb to load ~/.Xresources files on
    session startup to initialize the resource database, as a
    generalized replacement for ~/.Xdefaults files.

    Does the Raspbian LXDE use some non-standard file?

    --
    () ascii ribbon campaign -- against html e-mail
    /\ http://preview.tinyurl.com/qcy6mjc [archived]

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Ahem A Rivet's Shot@3:770/3 to Anton Shepelev on Mon Sep 19 07:12:42 2022
    On Mon, 19 Sep 2022 00:40:21 +0300
    Anton Shepelev <anton.txt@gmail.com> wrote:

    Now, when I restart xterm the new colors are put in effect,
    but after system restart they are gone again. Must I
    manually load them at startup from ~/.profile? The `xrdb'
    man page says the file name depends on the desktop
    environment:

    ~/.xinitrc or ~/.xsession are the normal places for things like
    this because .profile gets loaded in every shell (including ones without
    access to an X server) whereas .xinitrc gets loaded once by startx
    and .xsession gets loaded once by the display manager.

    It is possible that some display managers don't follow this
    standard - I haven't used one in decades, I like a text login and startx.

    --
    Steve O'Hara-Smith
    Odds and Ends at http://www.sohara.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)