From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Setting scrollbar colors Date: Wed, 4 Nov 2015 11:59:12 -0900 Organization: AkWebsoft Message-ID: <20151104205912.GD3301@mail.akwebsoft.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1446670778 7764 80.91.229.3 (4 Nov 2015 20:59:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 20:59:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 04 21:59:28 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zu59U-0004kV-Mi for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 21:59:28 +0100 Original-Received: from localhost ([::1]:57114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu59U-0007yb-0e for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Nov 2015 15:59:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu59I-0007yR-EV for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 15:59:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu59F-0007lk-8E for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 15:59:16 -0500 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:53331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu59E-0007lC-Vb for help-gnu-emacs@gnu.org; Wed, 04 Nov 2015 15:59:13 -0500 Original-Received: by tj49.com (Postfix, from userid 1000) id 935A720048E; Wed, 4 Nov 2015 11:59:12 -0900 (AKST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107935 Archived-At: * Javier [151104 11:34]: > > I'm not able to set scrollbar colors though either the native > > customizing of the face or through .Xdefaults or .Xresources. > > > > Since the toolbar widget and the 'trough' are almost the same color, > > it makes it very hard to read in most lighting circumstance. > > > > Any ideas would be appreciated > > thanks > > If emacs is compiled with the GTK toolkit it will not obey some > .Xresources > > ;;;D.2 Table of X Resources for Emacs > (info "(emacs) Table of Resources") > > Ubuntu should have a package emacs-lucid or emacs24-lucid. > Otherwise you can compile it yourself. > > ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ > --localstatedir=/var --with-x-toolkit=lucid > make > make install > > With the lucid toolkit emacs should obey Xresources I installed emacs24-lucid via apt-get. Nicer looking than the previous configuration, but no luck with the tool bar, so far.... Here is versioning info from 'help GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-03-07 on lamiak, modified by Debian And system config system-configuration-options " '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' '--without-gsettings' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'" ;;;;; Still can't make 'customize work, I'm currently reading info as per your instruction, but will take some time to grok it all... Actually in the lucid version, the scrollbar widget is more legible and I wouldn't necessarily need to change the color, but I'm set on edifying myself further. :) Thanks for the reply and the tips. -- Tim http://www.akwebsoft.com, http://www.tj49.com