个人工具
登录
查看“UbuntuHelp:Transmission”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Transmission”的源代码
来自Ubuntu中文
←
UbuntuHelp:Transmission
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Transmission}} {{Languages|UbuntuHelp:Transmission}} Transmission is a lightweight GTK+ [[UbuntuHelp:BitTorrent|BitTorrent]] client. === Ubuntu 7.10 (Gutsy) and later === Transmission is available from the Universe repository. Go to Add/Remove Programs -> Internet -> Transmission to install it. === Installation from source === ==== Prepare installation ==== To install properly Transmission from source, you must, at first time, install some other packages. This packages contain source code of GTK and openssl. This package are required to build Transmission with GTK support and SSL support. Here the list of packages to install : <code><nowiki>libgtk2.0-dev</nowiki></code>, <code><nowiki>libssl-dev</nowiki></code> and <code><nowiki>build-essential</nowiki></code>. (See [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]). ==== Get Source code ==== To install transmission you have to download the source code from this web site (http://www.transmissionbt.com/). Pull it in any directory and extract it's content. ==== Get window icon ==== To get an icon for Transmission window, you have to edit the <code><nowiki>main.c</nowiki></code> file present in the source. Open this file with gedit or your favorite text editor and search for this line: <pre><nowiki> gtk_window_resize(GTK_WINDOW(wind), width, height); </nowiki></pre> Above this line, add this one : <pre><nowiki> gtk_window_set_icon_name(GTK_WINDOW(wind), "stock_internet"); </nowiki></pre> ==== Build from source ==== In a terminal, run the traditional <code><nowiki>./configure</nowiki></code>, <code><nowiki>make</nowiki></code>, <code><nowiki>sudo make install</nowiki></code>. ==== Start transmission ==== You just have to execute <code><nowiki>transmission-gtk</nowiki></code>. Also, you could create a laucher on your desktop. ==== References ==== http://www.ubuntuforums.org/showthread.php?t=220149 http://www.ubuntuforums.org/showthread.php?t=254164 === Installation from package === ==== Download the package ==== Here the link http://gir.deefa.com/debian/transmission/ Or from http://www.getdeb.net/app.php?name=Transmission [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Transmission
。