X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8253B3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com; bimi=skipped X-SNCR-Rigid: 613A8DE812A83775 X-Originating-IP: [81.129.146.209] X-OWM-Source-IP: 81.129.146.209 (GB) X-OWM-Env-Sender: jonturney AT btinternet DOT com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrgedugdefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepledvfeevtdehffdtgfduhffhtedvleffheefueejhfekudejgeejgeehudejhfefnecuffhomhgrihhnpegthihgfihinhdrtghomhdpuggvshhkthhophdrtggtnecukfhppeekuddruddvledrudegiedrvddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtfegnpdhinhgvthepkedurdduvdelrddugeeirddvtdelpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepfhigiiigmhhitgesohhuthhlohhokhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Message-ID: <8012ebad-acb2-72e6-3dad-8b7273262a05@dronecode.org.uk> Date: Mon, 31 Jan 2022 12:13:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [ANNOUNCEMENT] Updated: setup (2.917) Content-Language: en-GB To: =?UTF-8?Q?=c2=a9_Fxzx_mic?= , The Cygwin Mailing List References: <19869e8a-e40e-43f0-8eaf-641aa010a3ef AT gmail DOT com> From: Jon Turney In-Reply-To: X-Spam-Status: No, score=-1192.4 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 20VCEIDh025582 > On 31.01.2022 06:36, © Fxzx mic wrote: >> Hello, >> I want to know how to change the default value of the check boxes when creating a program shortcut after installation so that it is no longer checked by default. >> Which part of the program needs to be changed? >> [...]> > Can you please clarify with an example ? > Which shortcut do you mean ? > > Maybe you should look on the Command Line options for already available > options : > > $ ./setup-x86_64.exe --help > Cygwin setup 2.917 > > Command Line Options: > > ... > -d --no-desktop Disable creation of desktop shortcut > ... On 31/01/2022 06:43, © Fxzx mic wrote: > > After installing (or updating) through the GUI, the program will > finally have two check boxes to choose whether to create shortcuts, > and the default status of these two check boxes is checked. I just > want to know how to cancel this default behavior. I want to know > where this behavior is written in the setup program source code. If you search for that option text in the source code you'll end up looking at: https://cygwin.com/git/?p=cygwin-apps/setup.git;a=blob;f=desktop.cc Note that a patch to simply reverse the default setting of that option (i.e. make it unset by default, and require the user to click that checkbox to create the shortcuts (meaning that most users will have to do that) would not be acceptable. Probably what's wanted is to remember the state of those checkboxes, if this isn't the first time setup has been run? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple