Cannot launch git gui using cygwin on windows

前端 未结 7 1236
感动是毒
感动是毒 2020-12-07 07:32

I used to launch git gui within my cygwin console without any problems but since I updated cygwin I\'ve got the following error message:

$ git gui
Applicatio         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 08:14

    Here is what worked for me:

    cat >> ~/.bash_profile <<< "export DISPLAY=:0.0"

    From cygwin package manager, do the following:

    install xorg-server and some xorg fonts, xorg-x11-fonts-Type1 especially

    Next create a link to windows font folders for git gui to use

    ln -s /cygdrive/c/Windows/Fonts /usr/share/fonts/win-fonts

    Close the cygwin terminal and open again then type

    startxwin &> /dev/null &

    git gui &

提交回复
热议问题