all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to change mouse pointer color
@ 2007-03-15 10:20 George Nurser
  2007-03-15 11:59 ` Peter Dyballa
  0 siblings, 1 reply; 10+ messages in thread
From: George Nurser @ 2007-03-15 10:20 UTC (permalink / raw)
  To: help-gnu-emacs

I am using  v22.0.90.2 of emacs on a linux host, viewed on a Mac
through X11. It is giving me a yellow mouse pointer
[hand/arrow/ibeam]. As I use a white background this is not working
well.

I tried adding
(set-mouse-color "black")
to my .emacs, both at the end and beginning but it seems to have no effect.

How do I change its color?

George Nurser.

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

* Re: how to change mouse pointer color
  2007-03-15 10:20 how to change mouse pointer color George Nurser
@ 2007-03-15 11:59 ` Peter Dyballa
  2007-03-15 13:05   ` George Nurser
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2007-03-15 11:59 UTC (permalink / raw)
  To: George Nurser; +Cc: help-gnu-emacs


Am 15.03.2007 um 11:20 schrieb George Nurser:

> How do I change its color?

Via ~/.Xdefaults:

	Emacs*cursorColor:              OrangeRed2
	Emacs*pointerColor:             DarkOrchid4

or via ~/.emacs:

	(setq initial-frame-alist '(
	  (mouse-color           . "midnightblue")
	  (foreground-color      . "grey20")
	  (background-color      . "alice blue")
	  (internal-border-width . 2)
	  (line-spacing          . 1)
	  (active-alpha          . 0.875)
	  (inactive-alpha        . 0.75)
	  (top . 25) (left . 650) (width . 91) (height . 50)))

--
Greetings

   Pete

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
      -Benjamin Franklin, Historical Review of Pennsylvania.

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

* Re: how to change mouse pointer color
  2007-03-15 11:59 ` Peter Dyballa
@ 2007-03-15 13:05   ` George Nurser
  2007-03-15 18:44     ` Peter Dyballa
  0 siblings, 1 reply; 10+ messages in thread
