GNOME Bugzilla – Bug 566610
Duplicate lines warnings by xrdb plugin
Last modified: 2009-01-05 12:29:16 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=478606 Those lines would show up in the ~/.xsession-errors xrdb: "*Label.background" on line 220 overrides entry on line 150 xrdb: "*Label.foreground" on line 232 overrides entry on line 151 xrdb: "*Label.background" on line 220 overrides entry on line 150 xrdb: "*Label.foreground" on line 232 overrides entry on line 151 xrdb: "*Label.background" on line 220 overrides entry on line 150 xrdb: "*Label.foreground" on line 232 overrides entry on line 151 and xrdb: "*Text.background" on line 226 overrides entry on line 191 xrdb: "*Text.foreground" on line 238 overrides entry on line 192 xrdb: "*Text.background" on line 226 overrides entry on line 191 xrdb: "*Text.foreground" on line 238 overrides entry on line 192 xrdb: "*Text.background" on line 226 overrides entry on line 191 xrdb: "*Text.foreground" on line 238 overrides entry on line 192 There are some duplicate entries in Tk.ad and Xaw.ad. The easiest is to avoid the warnings altogether using the "-quiet" command-line option ("-quiet This option indicates that warning about duplicate entries should not be displayed."). Patch below.
Created attachment 125774 [details] [review] gsd-xrdb-duplicate-warnings.patch
Fixed in trunk. 2009-01-05 Bastien Nocera <hadess@hadess.net> * plugins/xrdb/gsd-xrdb-manager.c (apply_settings): Quiet xrdb when there are duplicate rules in the .ad files (Closes: #566610)