【问题标题】:I installed tortoisehg on ubuntu, but why can't i see the GUI?我在ubuntu上安装了tortoisehg,但是为什么我看不到GUI?
【发布时间】:2011-12-13 06:08:58
【问题描述】:

我以前在Windows上用过tortoisehg,GUI很友好。

现在我在 Ubuntu(11.10) 上移动,我使用以下命令安装它:

apt-get install mercurial python-nautilus tortoisehg

安装后,我可以使用hg命令,但是我不知道如何启动GUI(右键菜单中根本没有相关项目)。

PS:我用的是root账号。

【问题讨论】:

    标签: ubuntu tortoisehg


    【解决方案1】:

    看起来你运行 thg 几乎可以用 Tortoisehg 做所有事情。

    我强烈建议不要使用root 来处理所有事情。这使得不小心射中自己的脚很容易。 (如果我每次听到有人以root 运行而不小心删除了一些非常重要的东西时我都有一美元,我现在就会有一大堆炸玉米饼。)

    【讨论】:

      【解决方案2】:

      Nautilus 扩展需要重新启动图形服务器。为此注销并重新登录。

      您也可以通过终端调用 GUI,这就是我使用 Tortoise HG 的方式。传递您通常用于命令行客户端的命令。例如:

      $ hgtk ci
      # commit dialog pops up
      

      【讨论】:

        【解决方案3】:

        我也有这个问题,所以我写了一些东西来解决它。

        只需在终端中运行即可进行设置

        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
        

        好的,现在只需右键单击文件夹/repo 并在脚本下查看

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2011-05-19
          • 1970-01-01
          • 2018-07-05
          • 2017-09-23
          • 2023-03-03
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多