cygwin下git图形界面gitk和git gui安装
来源:互联网 发布:力港网络客服电话 编辑:程序博客网 时间:2024/05/29 12:22
在终端输入gitk后出现错误:
Application initialization failed: no display name and no $DISPLAY environment variable
解决方案:http://stackoverflow.com/questions/9393462/cannot-launch-git-gui-using-cygwin-on-windows
As of a recent Tcl/Tk update, Cygwin now uses X11 instead of GDI. In short, this means you need to install some of the Cygwin X11 packages and set them up to be able to open the GUI.
This should get you back up and running:
- Run the Cygwin installer again (download setup.exe again if you need to).
- At the package list, select to install "xinit" and "X-start-menu-icons"; both are under the X11 category. Click next, accept all the dependencies, and install.
- In the Windows Start menu, you should have a new group: Cygwin-X. From there, run XWin Server.
- In your Cygwin shell, run
export DISPLAY=:0.0
.
You'll need to repeat step 3 every time you reboot your computer, and step 4 every time you open a new Cygwin shell (or just runecho "export DISPLAY=:0.0" >>~/.profile
to have it run automatically whenever you create a new shell).
For the interested, the reason the X11 packages aren't installed automatically is that they'renot technically needed: it's possible through somewhat convoluted means to use a different X11 server than the one Cygwin installs when you install the "xinit" package
- cygwin下git图形界面gitk和git gui安装
- cygwin升级到1.7后,git gui和gitk报错
- Ubuntu下的gitk与git-gui字体问题
- Ubuntu下的gitk与git-gui字体问题
- GIT gitk图形界面中文乱码修改
- 【Git】gitk图形界面中文乱码情况
- git 和 gitk互通command
- git(八)-远程分支、别名、gitk与git gui
- cygwin下安装git 等插件
- git 图形界面安装
- cygwin下使用git
- windows cygwin安装git
- cygwin 安装 git daemon
- centOS7下安装GUI图形界面
- centOS7下安装GUI图形界面
- cygwin下配置git difftool
- Use gitk to understand git
- Use gitk to understand git
- ui更新数据库 记录
- Java中对象的复制
- 递归与分治策略
- Smart Client Software Factory "Add View (with presenter)" 等菜单不出来
- cgroup--blkio子系统测试-2(配合fio 做weight测试)
- cygwin下git图形界面gitk和git gui安装
- 【容器转换成为指定数组】
- GB2312,GBK与中文网页
- 百层楼扔棋子问题
- C/C++之SQLite常用函数
- Small RTOS51堆栈管理分析
- Linux下apache+php源码安装配置
- Java中File的基本操作
- R 图形初步