msknathan / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Windows 7 jump list #290

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Would be great to have a couple of options in the Windows 7 'jump-list' (The 
menu that's displayed when you right-click mintty in the taskbar).

A couple if options that'd be handy would be things like:
- Open new window
- Run script from file (Probably another enhancement altogether)
- Open in new shell environment (bsh, ksh, etc.)
- Options 

With Regards,

James

Original issue reported on code.google.com by VWJ...@gmail.com on 7 Sep 2011 at 4:41

GoogleCodeExporter commented 9 years ago
While I agree that it would be nice to put the jump list to gainful use, I 
don't want to clutter it up with stuff just for the sake of claiming jump list 
support. Microsoft wants it to be used for recent or frequent destinations and 
the most common tasks. 

Regarding each of the suggestions:

- Open new window: This can already done by clicking on the mintty icon in the 
default jump list or by Shift+clicking on the taskbar icon.

- Run script from file: As alluded to, mintty doesn't have a scripting 
extension.

- Open different shell environments: This raises the awkward question of which 
shells to include and exclude, and would mean preferred treatment for those 
that are included, which is not something I want to get into. Also, I don't 
think that many users would frequently want to invoke something other than 
their default shell.

- Options: Those are probably used a fair bit when first starting to use 
mintty, but not much thereafter. I don't see options entries in other 
application' jump lists.

Going beyond these suggestions, I notice that PuTTY 0.61 uses the jump list for 
quick access to frequently used sessions, which does make plenty of sense.

Mintty doesn't have such sessions, but it does have the ability to invoke 
different commands via its command line, so for example you can do things like 
'mintty /bin/zsh --login' or 'mintty /bin/ssh somehost.org'. It would probably 
make sense to collect such command lines as recent destinations in the jump 
list. In a way, this subsumes the "open different shell environment" suggestion 
above, while answering the question of which shells to include based on what's 
actually used.

Original comment by andy.koppe on 1 Oct 2011 at 9:13

GoogleCodeExporter commented 9 years ago
Take a look at console http://sourceforge.net/projects/console/.  They have a 
config for "tabs".  While I'm not necessarily sure I want or need tabs per se, 
each tab can have its own command to run associated with it.  Something like 
this would be nice for the Win 7 jumplist.

Original comment by rob.sh...@gmail.com on 11 Dec 2011 at 4:02

GoogleCodeExporter commented 9 years ago
Hello. I wrote a patch for jump list. 

After applied this patch, mintty creates jump list from minttyrc. 
Behavior of this patch is simple. It adds custom tasks to launch new mintty 
window with specified command line argument. For example, I wrote ~/.minttyrc 
described below: 

AppID=mintty
JumpListTitle0=Landspace
JumpListCmd0=--size 200,25 -
JumpListTitle1=UTF-8 Console
JumpListCmd1=--option Charset=UTF-8 -

mintty creates two custom tasks. The first is landscape terminal (it is useful 
to read server log), the second is for specifying character set. 

This patch does not have a GUI to set up .minttyrc to configure jump list 
tasks. 

Original comment by silph...@gmail.com on 8 Mar 2014 at 10:48

Attachments: