all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* customize mini Icon?
@ 2006-03-03 22:01 Leon
  2006-03-04  4:17 ` Chong Yidong
  2006-03-04  4:17 ` Henrik Enberg
  0 siblings, 2 replies; 8+ messages in thread
From: Leon @ 2006-03-03 22:01 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 159 bytes --]

Hi all,

How to replace the default mini icon (usually shown in the
title bar)? I have replace all icons under SOURCE/etc/images/icons
before compile. Thanks.

[-- Attachment #2: mini --]
[-- Type: image/png, Size: 1273 bytes --]

[-- Attachment #3: Type: text/plain, Size: 11 bytes --]

 
-- 
Leon

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: customize mini Icon?
  2006-03-03 22:01 customize mini Icon? Leon
@ 2006-03-04  4:17 ` Chong Yidong
  2006-03-04  9:44   ` Leon
  2006-03-04  4:17 ` Henrik Enberg
  1 sibling, 1 reply; 8+ messages in thread
From: Chong Yidong @ 2006-03-04  4:17 UTC (permalink / raw)
  Cc: emacs-devel

Leon <sdl.web@gmail.com> writes:

> How to replace the default mini icon (usually shown in the
> title bar)? I have replace all icons under SOURCE/etc/images/icons
> before compile. Thanks.

You need to recompile Emacs.

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

* Re: customize mini Icon?
  2006-03-03 22:01 customize mini Icon? Leon
  2006-03-04  4:17 ` Chong Yidong
@ 2006-03-04  4:17 ` Henrik Enberg
  2006-03-04  9:46   ` Leon
  1 sibling, 1 reply; 8+ messages in thread
From: Henrik Enberg @ 2006-03-04  4:17 UTC (permalink / raw)
  Cc: emacs-devel

> How to replace the default mini icon (usually shown in the
> title bar)? I have replace all icons under SOURCE/etc/images/icons
> before compile. Thanks.

(add-to-list 'default-frame-alist '(icon-type . "/path/to/icon.png"))

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

* Re: customize mini Icon?
  2006-03-04  4:17 ` Chong Yidong
@ 2006-03-04  9:44   ` Leon
  2006-03-04 14:43     ` Chong Yidong
  0 siblings, 1 reply; 8+ messages in thread
From: Leon @ 2006-03-04  9:44 UTC (permalink / raw)


Chong Yidong <cyd@stupidchicken.com> writes:

> Leon <sdl.web@gmail.com> writes:
>
>> How to replace the default mini icon (usually shown in the
>> title bar)? I have replace all icons under SOURCE/etc/images/icons
>> before compile. Thanks.
>
> You need to recompile Emacs.

I replace all the icons in SOURCE/etc/images/icons and then recompile
Emacs. However it still use the original mini icon. Any ideas?

-- 
Leon

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

* Re: customize mini Icon?
  2006-03-04  4:17 ` Henrik Enberg
@ 2006-03-04  9:46   ` Leon
  2006-03-04 14:47     ` Chong Yidong
  0 siblings, 1 reply; 8+ messages in thread
From: Leon @ 2006-03-04  9:46 UTC (permalink / raw)


Henrik Enberg <henrik.enberg@telia.com> writes:

>> How to replace the default mini icon (usually shown in the
>> title bar)? I have replace all icons under SOURCE/etc/images/icons
>> before compile. Thanks.
>
> (add-to-list 'default-frame-alist '(icon-type . "/path/to/icon.png"))

Great tip.

I want to re-compile Emacs with the new mini icon. Any comments?

Cheers,
-- 
Leon

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

* Re: customize mini Icon?
  2006-03-04  9:44   ` Leon
@ 2006-03-04 14:43     ` Chong Yidong
  2006-03-05  2:23       ` Leon
  0 siblings, 1 reply; 8+ messages in thread
From: Chong Yidong @ 2006-03-04 14:43 UTC (permalink / raw)
  Cc: emacs-devel

Leon <sdl.web@gmail.com> writes:

> Chong Yidong <cyd@stupidchicken.com> writes:
>
>> Leon <sdl.web@gmail.com> writes:
>>
>>> How to replace the default mini icon (usually shown in the
>>> title bar)? I have replace all icons under SOURCE/etc/images/icons
>>> before compile. Thanks.
>>
>> You need to recompile Emacs.
>
> I replace all the icons in SOURCE/etc/images/icons and then recompile
> Emacs. However it still use the original mini icon. Any ideas?

The icon is a xbm pixmap, which is written out as a variable,
gnu_xpm_bits, in src/gnu.h.  You need to convert your desired icon to
xpm, replace gnu_xpm_bits with that, and recompile.  (Except on
Windows, which uses a different system).

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

* Re: customize mini Icon?
  2006-03-04  9:46   ` Leon
@ 2006-03-04 14:47     ` Chong Yidong
  0 siblings, 0 replies; 8+ messages in thread
From: Chong Yidong @ 2006-03-04 14:47 UTC (permalink / raw)
  Cc: emacs-devel

Leon <sdl.web@gmail.com> writes:

> Henrik Enberg <henrik.enberg@telia.com> writes:
>
>>> How to replace the default mini icon (usually shown in the
>>> title bar)? I have replace all icons under SOURCE/etc/images/icons
>>> before compile. Thanks.
>>
>> (add-to-list 'default-frame-alist '(icon-type . "/path/to/icon.png"))
>
> Great tip.
>
> I want to re-compile Emacs with the new mini icon. Any comments?

You don't need to recompile if you use this method -- just put the
line in your .emacs file.

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

* Re: customize mini Icon?
  2006-03-04 14:43     ` Chong Yidong
@ 2006-03-05  2:23       ` Leon
  0 siblings, 0 replies; 8+ messages in thread
From: Leon @ 2006-03-05  2:23 UTC (permalink / raw)


Thank you very much!

Chong Yidong <cyd@stupidchicken.com> writes:

> Leon <sdl.web@gmail.com> writes:
>
>> Chong Yidong <cyd@stupidchicken.com> writes:
>>
>>> Leon <sdl.web@gmail.com> writes:
>>>
>>>> How to replace the default mini icon (usually shown in the
>>>> title bar)? I have replace all icons under SOURCE/etc/images/icons
>>>> before compile. Thanks.
>>>
>>> You need to recompile Emacs.
>>
>> I replace all the icons in SOURCE/etc/images/icons and then recompile
>> Emacs. However it still use the original mini icon. Any ideas?
>
> The icon is a xbm pixmap, which is written out as a variable,
> gnu_xpm_bits, in src/gnu.h.  You need to convert your desired icon to
> xpm, replace gnu_xpm_bits with that, and recompile.  (Except on
> Windows, which uses a different system).

-- 
Leon

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

end of thread, other threads:[~2006-03-05  2:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 22:01 customize mini Icon? Leon
2006-03-04  4:17 ` Chong Yidong
2006-03-04  9:44   ` Leon
2006-03-04 14:43     ` Chong Yidong
2006-03-05  2:23       ` Leon
2006-03-04  4:17 ` Henrik Enberg
2006-03-04  9:46   ` Leon
2006-03-04 14:47     ` Chong Yidong

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.