mintty start menu icon

2010-08-26 Thread Vincent Rivière

Hello.

I do not want a Cygwin folder in my start menu. When I run the Cygwin 
setup, I always uncheck Add icon to Start Menu on the last page. 
Despite of that, every time the mintty package is updated, its icon 
appears again in the start menu.


It would be nice if the mintty package could honor the unchecking of 
Add icon to Start Menu, just like the legacy Cygwin command prompt.


--
Vincent Rivière

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Rance Hall
2010/8/26 Vincent Rivière vincent.rivi...@freesbee.fr:
 Hello.

 I do not want a Cygwin folder in my start menu. When I run the Cygwin setup,
 I always uncheck Add icon to Start Menu on the last page. Despite of that,
 every time the mintty package is updated, its icon appears again in the
 start menu.

 It would be nice if the mintty package could honor the unchecking of Add
 icon to Start Menu, just like the legacy Cygwin command prompt.

 --
 Vincent Rivière


Wouldn't it better if the mintty installer asked on its own if this
shortcut were needed on new installs?

I find that I like mintty much better than the stock window and I end
up liking the mintty shortcut and unchecking the add icons in the
installer.

Rance

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
2010/8/26 Vincent Rivière:
 I do not want a Cygwin folder in my start menu. When I run the Cygwin setup,
 I always uncheck Add icon to Start Menu on the last page. Despite of that,
 every time the mintty package is updated, its icon appears again in the
 start menu.

 It would be nice if the mintty package could honor the unchecking of Add
 icon to Start Menu

Yes, that would be nice, but unfortunately setup.exe's design doesn't
allow for this. The start menu icon is created by the mintty
postinstall script, which is run before the user even gets to the Add
icon to Start Menu option. Same issue for other packages that create
start menu entries.

Andy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Eric Blake

On 08/26/2010 11:07 AM, Andy Koppe wrote:

2010/8/26 Vincent Rivière:

It would be nice if the mintty package could honor the unchecking of Add
icon to Start Menu


Yes, that would be nice, but unfortunately setup.exe's design doesn't
allow for this. The start menu icon is created by the mintty
postinstall script, which is run before the user even gets to the Add
icon to Start Menu option. Same issue for other packages that create
start menu entries.


Well, it sort of does - if you create two packages, mintty (no shortcut 
menu created) and mintty-shortcut (depends on mintty, and additionally 
creates the shortcut), then the user can choose whether the shortcut 
will exist by which package they choose to install.  But that's not 
saying it's the best solution.


Another thought - now that we are patching setup.exe to set env-vars 
that inform the postinstall scripts about aspects of the installation 
(such as for all users or just me), setup.exe could also be patched to 
tell postinstall scripts whether start menu modifications are desired. 
However, this would require some major surgery, since the current 
implementation runs postinstall scripts prior to the screen where it 
asks if a start menu icon should exist.


--
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Charles Wilson

On 8/26/2010 1:07 PM, Andy Koppe wrote:

2010/8/26 Vincent Rivière:

It would be nice if the mintty package could honor the unchecking of Add
icon to Start Menu


Yes, that would be nice, but unfortunately setup.exe's design doesn't
allow for this. The start menu icon is created by the mintty
postinstall script, which is run before the user even gets to the Add
icon to Start Menu option. Same issue for other packages that create
start menu entries.


Would it be reasonable to move that dialog (sans the Finished wording, 
of course) earlier in the process -- and then export the value of those 
checkboxes via env vars like your other patch?


--
Chuck

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
On 26 August 2010 17:02, Rance Hall wrote:
 Wouldn't it better if the mintty installer asked on its own if this
 shortcut were needed on new installs?

I guess it would be possible for postinstall scripts to somehow throw
up a message box before creating shortcuts, but I suspect that would
cause much more annoyance than yet another entry start menu entry
that's easily deleted or ignored. Also, that approach just wouldn't
scale to multiple packages.

Andy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Andy Koppe
On 26 August 2010 18:13, Charles Wilson wrote:
 On 8/26/2010 1:07 PM, Andy Koppe wrote:

 2010/8/26 Vincent Rivière:

 It would be nice if the mintty package could honor the unchecking of Add
 icon to Start Menu

 Yes, that would be nice, but unfortunately setup.exe's design doesn't
 allow for this. The start menu icon is created by the mintty
 postinstall script, which is run before the user even gets to the Add
 icon to Start Menu option. Same issue for other packages that create
 start menu entries.

 Would it be reasonable to move that dialog (sans the Finished wording, of
 course) earlier in the process -- and then export the value of those
 checkboxes via env vars like your other patch?

Yes, I think that would make sense, but I'm sure setup.exe would have
some interesting complications up its sleeve. We'd also need a new
final page. Perhaps the postinstall results page could be adapted to
serve in that role.

Quite a lot of work though for what's not exactly a critical issue.

Andy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Vincent Rivière

Andy Koppe wrote:

Quite a lot of work though for what's not exactly a critical issue.


I agree.

But I wonder why what works for the standard console icon does not work 
for the mintty icon. Probably a special case.


--
Vincent Rivière

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mintty start menu icon

2010-08-26 Thread Larry Hall (Cygwin)

On 8/26/2010 1:35 PM, Vincent Rivière wrote:

Andy Koppe wrote:

Quite a lot of work though for what's not exactly a critical issue.


I agree.

But I wonder why what works for the standard console icon does not work for
the mintty icon. Probably a special case.


Um, http://cygwin.com/ml/cygwin/2010-08/msg00859.html.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple