Re: A question about program icons ...
Thanks, Jon, for the additional explanations! Eliot -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: A question about program icons ...
On 29/07/2011 15:10, Csaba Raduly wrote: On Thu, Jul 28, 2011 at 5:47 PM, Eliot Moss wrote: Recently I started using startxwin and .XWinrc and am getting used to -multiwindow mode. Something I have been wondering is where the program icons actually come from. For example, I cannot for the life of me find the icons used for xemacs (has a little red XE in it) That seems to be /usr/share/xemacs-21.4.22/etc/xemacs-icon.xpm and xemacs appears to set it programatically. The window icons (shown on taskbar, top-left of window, etc.) are indeed set programmatically. This is the case for normal windows applications as well. There is no requirement that the icon associated with a shortcut and the window icon which is actually used by an application started by that shortcut be the same. The multiwindow mode integrated WM understands about _NET_WM_ICON [1] and WM_HINTS [2] X window properties and hopefully converts a suitable icon found there on the fly into a Windows icon. It's up to the X application itself how those properties get set. [1] http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507733 [2] http://tronche.com/gui/x/icccm/sec-4.html#WM_HINTS When started from mintty, the xemach window has the generic Cywgin-X icon, then switches to the red XE icon after it gets initialized. xemacs is just a shortcut: $ ls -l /bin/xemacs lrwxrwxrwx 1 ecsardu root 18 Jul 29 15:41 /bin/xemacs -> xemacs-21.4.22.exe* When started from a windows shortcut pointing to xemacs-21.4.22.exe, it shows up with the icon of xemacs-21.4.22.exe and does not change (because there is no DISPLAY in my Windows environment). -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: A question about program icons ...
Thanks for the tip about .xpm files! -- Eliot -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: A question about program icons ...
On Thu, Jul 28, 2011 at 5:47 PM, Eliot Moss wrote: > Recently I started using startxwin and .XWinrc and am > getting used to -multiwindow mode. Something I have been > wondering is where the program icons actually come from. > For example, I cannot for the life of me find the icons > used for xemacs (has a little red XE in it) That seems to be /usr/share/xemacs-21.4.22/etc/xemacs-icon.xpm and xemacs appears to set it programatically. When started from mintty, the xemach window has the generic Cywgin-X icon, then switches to the red XE icon after it gets initialized. xemacs is just a shortcut: $ ls -l /bin/xemacs lrwxrwxrwx 1 ecsardu root 18 Jul 29 15:41 /bin/xemacs -> xemacs-21.4.22.exe* When started from a windows shortcut pointing to xemacs-21.4.22.exe, it shows up with the icon of xemacs-21.4.22.exe and does not change (because there is no DISPLAY in my Windows environment). Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: A question about program icons ...
On 7/29/2011 3:16 AM, Csaba Raduly wrote: Hi Eliot, On Thu, Jul 28, 2011 at 5:47 PM, Eliot Moss wrote: Recently I started using startxwin and .XWinrc and am getting used to -multiwindow mode. Something I have been wondering is where the program icons actually come from. For example, I cannot for the life of me find the icons used for xemacs (has a little red XE in it) or xpdf (black background, stylized red X and stylized white pdf). Right-click, Properties, Change Icon... will bring up a dialog which allows you to change the source of the icon, with the current source filled in. Dear Csaba -- I appreciate your effort to be helpful. In this case I already know how to change an icon that is directly associated with a program file or shortcut. However, these programs do not seem to have an icon associated in the usual way, and even their normal icon is not what cygwin-xfree displays in the toolbar. For example, xemacs from the Windows dialog does not show any icon or offer a way to set one. The shortcut to it that is in the Cygwin X menu does associate an icon and allow you to change it, but the icon that is in the toolbar is not one of the ones offered. The startxwin/.XWinrc mechanisms are looking somewhere else, and I was asking where that is. Even the default files that build the menus and such do not mention the xemacs and xpdf icons that I actually see ... Regards -- Eliot -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: A question about program icons ...
Hi Eliot, On Thu, Jul 28, 2011 at 5:47 PM, Eliot Moss wrote: > Recently I started using startxwin and .XWinrc and am > getting used to -multiwindow mode. Something I have been > wondering is where the program icons actually come from. > For example, I cannot for the life of me find the icons > used for xemacs (has a little red XE in it) or xpdf > (black background, stylized red X and stylized white pdf). Right-click, Properties, Change Icon... will bring up a dialog which allows you to change the source of the icon, with the current source filled in. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/