delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/26/13:09:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=fnF+ngO00PnHEX0Qa7s1k6A7PAHfu
AGkOIUS1ybGGAMfVaG2wjq6ZzR9GnGx+AWW4C57MxMhA0HgMFoyeLGMKUfOMyGKv
w4s/NYWsSYcPWYJGZjhkWEg+PcyxgUkq9BCM8r0+yu8oiUKXk2mStAVRAqlFaqXD
g/5RNzidYoFNi4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=56IlkMJ5VhC85Uu5QdNxri2tRMw=; b=H0Y
RCd3KlC6dMXTsrZBoCTRDITZzv2EpYVqJehnUAzRhg47anIjo3MIQb7Fgoyj32EE
T4Z50CWi/KFUiE5zT569/ykyPuoOWSq8lc55eQ7n0sj2rVudLWfksKFkGFUHKFAz
ZjLvdMGEk26bynmrgSCZwFSgsE37qOb+JZiH5WtE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Drive
X-HELO: mail-ua0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JHRH9i5AHro8svXgEQwEf2uBonTxEmr+VnPn5zN4WPU=; b=kMWrU8rhYTe6GVVYuedI6m0XL0Gt8u9p8lAKhKWxPNlnnTRNbJ1lKsOSpVpmkXs8Zu q20JYY+Sl+1MjwObbSSsOOZaiKNdHW2gPC+aMwWwRIBbiq+w+GfG56ChMNBwvEEXR2Xp Don6VhI0BSnxz/aE4ssDpv3gjm4O8hlJAOZqgQNfYvTikd3gp1jCfyxBSyVdfW6jpljE SVXInNjacJb5ZnZfumL7huzuv6gvQtMsmEaWfqCuSy1iWliwvL0HMeyb4dy38ykPoAPZ ZZik/iwupmmBWPKc1JCj5sk5zE+01LCayO1ttVRULUpjJPqLzNN26ZeNgHQWiVRXa5KT Kx3Q==
X-Gm-Message-State: AIVw112KAuQLtdOPPBbRIuLKo73/Bt2vNPg9dkcxI5/UrtJLJb2NR+mQ OD4Mw9tZM2ylWhbQXzy5zi4ISuuwBHzMbcM=
X-Received: by 10.159.48.212 with SMTP id k20mr1132175uab.31.1501088939159; Wed, 26 Jul 2017 10:08:59 -0700 (PDT)
MIME-Version: 1.0
From: Brian Mathis <brian DOT mathis AT gmail DOT com>
Date: Wed, 26 Jul 2017 13:08:58 -0400
Message-ID: <CAPsu6Li=5CADX_qHJfa+N6CoC=Zj7GYxGW4z=scZ30JfZUrvQw@mail.gmail.com>
Subject: chere: Add cygwin icon to context menu
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019