From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9116 invoked by alias); 13 May 2018 09:45:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9035 invoked by uid 89); 13 May 2018 09:45:41 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.75) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 May 2018 09:45:40 +0000 Received: from [192.168.178.24] ([95.90.234.254]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MWjbX-1eljqL1Y43-00XqbH for ; Sun, 13 May 2018 11:45:22 +0200 Subject: Re: Problems with mintty jump list To: cygwin@cygwin.com References: <9d72af26-6725-adf5-634c-cc5d16309e9d@SystematicSw.ab.ca> From: Thomas Wolff Message-ID: <47ed6ff1-1662-c014-58d6-f97ff29bb95b@towo.net> Date: Sun, 13 May 2018 09:57:00 -0000 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 X-SW-Source: 2018-05/txt/msg00164.txt.bz2 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