Cygwin Windows Is Searching For Mintty Missing

For current and future reference, (unless I'm mistaken) the issue here is not that grouping stopped working, but that shortcuts pinned pre-v2.2.1 don't group with mintty-v2.2.1 windows. If a mintty-v2.2.1 window is pinned, the shortcut will group with open windows correctly. 下的Cygwin.bat,仍然是可以打开cygwin的,但是双击运行Cygwin.bat的结果,却只是调用默认的Windows的cmd去打开cygwin的。 此处希望还原为之前的,使用mintty: 去打开cygwin。.

I wish to use additional fonts in mintty,I want to add Monaco font to my cygwin terminal. While mintty does help me to customise fonts and appearance. I cannot get to use additional fonts.I added Monaco from internet to my Control PanelAppearance and PersonalizationFonts folder and it's usable in wordpad and word but not in mintty.

Saurabh RanaSaurabh Rana
Console

2 Answers

This is easy, but you cannot use the mintty UI to change it. Instead, create a file /etc/minttyrc or edit the file ~/.minttyrc.

Set the font (and other settings) there. Check the man page for complete list of settings.

Isaac HansonIsaac Hanson

Since 'Mintty is based on code from PuTTY 0.60 by Simon Tatham', putty has encountered with the same problem. According to my experiments with mintty, I believe airstrike hasgiven the most comprehensive and correct answer to that, so enjoy yourself.

If you don't feel like using the 'hacked' Monaco, I would recommend Inconsolata instead(without compatible problems).

Community
JoshzJoshz

Not the answer you're looking for? Browse other questions tagged fontsterminalcygwinmintty or ask your own question.

As part of installing EGit, I had to set a HOME environment variable in Windows. This caused a problem whereby cygwin considers the HOME environment variable in Windows more important than the value in /etc/passwd. As a result, cygwin thinks my HOME directory in cygwin has moved from its previous location to my Windows user profile folder. I'd rather keep my cygwin files separate as my user profile folder is cluttered enough already but it doesn't seem to be possible to do so.

Is there any way to have cygwin use the value from /etc/passwd instead of the HOME enviroment variable?

Mintty
MachaMacha

3 Answers

Edit /etc/profile and change the lines

to

This forces Cygwin always to use the value from /etc/passwd. This is better than using Cygwin.bat because this applies to all login shells, no matter how they're spawned.

Lily FinleyLily Finley

The cygwin.bat file generally used to start the Cygwin shell can be modified to do whatever you need with HOME. You could try:

This should, based on documentation and experience, actually UNset %HOME% so that cygwin does not see it. As cygwin will default to setting up $HOME as the value in /etc/passwd (if HOME is not set in the parent process from which it inherits the environment), you should then get the result you want.

Notice please that I am stating that

actually removes HOME from the set env variables; not, as one might expect, the alternative result of setting HOME to the null string (but leaving it hanging around in the environment).

amphiboleamphibole

Here are a couple of things you can try:

  1. Edit cygwin.bat and set HOME= to whatever dir you want.

  2. Edit /etc/profile (C:cygwinetcprofile) and change cd '${HOME}' to whatever dir you want.

KaranKaran

Mintty Windows 10

Cygwin windows is searching for mintty missing

Mintty Vs Windows Console

Not the answer you're looking for? Browse other questions tagged cygwin or ask your own question.