You are not logged in.

#1 2017-08-10 08:50:05

zemke
Member
Registered: 2017-08-10
Posts: 2

[SOLVED] appres warning: Color name "BACKGROUND" is not defined

Hi,

yesterday I did a fresh install of arch linux. For some reason xorg(?) does not replace BACKGROUND, FOREGROUND, WINDOW_BACKGROUND, and WINDOW_FOREGROUND by color hex values. appres issues the warning "Color name "BACKGROUND" is not defined" and emacs won't start (unless you use -nw, of course). xrdb -query reveals that only XWp*XmTextField*background has the meaningful value #FFFFFFFFFFFF.

Any ideas?

Last edited by zemke (2017-08-11 07:05:54)

Offline

#2 2017-08-10 14:55:10

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

Can you post your .Xresources and also double check you don't have trailing spaces or typos?


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#3 2017-08-11 06:54:27

zemke
Member
Registered: 2017-08-10
Posts: 2

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

I do not have an ~/.Xresources file. The only .X* file on the computer is ~/.Xauthority in /root and in my home directory. In the meantime I found a "solution": I unchecked the box in colors saying "apply colors to non-QT programs" (or similar, I did install the German version), logout/login, and emacs starts w/o any problems.

On my old computer running the same version of arch (w/ updates from previous versions) emacs runs w/o problems with the box still checked, the colors of the theme (currently breeze dark) are inherited by emacs. I would be interested in knowing why the behaviour differs on the updated and the fresh install. My main problem was a non-working emacs, so I mark this thread as [SOLVED].

Thank you.

Last edited by zemke (2017-08-11 07:10:10)

Offline

#4 2017-09-28 01:35:15

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

How did you install Arch Linux?


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#5 2018-05-09 17:54:06

angelo
Member
Registered: 2015-12-28
Posts: 38

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

Accidental double post - deleted.

Last edited by angelo (2018-05-09 17:57:52)

Offline

#6 2018-05-09 17:57:24

angelo
Member
Registered: 2015-12-28
Posts: 38

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

I had the same problem.

If running KDE the solution above works.
Otherwise, running "xrdb /dev/null" seems to work.
See https://www.centos.org/forums/viewtopic.php?t=49498

Offline

#7 2018-05-09 19:14:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] appres warning: Color name "BACKGROUND" is not defined

Thanks for sharing, however as this thread is a year old and solved, im going to close this.

Please don't make a habit of necrobumping https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Last edited by V1del (2018-05-09 19:15:12)

Offline

Board footer

Powered by FluxBB