[英]I installed tortoisehg on ubuntu, but why can't i see the GUI?
I used tortoisehg on Windows in the past, the GUI is very friendly. 我以前在Windows上使用过tortoisehg,GUI非常友好。
Now i move on Ubuntu(11.10), i installed it using following command: 现在我继续使用Ubuntu(11.10),我使用以下命令安装它:
apt-get install mercurial python-nautilus tortoisehg
After the installation, i could use hg command, but i didn't know how to start the GUI(There was no related items in the right-click menu at all). 安装后,我可以使用hg命令,但我不知道如何启动GUI(右键菜单中根本没有相关项目)。
PS:I am using root account. PS:我正在使用root帐号。
It looks like you run thg
to do just about everything with Tortoisehg. 它看起来像您运行
thg
做到这一切与Tortoisehg。
I strongly recommend not using root
for everything. 我强烈建议不要将
root
用于所有内容。 That makes it far to easy to accidentally shoot yourself in the foot. 这使得在脚下意外射击很容易。 (If I had a dollar for every time I heard someone accidentally delete something really important because they were running as
root
, I'd have a good pile of tacos right now.) (如果每次听到有人意外删除了一些非常重要的东西,因为他们以
root
身份运行时,我就有一块钱,我现在就有很多炸玉米饼。)
The Nautilus extensions require restarting your graphical server. Nautilus扩展需要重新启动图形服务器。 Log out and back in for this.
退出并重新登录。
You can also invoke the GUI via the terminal, this is how I use Tortoise HG. 您也可以通过终端调用GUI,这就是我使用Tortoise HG的方式。 Pass the command you'd normally use for the command line client.
传递您通常用于命令行客户端的命令。 For example:
例如:
$ hgtk ci
# commit dialog pops up
I have this problem too so I wrote something to fix it. 我也有这个问题所以我写了一些东西来解决它。
just run this in the terminal to set up 只需在终端中运行此设置即可
START=$(pwd)
sudo apt-get install mercurial tortoisehg
mkdir -p ~/.gnome2/nautilus-scripts/
cd ~/.gnome2/nautilus-scripts/
hg clone https://bitbucket.org/slashuer/nautilus_mercurial_scripts
mv nautilus_mercurial_scripts/Mercurial/ .
rm -R nautilus_mercurial_scripts/
cd $START
OK done, now just right click the folder/repo and look under scripts 好了,现在只需右键单击文件夹/ repo并查看脚本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.