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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=W7vaBozXFYeOFrxA uLlyEv4iIDI6Osr/Ch2/qYdLAwejbDb8xw0ob6A7AsXrKVWol6gukEnDN42KuM22 X2MVgDEHu4/dV8eApj97WKyCHhV+ecZyu7tKCMCJYRlQFAgNKqqPibdKHIRTFszX dnmDcTrRtoRa7fXrDyf++LABAxE= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Oa+ID5hbaGZrAxS6IGqFMy 3eNl4=; b=FxPDHMaXRDKca5gQl0KKADEPN1YPTMfEve0SrCvE+x6UV7s2U5yu73 31L/+ELLPqUSQMW+G3YcdiII20uSXecmlnzjNIOctXaGhFlA2eh2qB02oClEgKbe n6n+9L+aeGFfe2syitkZk/xAiDjUef0+cCwAUhVfjQblxLCwIr800= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.1 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=dark, wurde, enhancement, incredibly X-HELO: mout.kundenserver.de Subject: Re: Problems with mintty jump list To: cygwin AT cygwin DOT com References: <9d72af26-6725-adf5-634c-cc5d16309e9d AT SystematicSw DOT ab DOT ca> From: Thomas Wolff Message-ID: <47ed6ff1-1662-c014-58d6-f97ff29bb95b@towo.net> Date: Sun, 13 May 2018 11:45:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <9d72af26-6725-adf5-634c-cc5d16309e9d@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-UI-Out-Filterresults: notjunk:1;V01:K0:VZBwR7PQ2QY=:xmlo6x1V0+EvQCfst0aPY5 G8Y2rGoot9LF+ck4ha4de2WiFqODDdvRqzgcVb+wt+iabFDyvaDVOfIceruSHCAuJL3VVdEAe VLEqvXb00Nez1WSx8eFZUBZZliIZAh+vWVwrr0I7fLxQa7vL6KciE5p34psjcbYnntrT0bmn8 qWeT0ZCeV7J7KNxHN5G7I+VNHCDUs0jretyL13hhBqWmSHZrpwiqPU+Sl8/SK9doZfWHYPiYo EbzSH0cEZN3lRnEk/QpxFa+RZVvtgn0jVxq3bvZP8emm6YkuBV4NvFMGzwa5HMymCTBqexwHv RcRkaeU3IoF+R48Z/jr+NRdM8C1ACXZKK9GnL8RvDn5jKJESZkSDxbSn8wh/6bZaGIqQrYuQs QKrv0lVuzONffRuLfl8NDifyVbtwaHk2BKT8R8WBfhgMWd2GR6gvA4QnfMg8Qa5IIzqFKTm8/ uLot9FNNBM3fKkTj5X8PHStgzgtaxYt7O3VZfwfRABDgPl/tYnCiyg7Wfk6J1n+rg2ta5IOfO 1tqvJFYDpfxlunPOiBgi7ZG1ISaCondhSCvNPsjWXewW6+qTvaDWDpM9oOY5YelkHDwF8k5Sp GNiFzl2IqXKfBVkM4yxXON6ghHNtSfXEYdLnJrKph7QLsQTbjr6tm1OL2bkSTOcnqUYwysG+C TIZtXhg0Yo+81f4FscwHKXGoWnP8UOhkQlsnSQ4bJMRtUJcBqVWSfsKsnRzvztaxc3bVkrKvQ RDAy2TSr0W4mej4c X-IsSubscribed: yes Am 12.05.2018 um 19:15 schrieb Brian Inglis: > On 2018-05-12 06:28, Michael Schaap wrote: >> I'm experimenting with the new mintty jump list feature, but I'm having trouble >> getting things working. >> I've added the following to my .minttyrc: >>     TaskCommands=default:-p 100,100;myserver:-p bottom -p right -o >> BackgroundColour=255,250,230 -e /usr/bin/ssh -C -Y -o ServerAliveInterval=60 >> myserver.example.org >> I then started mintty with: >>     mintty -o AppID=minttytest >> The MinTTY window appeared, with a new icon on the task bar.  I pinned that >> icon, and closed this new window. >> A right click on the taskbar icon now indeed shows two jump list entries: >> default and myserver. >> But when I click on "default", a MinTTY window does open and runs my shell >> (which is zsh), but the environment is different than normal: for instance, >> /usr/bin is not in the $PATH and most commands are therefore not found.  (It's >> not running as a login shell?) Yes, as you most likely want to run a login shell, you should add a bare '-' to the arguments list, like TaskCommands=default:-p 100,100 -;... >> When I close all MinTTY windows, the icon remains on the taskbar (as it should), >> but the jump list entries are gone. >> What am I doing wrong? Nothing. I have no idea why this fails, in my testing it worked. On the other hand, the whole jump list showed up on only 2 of 3 test systems and failed on one. Mozilla applications (Thunderbird, Firefox) manage to establish a task list on all of these systems, but their jumplist code looks much more complex. If someone finds out by what cursed Microsoft magic this is further affected, I'd consider an enhancement... > Why would you even expect jump lists to be shown on console window icons? > Jump lists show (some) recent items opened by an app thru Explorer shell > interactions, but mintty does not open files dropped from Explorer, just > converts the Windows path to a Cygwin path, and pastes that. The feature configured by TaskCommands=... is about the "Tasks" section of the jump list, not the "Recent" section. > If you man mintty and search for Taskbar, you can find out more about how you > can preset jump list items for mintty, and the requirements and limitations. > You may also want to search for more info about jump lists on the mintty project > site at https://github.com/mintty/mintty/ He actually configured mintty properly for the jump list (save the missing dash), it's just that the mintty jumplist implementation is not perfect because this is one of the dark areas of incredibly complex and incredibly poorly documented Windows APIs. --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- 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