This is the mail archive of the
cygwin
mailing list for the Cygwin project.
chere: Add cygwin icon to context menu
- From: Brian Mathis <brian dot mathis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 26 Jul 2017 13:08:58 -0400
- Subject: chere: Add cygwin icon to context menu
- Authentication-results: sourceware.org; auth=none
For anyone using 'chere' interested in having the Cygwin icon in the
context menu, you can use the following commands:
regtool -w -s set
/HKCU/Software/Classes/Drive/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
regtool -w -s set
/HKCU/Software/Classes/Drive/Background/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
regtool -w -s set
/HKCU/Software/Classes/Directory/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
regtool -w -s set
/HKCU/Software/Classes/Directory/Background/Shell/cygwin64_bash/Icon
'C:\cygwin64\Cygwin-Terminal.ico'
You can remove them with this:
regtool -w unset /HKCU/Software/Classes/Directory/Shell/cygwin64_bash/Icon
regtool -w unset
/HKCU/Software/Classes/Directory/Background/Shell/cygwin64_bash/Icon
regtool -w unset /HKCU/Software/Classes/Drive/Shell/cygwin64_bash/Icon
regtool -w unset
/HKCU/Software/Classes/Drive/Background/Shell/cygwin64_bash/Icon
This works for me on Windows 10 64-bit, with Cygwin 64-bit. It would
be nice if this became an option in 'chere' to do this automatically.
~ Brian
--
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