From: George Nurser @ 2007-03-15 13:05 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On 15/03/07, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 15.03.2007 um 11:20 schrieb George Nurser:
>
> > How do I change its color?
>
> Via ~/.Xdefaults:
>
>         Emacs*cursorColor:              OrangeRed2
>         Emacs*pointerColor:             DarkOrchid4
>
> or via ~/.emacs:
>
>         (setq initial-frame-alist '(
>           (mouse-color           . "midnightblue")

Hi Pete,

Changing the .emacs only seems to work on some versions of emacs.

I've tried on 3 diff computers at work.

1. red hat linux, running emacs 22.0.90.2 I compiled myself:
splash screen: x86_64-unknown-linux-gnu Xttolkit, Xaw3d scrollbar

....2006-11-09

Mouse pointer is yellow arrow, transparent inside when visiting emacs
menu, yellow in buffers.

Adding to my .emacs
>         (setq initial-frame-alist '(
>           (mouse-color           . "midnightblue")
 doesn't make any difference.

2. red hat linux, running emacs 21.3.1 from rpm:
splash screen: ia64-redhat-linux-gnu Xttolkit, Xaw3d scrollbar

... 2005-02-03

Mouse pointer is bey default solid black.
Adding to my .emacs
>         (setq initial-frame-alist '(
>           (mouse-color           . "midnightblue")
  does work.

3. red hat linux, running emacs 21.3.1 from rpm:
splash screen: i386-redhat-linux-gnu Xttolkit, Xaw3d scrollbar

... 2003-05-02

as 1. Yellow pointer, can't change it.

I've also tried emacs -q to make sure it's not something strange I
use, and it makes no difference.

Still puzzled. --George

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

* Re: how to change mouse pointer color
  2007-03-15 13:05   ` George Nurser
@ 2007-03-15 18:44     ` Peter Dyballa
  2007-03-16 10:07       ` George Nurser
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2007-03-15 18:44 UTC (permalink / raw)
  To: George Nurser; +Cc: help-gnu-emacs


Am 15.03.2007 um 14:05 schrieb George Nurser:

> Still puzzled. --George

And the X defaults? When you create a file ~/.Xdefaults-<host name>  
on the machine where the X server runs, the remote X client from  
<host name> should read and apply these settings. (I have to admit  
that this worked for me with GNU Emacs 21.x and regular X11 without  
SSH ...)

--
Greetings

   Pete

Eat the rich – the poor are tough and stringy.

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

* Re: how to change mouse pointer color
  2007-03-15 18:44     ` Peter Dyballa
@ 2007-03-16 10:07       ` George Nurser
  2007-03-16 10:40         ` Peter Dyballa
  2007-03-19  9:59         ` Ehud Karni
  0 siblings, 2 replies; 10+ messages in thread
From: George Nurser @ 2007-03-16 10:07 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On 15/03/07, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 15.03.2007 um 14:05 schrieb George Nurser:
>
> > Still puzzled. --George
>
> And the X defaults? When you create a file ~/.Xdefaults-<host name>
> on the machine where the X server runs, the remote X client from
> <host name> should read and apply these settings. (I have to admit
> that this worked for me with GNU Emacs 21.x and regular X11 without
> SSH ...)

Tried this. No dice. perhaps it's an ssh issue then. I had a quick
look at the ssh documentation without getting any information on how
Xdefaults are applied. I don't connect in any different way to the
remote host on whichI can change the pointer color to those on which I
cannot change it.

On the other hand the problem [given that the default pointer color is
also different] may depend on the emacs version. But strange that one
build of 21.3.1 worked and the other did not.

--George.

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

* Re: how to change mouse pointer color
  2007-03-16 10:07       ` George Nurser
@ 2007-03-16 10:40         ` Peter Dyballa
  2007-03-16 11:21           ` George Nurser
  2007-03-19  9:59         ` Ehud Karni
  1 sibling, 1 reply; 10+ messages in thread
From: Peter Dyballa @ 2007-03-16 10:40 UTC (permalink / raw)
  To: George Nurser; +Cc: help-gnu-emacs


Am 16.03.2007 um 11:07 schrieb George Nurser:

> Tried this. No dice.

Final option: pass the X ressources on the command line to GNU Emacs.  
I use for example this alias for a super-user Emacs via sudo:

	/usr/local/bin/emacs-23.0.0 -xrm 'Emacs*iconName: Super-Kastel' -T  
Super-Kastel -geometry 102x53+375+25

It's allowed to use -xrm more than just once ...

--
Greetings

   Pete

There's something the technicians need to learn from the artists. If  
it isn't aesthetically pleasing, it's probably wrong.

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

* Re: how to change mouse pointer color
  2007-03-16 10:40         ` Peter Dyballa
@ 2007-03-16 11:21           ` George Nurser
  2007-03-16 11:51             ` Peter Dyballa
  0 siblings, 1 reply; 10+ messages in thread
From: George Nurser @ 2007-03-16 11:21 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

> Final option: pass the X ressources on the command line to GNU Emacs.
> I use for example this alias for a super-user Emacs via sudo:
>
>         /usr/local/bin/emacs-23.0.0 -xrm 'Emacs*iconName: Super-Kastel' -T
> Super-Kastel -geometry 102x53+375+25
>
> It's allowed to use -xrm more than just once ...
>

Unfortunately, still makes no difference.

Guess I may have to live with the yellow pointer.

--George.

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

* Re: how to change mouse pointer color
  2007-03-16 11:21           ` George Nurser
@ 2007-03-16 11:51             ` Peter Dyballa
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-03-16 11:51 UTC (permalink / raw)
  To: George Nurser; +Cc: help-gnu-emacs


Am 16.03.2007 um 12:21 schrieb George Nurser:

> Unfortunately, still makes no difference.
>
> Guess I may have to live with the yellow pointer.

No: you can change either the original C source code (with need to re- 
compile and re-install) or change an ELisp file in which this  
ressource is coded (re-byte-compile)!

--
Greetings

   Pete

These are my principles and if you don't like them... well, I have  
others.
                                         - Groucho Marx

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

* Re: how to change mouse pointer color
  2007-03-16 10:07       ` George Nurser
  2007-03-16 10:40         ` Peter Dyballa
@ 2007-03-19  9:59         ` Ehud Karni
  1 sibling, 0 replies; 10+ messages in thread
From: Ehud Karni @ 2007-03-19  9:59 UTC (permalink / raw)
  To: gnurser; +Cc: help-gnu-emacs

On Fri, 16 Mar 2007 10:07:09 George Nurser wrote:
>
> Tried this. No dice. perhaps it's an ssh issue then. [snip]

To change the mouse color in Emacs use: (set-mouse-color "<color>")
  e.g. (set-mouse-color "red") .

To change the cursor color use: (set-cursor-color "<color>") .

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

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

* Re: how to change mouse pointer color
       [not found] <mailman.951.1173954095.7795.help-gnu-emacs@gnu.org>
@ 2007-03-28  1:14 ` qajaqbob
  0 siblings, 0 replies; 10+ messages in thread
From: qajaqbob @ 2007-03-28  1:14 UTC (permalink / raw)
  To: help-gnu-emacs

I have the same problem.  Standard emacs methods of changing the mouse
pointer color have no effect.

I think it's a problem specific to running emacs under X11, displaying
to a Mac X11 server.  Not sure why though.

My current workaround is to change the emacs background color to
"lightblue1".  It's enough contrast to make the yellow pointer show
up, but light enough otherwise.

emacs --background-color=lightblue1





On Mar 15, 3:20 am, "George Nurser" <gnur...@googlemail.com> wrote:
> I am using  v22.0.90.2 of emacs on a linux host, viewed on a Mac
> through X11. It is giving me a yellow mouse pointer
> [hand/arrow/ibeam]. As I use a white background this is not working
> well.
>
> I tried adding
> (set-mouse-color "black")
> to my .emacs, both at the end and beginning but it seems to have no effect.
>
> How do I change its color?
>
> George Nurser.

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

end of thread, other threads:[~2007-03-28  1:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 10:20 how to change mouse pointer color George Nurser
2007-03-15 11:59 ` Peter Dyballa
2007-03-15 13:05   ` George Nurser
2007-03-15 18:44     ` Peter Dyballa
2007-03-16 10:07       ` George Nurser
2007-03-16 10:40         ` Peter Dyballa
2007-03-16 11:21           ` George Nurser
2007-03-16 11:51             ` Peter Dyballa
2007-03-19  9:59         ` Ehud Karni
     [not found] <mailman.951.1173954095.7795.help-gnu-emacs@gnu.org>
2007-03-28  1:14 ` qajaqbob

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.