all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting scrollbar colors
@ 2015-11-04 19:54 Tim Johnson
  2015-11-05  2:19 ` Yuri Khan
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Johnson @ 2015-11-04 19:54 UTC (permalink / raw)
  To: Emacs

I'm using emacs on ubuntu 14.04 with the follow settings
version :
24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)

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=gtk3' '--with-toolkit-scroll-bars'
'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'"

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
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Setting scrollbar colors
       [not found] <mailman.1727.1446666896.7904.help-gnu-emacs@gnu.org>
@ 2015-11-04 20:24 ` Javier
  2015-11-04 20:59   ` Tim Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Javier @ 2015-11-04 20:24 UTC (permalink / raw)
  To: help-gnu-emacs

> 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Setting scrollbar colors
  2015-11-04 20:24 ` Setting scrollbar colors Javier
@ 2015-11-04 20:59   ` Tim Johnson
  2015-11-04 21:55     ` [solved]Re: " Tim Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Johnson @ 2015-11-04 20:59 UTC (permalink / raw)
  To: help-gnu-emacs

* Javier <nospam@nospam.com> [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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [solved]Re: Setting scrollbar colors
  2015-11-04 20:59   ` Tim Johnson
@ 2015-11-04 21:55     ` Tim Johnson
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Johnson @ 2015-11-04 21:55 UTC (permalink / raw)
  To: help-gnu-emacs

* Tim Johnson <tim@akwebsoft.com> [151104 12:11]:
> * Javier <nospam@nospam.com> [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
> ;;;;;
> 
> Still can't make 'customize work, I'm currently reading info as per
> your instruction, but will take some time to grok it all...
 
  'customize *is* working (I must have made the wrong selection) and
  I am now able to pick color.

  Thanks very much to Javier. My issue is solved. 
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Setting scrollbar colors
  2015-11-04 19:54 Tim Johnson
@ 2015-11-05  2:19 ` Yuri Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Yuri Khan @ 2015-11-05  2:19 UTC (permalink / raw)
  To: Emacs

On Thu, Nov 5, 2015 at 1:54 AM, Tim Johnson <tim@akwebsoft.com> wrote:
> I'm using emacs on ubuntu 14.04 with the follow settings
> version :
> 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
>
> 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.

To get any effect on GTK+ widgets used in Emacs (menu bar, toolbar,
scrollbars), you should customize your GTK+ scheme.

For example, the Clearlooks Phenix theme has a very high-contrast
scrollbar out of the box (to the point that I find it distracting and
have to customize it). It is available as an Ubuntu package:
clearlooks-phenix-theme.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-05  2:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1727.1446666896.7904.help-gnu-emacs@gnu.org>
2015-11-04 20:24 ` Setting scrollbar colors Javier
2015-11-04 20:59   ` Tim Johnson
2015-11-04 21:55     ` [solved]Re: " Tim Johnson
2015-11-04 19:54 Tim Johnson
2015-11-05  2:19 ` Yuri Khan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.