Results 1 to 2 of 2

Thread: Does not execute bash command for .Xresources

  1. #1
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Does not execute bash command for .Xresources

    .xinitrc:
    Code:
    # exec openbox-session
    xrdb -merge -I$HOME ~/.Xresources
    [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
    exec startlxqt
    Code:
    $ ls .Xresources
    .Xresources
    As you can see, the above files are in place, but "xrdb -merge -I$HOME ~/.Xresources" never gets executed. As shown, I needed to place it on a line by itself.
    Xubuntu, Ubuntu, Debian, an a host of other linuxes all work correctly, without "xrdb" on a separate line.. Lubuntu does not. The logic is correct.

  2. #2
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Does not execute bash command for .Xresources

    Changing "[[" and ""]]" to a single "[" "]" fixes the problem, although everywhere I google it shows double braces, and they work on every distro except Lubuntu LXQT.
    This only effects 'getty' auto login and not DM auto login. Too obscure to file a bug report.
    I'll just make this solved for now.

    If I use bash while online it works with either 1 or 2 braces.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •