Github messages for voidlinux
 help / color / mirror / Atom feed
From: iio7 <iio7@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] xrdb - can't open include file
Date: Thu, 19 Mar 2020 03:59:51 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20207@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2250 bytes --]

New issue by iio7 on void-packages repository

https://github.com/void-linux/void-packages/issues/20207

Description:
### System

* xuname:  Linux Void 5.4.26_1
* package:  xorg-7.6_5

### Expected behavior

Be able to include files in .Xresources.

### Actual behavior

Can't open include files

### Steps to reproduce the behavior

Create a basic `.Xresources` and an include file.

```
$ cat .Xresources
XTerm*termName: xterm-256color
XTerm*utf8: 1
XTerm*renderFont: true
XTerm*faceName: "Liberation Mono":size=9:antialias=true:autohint=true
XTerm*borderWidth: 0
XTerm*autohint: true
XTerm*locale: true
XTerm*metaSendsEscape: true
XTerm*backarrowKey: false
XTerm*bellIsUrgent: false
XTerm*cursorBlink: false
XTerm*vt100.saveLines: 10000
XTerm*selectToClipboard: true
XTerm*ScrollKey: true
#include "colortheme.Xresource"
```

The include file:

```
$ cat colortheme.Xresource
#define base00 #282828
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e
*.foreground:   base05
#ifdef background_opacity
*.background:   [background_opacity]base00
#else
*.background:   base00
#endif
*.cursorColor:  base05
*.color0:       base00
*.color1:       base08
*.color2:       base0B
*.color3:       base0A
*.color4:       base0D
*.color5:       base0E
*.color6:       base0C
*.color7:       base05
*.color8:       base03
*.color9:       base08
*.color10:      base0B
*.color11:      base0A
*.color12:      base0D
*.color13:      base0E
*.color14:      base0C
*.color15:      base07
*.color16:      base09
*.color17:      base0F
*.color18:      base01
*.color19:      base02
*.color20:      base04
*.color21:      base06
```

Then load Xresources:

```
$ xrdb .Xresources
.Xresouces:15: error: Can't open include file "colortheme.Xresource"
```

I have the identical setup running on multiple Linux distributions and on FreeBSD where it works so I suspect a bug somewhere.

             reply	other threads:[~2020-03-19  2:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19  2:59 iio7 [this message]
2020-03-19  3:05 ` iio7
2020-03-19  3:05 ` [ISSUE] [CLOSED] " iio7
2020-03-19  3:08 ` iio7
2020-03-19  3:15 ` iio7
2020-03-19  3:18 ` iio7
2020-03-19  3:36 ` pullmoll
2020-03-19  3:42 ` pullmoll
2020-03-19 20:57 ` iio7
2020-03-19 20:57 ` [ISSUE] [CLOSED] " iio7

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20207@inbox.vuxu.org \
    --to=iio7@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).