mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
commit
de5cb6fd59
83
README.md
83
README.md
@ -1,11 +1,11 @@
|
||||
简介
|
||||
-------------------------------
|
||||
|
||||
LCTT是Linux中国社区([http://linux.cn/](http://linux.cn/))的翻译组,负责从国外优秀媒体翻译Linux相关的技术、资讯、杂文等内容。
|
||||
LCTT是“Linux中国”([http://linux.cn/](http://linux.cn/))的翻译组,负责从国外优秀媒体翻译Linux相关的技术、资讯、杂文等内容。
|
||||
|
||||
LCTT已经拥有近百余名活跃成员,并欢迎更多的Linux志愿者加入我们的团队。
|
||||
|
||||
![logo](http://img.linux.net.cn/static/image/common/linuxcn_qqq_lctt.gif)
|
||||
![logo](http://img.linux.net.cn/static/image/common/lctt_logo.png)
|
||||
|
||||
LCTT的组成
|
||||
-------------------------------
|
||||
@ -18,11 +18,10 @@ LCTT的组成
|
||||
|
||||
**发布**,负责将校对后的文章,排版进行发布。
|
||||
|
||||
|
||||
加入我们
|
||||
-------------------------------
|
||||
|
||||
请首先加入翻译组的QQ群,群号是:198889102,加群时请说明是志愿者。加入后记得修改您的群名片为您的github的ID。
|
||||
请首先加入翻译组的QQ群,群号是:198889102,加群时请说明是“志愿者”。加入后记得修改您的群名片为您的github的ID。
|
||||
|
||||
加入的成员,请先阅读[WIKI 如何开始](https://github.com/LCTT/TranslateProject/wiki/01-如何开始)。
|
||||
|
||||
@ -39,62 +38,75 @@ LCTT的组成
|
||||
- CORE [carolinewuyan](https://github.com/carolinewuyan),
|
||||
- CORE [DeadFire](https://github.com/DeadFire),
|
||||
- CORE [geekpi](https://github.com/geekpi),
|
||||
- CORE [tinyeyeser](https://github.com/tinyeyeser),
|
||||
- CORE [vito-L](https://github.com/vito-L),
|
||||
- CORE [jasminepeng](https://github.com/jasminepeng),
|
||||
- CORE [willqian](https://github.com/willqian),
|
||||
- CORE [vizv](https://github.com/vizv),
|
||||
- CORE [GOLinux](https://github.com/GOLinux),
|
||||
- [luoxcat](https://github.com/Luoxcat),
|
||||
- CORE [reinoir](https://github.com/reinoir),
|
||||
- Senior [tinyeyeser](https://github.com/tinyeyeser),
|
||||
- Senior [vito-L](https://github.com/vito-L),
|
||||
- Senior [jasminepeng](https://github.com/jasminepeng),
|
||||
- Senior [willqian](https://github.com/willqian),
|
||||
- Senior [vizv](https://github.com/vizv),
|
||||
- [runningwater](https://github.com/runningwater),
|
||||
- [luoxcat](https://github.com/Luoxcat),
|
||||
- [bazz2](https://github.com/bazz2),
|
||||
- [Vic020](https://github.com/Vic020),
|
||||
- [flsf](https://github.com/flsf),
|
||||
- [alim0x](https://github.com/alim0x),
|
||||
- [KayGuoWhu](https://github.com/KayGuoWhu),
|
||||
- [zpl1025](https://github.com/zpl1025),
|
||||
- [blueabysm](https://github.com/blueabysm),
|
||||
- [flsf](https://github.com/flsf),
|
||||
- [crowner](https://github.com/crowner),
|
||||
- [Linux-pdz](https://github.com/Linux-pdz),
|
||||
- [KayGuoWhu](https://github.com/KayGuoWhu),
|
||||
- [Linchenguang](https://github.com/Linchenguang),
|
||||
- [woodboow](https://github.com/woodboow),
|
||||
- [zpl1025](https://github.com/zpl1025),
|
||||
- [yechunxiao19](https://github.com/yechunxiao19),
|
||||
- [blueabysm](https://github.com/blueabysm),
|
||||
- [linuhap](https://github.com/linuhap),
|
||||
- [2q1w2007](https://github.com/2q1w2007),
|
||||
- [yechunxiao19](https://github.com/yechunxiao19),
|
||||
- [woodboow](https://github.com/woodboow),
|
||||
- [su-kaiyao](https://github.com/su-kaiyao),
|
||||
- [scusjs](https://github.com/scusjs),
|
||||
- [hyaocuk](https://github.com/hyaocuk),
|
||||
- [theo-l](https://github.com/theo-l),
|
||||
- [NearTan](https://github.com/NearTan),
|
||||
- [l3b2w1](https://github.com/l3b2w1),
|
||||
- [ThomazL](https://github.com/ThomazL),
|
||||
- [MikeCoder](https://github.com/MikeCoder),
|
||||
- [shipsw](https://github.com/shipsw),
|
||||
- [boredivan](https://github.com/boredivan),
|
||||
- [ThomazL](https://github.com/ThomazL),
|
||||
- [theo-l](https://github.com/theo-l),
|
||||
- [jiajia9linuxer](https://github.com/jiajia9linuxer),
|
||||
- [SteveArcher](https://github.com/SteveArcher),
|
||||
- [l3b2w1](https://github.com/l3b2w1),
|
||||
- [NearTan](https://github.com/NearTan),
|
||||
- [shipsw](https://github.com/shipsw),
|
||||
- [disylee](https://github.com/disylee),
|
||||
- [Love-xuan](https://github.com/Love-xuan),
|
||||
- [boredivan](https://github.com/boredivan),
|
||||
- [cvsher](https://github.com/cvsher),
|
||||
- [owen-carter](https://github.com/owen-carter),
|
||||
- [JonathanKang](https://github.com/JonathanKang),
|
||||
- [tenght](https://github.com/tenght),
|
||||
- [icybreaker](https://github.com/icybreaker),
|
||||
- [liuaiping](https://github.com/liuaiping),
|
||||
- [tenght](https://github.com/tenght),
|
||||
- [rogetfan](https://github.com/rogetfan),
|
||||
- [nd0104](https://github.com/nd0104),
|
||||
- [whatever1992](https://github.com/whatever1992),
|
||||
- [2q1w2007](https://github.com/2q1w2007),
|
||||
- [disylee](https://github.com/disylee),
|
||||
- [SteveArcher](https://github.com/SteveArcher),
|
||||
- [JonathanKang](https://github.com/JonathanKang),
|
||||
- [zzlyzq](https://github.com/zzlyzq),
|
||||
- [FineFan](https://github.com/FineFan),
|
||||
- [ailurus1991](https://github.com/ailurus1991),
|
||||
- [lfzark](https://github.com/lfzark),
|
||||
- [CNprober](https://github.com/CNprober),
|
||||
- [213edu](https://github.com/213edu),
|
||||
- [johnhoow](https://github.com/johnhoow),
|
||||
- [yujianxuechuan](https://github.com/yujianxuechuan),
|
||||
- [ggaaooppeenngg](https://github.com/ggaaooppeenngg),
|
||||
- [zzlyzq](https://github.com/zzlyzq),
|
||||
- [ailurus1991](https://github.com/ailurus1991),
|
||||
- [FineFan](https://github.com/FineFan),
|
||||
- [tomatoKiller](https://github.com/tomatoKiller),
|
||||
- [stduolc](https://github.com/stduolc),
|
||||
- [Maclauring](https://github.com/Maclauring),
|
||||
- [Hao-Ding](https://github.com/Hao-Ding),
|
||||
- [small-Wood](https://github.com/small-Wood),
|
||||
- [zsJacky](https://github.com/zsJacky),
|
||||
- [Hao-Ding](https://github.com/Hao-Ding),
|
||||
- [luoyutiantang](https://github.com/luoyutiantang),
|
||||
- [small-Wood](https://github.com/small-Wood),
|
||||
- [CHINAANSHE](https://github.com/CHINAANSHE),
|
||||
- [ggaaooppeenngg](https://github.com/ggaaooppeenngg),
|
||||
- [guodongxiaren](https://github.com/guodongxiaren),
|
||||
- [cereuz](https://github.com/cereuz),
|
||||
- [lijhg](https://github.com/lijhg),
|
||||
|
||||
|
||||
(更新于2014/06/18)
|
||||
(更新于2014/09/09)
|
||||
|
||||
谢谢大家的支持!
|
||||
|
||||
@ -112,4 +124,5 @@ LCTT的组成
|
||||
* 2014/01/02 增加了Core Translators 成员: geekpi。
|
||||
* 2014/05/04 更换了新的QQ群:198889102
|
||||
* 2014/05/16 增加了Core Translators 成员: will.qian、vizv。
|
||||
* 2014/06/18 由于GOLinux令人惊叹的翻译速度和不错的翻译质量,升级为Core Translators 成员。
|
||||
* 2014/06/18 由于GOLinux令人惊叹的翻译速度和不错的翻译质量,升级为Core Translators 成员。
|
||||
* 2014/09/09 LCTT 一周年,做一年[总结](http://linux.cn/article-3784-1.html)。并将曾任 CORE 的成员分组为 Senior,以表彰他们的贡献。
|
83
lctt2014.md
Normal file
83
lctt2014.md
Normal file
@ -0,0 +1,83 @@
|
||||
LCTT 2014 : LCTT 成立一年总结
|
||||
============================
|
||||
|
||||
### 缘起 ###
|
||||
|
||||
一年前,我因为开发 Linux 中国的微信公众号,想着在公众号里面提供 Linux 的 man 手册应该是个不错的主意,因此在网上遍寻中文 man 手册。虽然我之前也寻找过中文的 man 手册,知道颇多不全和错漏,但是这次仔细搜寻之下,却发现还远较我预计的还差。
|
||||
|
||||
无奈之下,只能先使用了英文版本作为 man 的内容,并因此萌发了组织一个翻译 man 手册的活动或组织的想法。说干就干,当时我就在 Linux 中国的 QQ 群里面发起了倡议,还真得到了大家响应。
|
||||
|
||||
于是,2013 年 9 月 10日,草草而就的 LCTT 就成立了,很快就创建了一个 QQ 群作为交流,并确定了名称为“Linux.CN Translate Team”,简称 LCTT。考虑到需要多人协作,几乎没有多想,就决定了采用 GITHUB 作为翻译平台——虽然现在看起来,GITHUB 作为主要工作平台,有利也有弊,但是,总体来说还是不错的。LCTT 就这样启动了。
|
||||
|
||||
### 发展 ###
|
||||
|
||||
次日,我们就组织起来了翻译,并初步拟定了翻译流程、分工之类的内容。
|
||||
|
||||
LCTT 草创,各种方面都没有经验,也出现过一些失误。比如说,开始时对于 GITHUB 以及 GIT,大部分人,包括我,都不是很熟悉,因此并未采用 Pull-Request 模式,而是共同控制的方式,也由于一些协调和经验的原因,出现过版本错误和回滚,甚至回滚得更乱。还有,初期还要求 LINUX 中国网站 的注册身份,但是后来发现这完全不必要。
|
||||
|
||||
本来成立 LCTT 的目标是为了 man 手册的翻译,但是经过研究,我发现翻译 man 手册还有一些困难:
|
||||
|
||||
1. man 手册是二进制的 groff 格式,因此生成和解析需要一些额外的过程,甚至需要一些特定的环境;
|
||||
2. man 手册对翻译的能力要求较高,并且应该对 man 手册所对应的命令有足够的了解,才能翻译得当,因为一字之差就可能导致很多误解。
|
||||
|
||||
所以,当时商量决定,先期启动普通的 Linux 方面、开源方面的文章翻译,以此来摸索翻译流程和锻炼协作,并作为翻译 man 手册的人员筛选环节。
|
||||
|
||||
我安排 Linux 中国站长,原本经常独自翻译发表来自国外文章的 DeadFire 来做选题。他负责将选题从英文的页面,转换成 Markdown 格式。我又找了朋友 jasminepeng 和 carolinewuyan 帮忙做校对,我自己则主要承担发布的工作。
|
||||
|
||||
初期,很快就涌现出了一些积极参与的人员,如 tinyeyeser、vito-L、boredivanivan等等,不一一列举了,他们不但积极参与翻译,而且还帮助撰写了第一批的翻译组 Wiki 文档,对引导新人起到了很大作用。
|
||||
|
||||
伴随着 LCTT 的逐步运作,一个月之后,我和大家感觉时间比较成熟了,就启动了 man 翻译计划。
|
||||
|
||||
### man 翻译计划的夭折 ###
|
||||
|
||||
_写下这个标题时,我也颇感觉惭愧的,这也算是我正视这个结果吧。不管怎么说,现在还是深夜,未过零点,我终究是在 LCTT 一周年之前正视了失败。_
|
||||
|
||||
其实,前面提到过,我检索过各种可以找到的中文 man 翻译项目的结果,但种种结果让人无法满意,因此我觉得,我应该能吸取其中的教训,为 Linux、为开源做点实事出来。
|
||||
|
||||
我总结的之前的 man 翻译项目失败的原因大概如下:
|
||||
|
||||
1. 缺乏足够的驱动力,翻译者无论从利益还是荣誉,都得不到鼓励,因此往往难以为继。
|
||||
2. 由于依赖个人热情,没有形成流动机制,因此,当某个人热情耗尽之后,就没有人继续接手维护。
|
||||
3. 翻译流程简单,没有形成初译、校对、发布等流程,无法保证质量,也没有保持同步更新的流程。
|
||||
|
||||
因此,我觉得,通过建立一个翻译的公益组织(即 LCTT)、建立翻译流程、翻译后保留翻译和校对等人员的署名,可以解决一些以上的问题。
|
||||
|
||||
但是,其实我还忽视了一点,翻译 man 手册,其实无论是环境还是流程,比较复杂,因此限制了参与者。参与门槛高,导致发展不能持续。
|
||||
|
||||
因此,实际上,man 翻译项目,在大概运作了一个月之后,就逐渐停滞下来了,虽然后期,willqian 独立完成了很多篇,但是总体来说,man 翻译项目算是失败了。
|
||||
|
||||
### 总结这一年 ###
|
||||
|
||||
抛开 man 翻译项目的失败不说,其实,LCTT 还是成果累累。
|
||||
|
||||
这一年,我们完成了 5820 次提交,发起了 1482 个 PR,翻译了 805 篇文章。
|
||||
|
||||
这一年,我们有了 98 个贡献者,得到了 162 个 fork。
|
||||
|
||||
我使用了一个工具,根据这一年来我们 LCTT 翻译项目的 git 日志,生成了一段[视频](http://img.linux.net.cn/static/video/lctt2014.mp4)。看着视频中如辛勤的工蜂一样忙忙碌碌的志愿者们;看着如穿花蝴蝶一样,承担了更多工作量的选题、校对们;看着归档时如同施展魔法一样,瞬间变出了一朵朵花,我感觉我们这一年是有收获的一年!
|
||||
|
||||
请大家观赏我们这一年: http://img.linux.net.cn/static/video/lctt2014.mp4 (213M,720p)
|
||||
|
||||
这是我用 kdenlive 合成配音的。虽然我的乐感很差,只能选择一首自己觉得还算配的音乐;虽然我根本不会用 kdenlive,连配音淡出都琢磨半天;虽然我编译用于生成这个视频的 gource 都花费了几个小时来解决问题;但是,看到这份视频,我为我们 LCTT 这一年来的工作感到骄傲。
|
||||
|
||||
### 感谢你们 ###
|
||||
|
||||
虽然很俗套,但是此刻,已经是 2014 年 9 月 10 日凌晨00:50了,我心情很激动,真心感谢所有的参与者、贡献者。几乎每个 LCTT 的成员我都知道,也有几个我特别熟悉;LCTT 的成员有新来的,也有逐渐淡出的,但是不论是那种,我都记得你们。
|
||||
|
||||
名单太长,我就不一一列举了: https://github.com/LCTT/TranslateProject/graphs/contributors
|
||||
|
||||
### 接下来 ###
|
||||
|
||||
我会说,man 计划我不会放弃么?
|
||||
|
||||
是的,man 计划是 LCTT 之所以发起的原因,也是 LCTT 能够持久发展的基础,而 man 翻译也是真正对国内的 Linux 、开源发展有实在意义的事情,所以,我不会放弃。
|
||||
|
||||
我会投入精力开发一个翻译平台,用于 man 项目的翻译、校对和发布,将复杂的翻译环境配置和使用方法隐藏在后面;并增加可视化的图表和进度显示,明了的体现翻译工作进展;对接 man7.org 的最新更新,保持 man 内容的及时更新等等。
|
||||
|
||||
期待 LCTT 的下一个年度的发展吧!
|
||||
|
||||
----
|
||||
|
||||
LCTT wxy
|
||||
|
||||
2014 年 9 月 10 日
|
@ -1,5 +1,5 @@
|
||||
|
||||
Linux有问必答——如何为sudo命令定义PATH环境变量
|
||||
Linux有问必答——如何为sudo命令定义PATH环境变量
|
||||
================================================================================
|
||||
>**问题**:我安装了一个程序到/usr/local/bin目录下,这个程序需要root权限才能执行,当我用sudo去执行它时,收到"sudo: XXXXX: command not found"的错误提示,不知道为什么/usr/local/bin没有被包含到PATH环境变量下面来,我该如何解决这个问题?
|
||||
|
@ -1,6 +1,6 @@
|
||||
使用Linux命令行管理DigitalOcean VPS水滴
|
||||
================================================================================
|
||||
[DigitalOcean][1]是云VPS主机市场中最炙手可热的新生儿。虽然没有提供像Amazon之类一样的综合服务业务,DigitalOcean已经成为定位于中小型企业和开发者的基于Linux的最佳云VPS服务的强有力的竞争者,这都得归功于他们具有竞争力的价格和对用户友好的管理界面。
|
||||
[DigitalOcean][1]是云VPS主机市场中最炙手可热的新生儿。虽然没有提供像Amazon之类一样的综合服务业务,但DigitalOcean定位于中小型企业和开发者,已经成为基于Linux的最佳云VPS服务的强有力竞争者,这都得归功于它们具有竞争力的价格和用户友好的管理界面。
|
||||
|
||||
![](https://farm4.staticflickr.com/3841/14501627500_2ef275ac1c_z.jpg)
|
||||
|
||||
@ -20,13 +20,13 @@
|
||||
$ sudo yum install ruby-devel
|
||||
$ sudo gem install tugboat
|
||||
|
||||
要在CentOS上安装tugboat,首先[安装或升级到最新的Ruby][5],因为在CentOS 6.5以及更早的版本上,默认的Ruby不满足拖船所需的最小版本(1.9及更高版本)。安装Ruby 1.9及更高版本后,请按如下方式安装tugboat。
|
||||
要在CentOS上安装tugboat,首先[安装或升级到最新的Ruby][5],因为在CentOS 6.5以及更早的版本上,默认的Ruby不满足Tugboat所需的最小版本(1.9及更高版本)。安装Ruby 1.9及更高版本后,请按如下方式安装tugboat。
|
||||
|
||||
$ sudo gem install tugboat
|
||||
|
||||
### tugboat首次使用配置 ###
|
||||
|
||||
在安装完后,就该实行一次配置,配置涉及了授权tugboat访问DigitalOcean帐号。
|
||||
在安装完后,就该进行一次配置,其中包括授权tugboat访问DigitalOcean帐号。
|
||||
|
||||
转到[https://cloud.digitalocean.com/api_access][6],并创建新的API密钥,记录客户ID和API密钥。
|
||||
|
||||
@ -36,11 +36,11 @@
|
||||
|
||||
$ tugboat authorize
|
||||
|
||||
在提示你输入客户ID和API密钥时,请输入。它会询问几个其它问题,目前你可以接受默认的回答。我们打算在今后自定义默认设置。
|
||||
在提示你输入客户ID和API密钥时,请输入。它会询问几个其它问题,目前你可以接受默认的回答。我们将会在后面自定义默认设置。
|
||||
|
||||
[![](https://farm6.staticflickr.com/5596/14685122101_dba50fc86b_z.jpg)][7]
|
||||
|
||||
现在,让我们自定义默认水滴设置,以反映你典型的使用状况。要那么做,首先检查水滴提供的可用的东西(如,可用的镜像、区域、大小)。
|
||||
现在,让我们自定义默认水滴设置,以反映你典型的使用状况。要做到这一点,首先检查水滴提供的可用设置项(如,可用的镜像、区域、大小)。
|
||||
|
||||
运行以下命令,它会列出可用的水滴镜像。选取使用一个默认镜像,并记录相关的ID。
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
private_networking: 'false'
|
||||
backups_enabled: 'false'
|
||||
|
||||
### 创建并添加SSH密钥到数字海洋 ###
|
||||
### 创建并添加SSH密钥到DigitalOcean ###
|
||||
|
||||
要访问水滴实例,一个安全的方式是通过[密钥验证][8]的SSH连接到该实例。
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
|
||||
ssh_key: '182710'
|
||||
|
||||
### 拖船的基本用法 ###
|
||||
### Tugboat的基本用法 ###
|
||||
|
||||
这里列出了tugboat命令行的一些基本使用情况。
|
||||
|
||||
@ -138,7 +138,7 @@
|
||||
|
||||
$ tugboat resize <name-of-droplet> -s <image-id>
|
||||
|
||||
如果你想要知道特定命令的更多选项,运行:
|
||||
如果你想要了解特定命令的更多选项,运行:
|
||||
|
||||
$ tugboat help <command>
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
|
||||
### 排障 ###
|
||||
|
||||
1. 当我运行tugboat命令时,它出错了,并出现以下错误。
|
||||
1. 当我运行tugboat命令时,它出现以下错误。
|
||||
|
||||
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/tugboat-0.2.0/lib/tugboat/cli.rb:12: syntax error, unexpected ':', expecting kEND (SyntaxError)
|
||||
|
||||
@ -156,7 +156,7 @@ Tugboat要求Ruby 1.9及更高版本,你需要升级Ruby来解决该问题。
|
||||
|
||||
/usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- json/pure (LoadError)
|
||||
|
||||
安装以下gem来修复该问题。
|
||||
安装以下gem来修复该问题。
|
||||
|
||||
$ sudo gem install json_pure
|
||||
|
||||
@ -166,7 +166,7 @@ via: http://xmodulo.com/2014/07/manage-digitalocean-vps-droplets-command-line-li
|
||||
|
||||
原文作者:[Dan Nanni][a]
|
||||
|
||||
译者:[GOLinux](https://github.com/GOLinux) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
译者:[GOLinux](https://github.com/GOLinux) 校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -1,6 +1,6 @@
|
||||
如何在Linux命令行下访问SoundCloud
|
||||
================================================================================
|
||||
如果你喜欢流媒体音乐和原创音乐,你不能错过[SoundCloud][1]。这家云流媒体服务总部设在德国,这对任何音乐爱好者都非常有名且完善。自然,作为一个Linux爱好者,你可能想知道如何在Linux中加入你对音乐的热情。作为一个解决方案,我建议你使用Soundcloud2000,**SoundCloud的命令行客户端**脱胎于[Music Hack Day Stockholm '13][2]。
|
||||
如果你喜欢流媒体音乐和原创音乐,你不能错过[SoundCloud][1]。这家云流媒体服务总部设在德国,这对任何音乐爱好者都非常有名,且功能完善。自然,作为一个Linux爱好者,你可能想知道如何在Linux中体现你对音乐的热情。作为一个解决方案,我建议你使用Soundcloud2000,这是一个脱胎于[Music Hack Day Stockholm '13][2]的**SoundCloud的命令行客户端**。
|
||||
|
||||
### 安装 ###
|
||||
|
||||
@ -43,24 +43,24 @@ Soundcloud2000非常容易使用。有些人甚至会说简单。我喜欢它的
|
||||
|
||||
![](https://farm4.staticflickr.com/3861/14494436719_b5536f7b67_z.jpg)
|
||||
|
||||
这可能是Soundcloud2000的主要默认之一。而导航没有优化过,我寄予厚望的改善和支持的软件还是很年轻的。
|
||||
这可能是Soundcloud2000的主要缺陷之一。虽然导航没有优化过,但是我对这个很年轻的软件的改善和支持还是寄予厚望的。
|
||||
|
||||
### 红利 ###
|
||||
### 奖励 ###
|
||||
|
||||
另外一个额外的红利:如果你喜欢在终端上使用SoundCloud的想法,但不想安装任何额外的软件(也许你不能),我劝你去[cmd.fm][6]。该网站是一个伪装的SoundCloud,因为它隐藏在一个shell接口后。
|
||||
另外一个额外的奖励:如果你喜欢在终端上使用SoundCloud的想法,但不想安装任何额外的软件(也许你不能),我劝你去[cmd.fm][6]。该网站是一个伪装的SoundCloud,它隐藏在一个shell界面后。
|
||||
|
||||
[![](https://farm6.staticflickr.com/5580/14494448218_a16b05e3ee_z.jpg)][7]
|
||||
|
||||
输入“help”可以得到命令列表,这比Soundcloud2000长很多。比如,我看到:
|
||||
|
||||
- _genres to list all genres
|
||||
- _play random to play a random track
|
||||
- _pause to pause the current track
|
||||
- _playlist new to make a new playlist
|
||||
- _loop to loop current track
|
||||
- _cinema to watch and ASCII version of Star Wars which completely blew my mind.
|
||||
- _genres 列出所有流派
|
||||
- _play random 随机播放
|
||||
- _pause 暂停播放
|
||||
- _playlist new 建立新的播放节目单
|
||||
- _loop 循环播放
|
||||
- _cinema 如同星球大战一样的字幕
|
||||
|
||||
它甚至支持通过tab键自动完成流派
|
||||
它甚至支持通过tab键自动补完流派名称
|
||||
|
||||
最后,Soundcloud2000的确是一个整洁的程序。我们可以原谅其目前的缺陷,因为它还年轻。我真的希望它会成长,并包含更多的功能(并从潜在的cmd.fm得到的灵感)。
|
||||
|
||||
@ -74,7 +74,7 @@ via: http://xmodulo.com/2014/07/access-soundcloud-command-line-linux.html
|
||||
|
||||
原文作者:[Adrien Brochard][a]
|
||||
|
||||
译者:[geekpi](https://github.com/geekpi) 校对:[校对者ID](https://github.com/校对者ID)
|
||||
译者:[geekpi](https://github.com/geekpi) 校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
114
published/20140723 Top 10 Fun On The Command Line.md
Normal file
114
published/20140723 Top 10 Fun On The Command Line.md
Normal file
@ -0,0 +1,114 @@
|
||||
用命令行去发掘有趣的“前十”
|
||||
================================================================================
|
||||
|
||||
**如果你喜欢做‘排名前10’之类的列表但又有点不好意思这样说,那么告诉人们你热爱数据的探索。为了进一步打动他们,向他们解释你在命令行间的数据探索。但是不要告诉他们这其实很容易,以免你的好形象就这样被毁灭了哦!**
|
||||
|
||||
在这篇文章中,我将基于GNU/Linux工具和'单列表格'(也就是我所说的简单列表)来做一些数据探索。如若想在这里通过命令行查看更多的信息,请查看'man'页,或者在“注释”部分求解。
|
||||
|
||||
### 密码 ###
|
||||
|
||||
在第一个列表里探讨的是马克.伯内特2011著的关于[10000 个最常用的密码][1]汇编。这个列表是有序的、使用最频繁的,也是广为人知的阶乘“密码”的最常用来源之一,与“123456”并列排名第二。在这里,我把该列表放到一个名为“passwords”的文件中,并且使用head命令把排名前10的列出来了:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/1.png)
|
||||
|
||||
(伯内特解释他是如何收集这些密码的[这里][2]。你会注意到在列表中他把所有大写字母都转换成小写的。)
|
||||
|
||||
OK,所以'password'是伯内特列表的顶部。那么每个数字呢?
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/2.png)
|
||||
|
||||
非常有趣的是!数字'1'出现在密码列表中的次数多于第二个最常用数字'2'的两倍,而且,除了0和9之外,这十个数字出现的次数以其数字顺序排列。而排名前10的字母呢?
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/3.png)
|
||||
|
||||
在 passwords 文件中出现最频繁的字母依次是EARONISTLC,类似于EAIRTONSLC,这是至少[一个出版的表格][3]中提到的常用英文单词中出现的字频。这是否意味着,大部分密码其实是一些常见的英语单词呢,也许会参杂一些数字呢?
|
||||
|
||||
为了找到答案,我先把密码转换成一个纯字母的字符串列表,然后看看有多少字符串是可以在英语词典中找到的。
|
||||
|
||||
首先我将通过 **sed** 命令删除所有密码中的数字,然后删除所有的标点符号,再删除所有的空行。这将创建出一个纯字母的密码列表。然后我通过**sort** 和 **uniq**来修剪列表的排序,将重复项取出。(例如,'abc1234def'和'abc1!2!3!def!'都剔除剩下'abcdef'.) 。根据wc命令,我把1000个密码减至成8583个纯字母的字符串:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/4.png)
|
||||
|
||||
我经常使用一本便携式的英语字典,我通常会使用`usr/share/dict/american-english`,这个文件是来自Debian Linux的一个发行版本。它包含了99171个单词。我会先通过**tr**命令将这个词表转换为纯小写的,然后使用**sort** 和 **uniq**删除掉任何重复的条目排序(例如'A' 和 'a' 都将成为 'a')。这样就将词表的数量减至97723项了:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/5.png)
|
||||
|
||||
我现在可以用comm命令及'-23'的参数来比较两个列表,并报告纯字母文件中而没有出现在字典中的单词:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/6.png)
|
||||
|
||||
总数是3137,所以至少有8583 -3137 = 5446个'核心'密码在伯纳特的纯小写字母列表中(大约63%)是简单的英语单词,或者是简单的单词附加一些数字或者标点符号。我之所以说“至少”,是因为在3137个字符串中有很大比例是只有经过轻微修改的纯英语单词、名称、或者在/usr/share字典中未能找到的名称修改而成的。在LA项中,例如,'labtec', 'ladyboy', 'lakeside', 'lalakers', 'lalala', 'laserjet', 'lasvegas', 'lavalamp' 和 'lawman'.
|
||||
|
||||
### 地名 ###
|
||||
|
||||
在之前的一篇[Linux Rain article][4],我描述了如何建立一张37万项澳大利亚的地名表。有了它,我现在可以回答一些类似这样的关键问题“Round Hill是澳大利亚山脉中最流行的名字吗?”和“桑迪是沙滩之最,而岩溪峡谷呢?”
|
||||
|
||||
在地名表中地名字段的排名第2,所以这里有:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/7.png)
|
||||
|
||||
哇。我当时甚至没有关闭这个终端。(但是请注意到我是如何通过**\^string1\^string2**命令保存打印的内容。它重复着最后一个命令,但是用第2个字符串代替了第1个字符串。这是多么有用的BASH绝招!)
|
||||
|
||||
另一个亟待解决的问题是有多少地名有'Mile'在其中,例如'Six Mile Creek',而他们的排名又是如何:
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/8.png)
|
||||
|
||||
我在我的澳洲之旅发现有很多Dead Horse Creeks,因此有这些地名:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/9.png)
|
||||
|
||||
|
||||
### 种类 ###
|
||||
|
||||
第三个列表是探索我今年出版的1961-2010年期间澳大利亚新种类昆虫名。从这个列表中,我去掉所有“物种的绰号”,就是种群组合的第二部分,比如像智人(你和我)和西方蜜蜂(欧洲蜜蜂)。
|
||||
|
||||
(科技小贴士:这个昆虫表,可以从开发数据Zenodo库中[https://zenodo.org/record/10481][5]取得,包括亚种。在我的‘top 10’练习中,我首先分离出所有独特的种群组合,这样避免了重复的,例如蜜蜂iberica的亚种,以避免蜜蜂的绰号intermissa,等等。最后一个物种文件有18155个绰号。)
|
||||
|
||||
大多数人讲科学名称带玩笑式地用'-us'结局,如'Biggus buggus'。那么昆虫学家呢?有几个不错的,用命令行的方式获取字符串的最后2个字母,在这里我都会用到这2个:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/10.png)
|
||||
|
||||
耶!昆虫学家喜欢也‘-us’结尾。接下来,我不知道有多少物种是以我的家乡Tasmania州来命名的?(下面我想看看前100行,来确保我得到的所有'tasman'组合.)
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/11.png)
|
||||
|
||||
那么昆士兰呢?
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/12.png)
|
||||
|
||||
一般来说,昆虫物种名单中的前10名分别是什么呢?
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/13.png)
|
||||
|
||||
嗯,除了明显的'australis'和'australiensis',而地理方面的'occidentalis'(西部),另外昆虫学家创建7个在10个最流行列表中的绰号已经履行了其它昆虫学家的意愿。(绰号'commoni'是给澳大利亚蝴蝶和蛾专家Ian F.B. Common[1917-2006]的荣誉。)
|
||||
|
||||
### 演变 ###
|
||||
|
||||
上面的这些命令用在简单列表上。要从简单的列表变成文本块,那就再次需要我们的命令行朋友了。例如,我把澳大利亚参议院于2014年7月16日的[演讲][6]保存成文本文件hansard。将hansard分割成一个单词列表:
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/14.png)
|
||||
|
||||
|
||||
现在看看讲话中的单词使用频率:
|
||||
|
||||
![](http://thelinuxrain.com/content/01-articles/67-top-10-fun-on-the-command-line/15.png)
|
||||
|
||||
### 即将推出... ###
|
||||
|
||||
从多列的表中做'top 10'等排名,需要更多些的命令行工具。我将会在未来的文章中证明他们的用处。
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://thelinuxrain.com/articles/top-10-fun-on-the-command-line
|
||||
|
||||
原文作者:Bob Mesibov(Bob Mesibov is Tasmanian, retired and a keen Linux tinkerer.)
|
||||
|
||||
译者:[disylee](https://github.com/译者ID) 校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:https://xato.net/passwords/more-top-worst-passwords/#.U8eD13AvDy0
|
||||
[2]:https://xato.net/passwords/how-i-collect-passwords/#.U8eEdnAvDy0
|
||||
[3]:http://www.rinkworks.com/words/letterfreq.shtml
|
||||
[4]:http://www.thelinuxrain.com/articles/building-a-gazetteer-table-from-kml-files
|
||||
[5]:https://zenodo.org/record/10481
|
||||
[6]:http://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;db=CHAMBER;id=chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0025;query=Id%3A%22chamber%2Fhansards%2F232fa1a8-d7e8-4b22-9018-1a99b5a96812%2F0000%22
|
@ -3,17 +3,17 @@
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/07/Install_Java_Ubuntu_Linux_Mint.jpeg)
|
||||
|
||||
想知道**如何在Ubuntu 14.04中安装Java**?安装Java肯定是[安装Ubuntu 14.04后首先要做的几件事情之一](1),而且这也很简单
|
||||
想知道**如何在Ubuntu 14.04中安装Java**?安装Java肯定是[安装Ubuntu 14.04后首先要做的几件事情之一](1),而且这也很简单。
|
||||
|
||||
许多人比较厌恶Java,但是很有可能因为某些原因,你需要安装Java,尽管你很讨厌它。在这篇文章中,我们将展示如何在Ubuntu 14.04安装Java(也可能在Linux Mint 17同样适用)
|
||||
许多人比较厌恶Java,但是很有可能因为某些原因你需要安装Java,尽管你很讨厌它。在这篇文章中,我们将展示如何在Ubuntu 14.04安装Java(也可能在Linux Mint 17同样适用)。
|
||||
|
||||
### JRE vs OpenJDK vs Oracle JDK ###
|
||||
|
||||
在我们继续了解如何安装Java之前,让我们快速地了解JRE,OpenJDK和Oracle JDK之间的不同之处
|
||||
在我们继续了解如何安装Java之前,让我们快速地了解JRE、OpenJDK和Oracle JDK之间的不同之处。
|
||||
|
||||
- JRE(Java Runtime Environment),它是你运行一个基于Java语言应用程序的所正常需要的环境。如果你不是一个程序员的话,这些足够你的需要
|
||||
- JDK代表Java开发工具包,如果你想做一些有关Java的开发(阅读程序),这正是你所需要的
|
||||
- OpenJDK是Java开发工具包的开源实现,Oracle JDK是Java开发工具包的官方Oracle版本。尽管OpenJDK已经足够满足大多数的案例,但是许多程序比如[Android Studio](2)建议使用Oracle JDK,以避免UI/性能问题
|
||||
- JRE(Java Runtime Environment),它是你运行一个基于Java语言应用程序的所正常需要的环境。如果你不是一个程序员的话,这些足够你的需要。
|
||||
- JDK代表Java开发工具包,如果你想做一些有关Java的开发(阅读程序),这正是你所需要的。
|
||||
- OpenJDK是Java开发工具包的开源实现,Oracle JDK是Java开发工具包的官方Oracle版本。尽管OpenJDK已经足够满足大多数的案例,但是许多程序比如[Android Studio](2)建议使用Oracle JDK,以避免UI/性能问题。
|
||||
|
||||
### 检查Java是否已经安装在Ubuntu上 ###
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
|
||||
### 在Ubuntu和Linux Mint上安装Java ###
|
||||
|
||||
看了各种类型‘Java’的不同之后,让我们看如何安装他们
|
||||
看了各种类型‘Java’的不同之后,让我们看如何安装他们。
|
||||
|
||||
#### 在Ubuntu和Linux Mint上安装JRE ####
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
sudo apt-get install default-jdk
|
||||
|
||||
特殊地,如果你想要安装Java 7或者Java 6等等,你可以使用openjdk-7-jdk/openjdk-6jdk,但是记住在此之前安装openjdk-7-jre/openjdk-6-jre
|
||||
特殊地,如果你想要安装Java 7或者Java 6等等,你可以使用openjdk-7-jdk/openjdk-6jdk,但是记住在此之前安装openjdk-7-jre/openjdk-6-jre。
|
||||
|
||||
#### 在Ubuntu和Linux Mint上安装Oracle JDK ####
|
||||
|
||||
@ -58,17 +58,17 @@
|
||||
sudo apt-get install oracle-java8-installer
|
||||
sudo apt-get install oracle-java8-set-default
|
||||
|
||||
如果你想安装Java 7(i.e Java 1.7),在上面的命令中用java7代替java8
|
||||
如果你想安装Java 7(i.e Java 1.7),在上面的命令中用java7代替java8。
|
||||
|
||||
我希望这篇文章能够帮助你学会在Ubuntu,Linux Mint和其它基于Ubuntu的Linux发行版本上安装Java,我们欢迎所有问题或者建议
|
||||
我希望这篇文章能够帮助你学会在Ubuntu,Linux Mint和其它基于Ubuntu的Linux发行版本上安装Java,我们欢迎所有问题或者建议。
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
via:
|
||||
via: http://itsfoss.com/install-java-ubuntu-1404/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -1,29 +1,30 @@
|
||||
如何创建Ubuntu信息端计算机
|
||||
如何创建Ubuntu 信息亭(kiosk)
|
||||
================================================================================
|
||||
|
||||
**Linux发行版可以作为全功能打包,也可以按需分解,驱动了从市内标示牌到市议会桌面系统在内的所有设备。**
|
||||
**Linux发行版可以作为全功能打包,也可以按需分解,它驱动了从市内标示牌到市议会桌面系统在内的所有设备。**
|
||||
|
||||
正是这种多样化,几乎可塑的质量,让Linux发行版,包括Ubuntu在内,在众多不同领域如此成功。
|
||||
### 信息端和单功能计算机 ###
|
||||
|
||||
Ubuntu更为流行的使用之一,是在**信息端类计算机**中。这些设备趋向于运行功能剥离的,或者功能有限的OS版本,只允许**一个单一应用运行**。
|
||||
### 信息亭和单功能计算机 ###
|
||||
|
||||
信息端计算机可以设置提供短暂的或者被动的访问,对于网吧或者对于任何要求只有特定功能——如网页浏览器——可以让用户访问的机器十分理想。
|
||||
Ubuntu更为流行的使用之一,是在**信息亭(kiosk)类计算机**中。这些设备趋向于运行功能剥离的,或者功能有限的OS版本,只允许**一个单一应用运行**。
|
||||
|
||||
信息亭计算机可以设置提供短时的或者被动的访问,适用于网吧或只能让用户访问特定功能时(如网页浏览器)。
|
||||
|
||||
### 构建Ubuntu信息端 ###
|
||||
|
||||
但你会怎样来创建这样一台计算机?好吧,保存你的Google。Linux开发者Oli Warner最近发布了两篇文章,介绍了使用Ubuntu 14.04和Google Chrome来创建单一功能的设备。
|
||||
但你会怎样来创建这样一台计算机?好吧,不用去Google了。Linux开发者Oli Warner最近发布了两篇文章,介绍了使用Ubuntu 14.04和Google Chrome来创建单一功能的设备。
|
||||
|
||||
他的第一篇指南从零开始,使用Ubuntu Server和少量的软件包来创建一个轻量级的X和Openbox的组合,开机启动Chrome。该安装需要最多2GB的磁盘空间和仅仅512MB的内存来运行。
|
||||
|
||||
- [从零开始构建信息端计算机][1]
|
||||
- [从零开始构建信息亭计算机][1]
|
||||
|
||||
第二篇教程反其道而行,一步一步介绍了将一个现存的Ubuntu桌面安装转变为一个更轻巧的单一功能的变形版本。
|
||||
|
||||
- [将Ubuntu转换成信息端计算机][2]
|
||||
- [将Ubuntu转换成信息亭计算机][2]
|
||||
|
||||
Neither guide is for the faint-hearted, but are simple enough for most intermediate-level users to follow. Follow the guides to get a functional setup, but don’t be afraid to strip out further packages and processes or double down on security, especially if intending to use an instance in a public space.
|
||||
两个指南都不是给那些胆小的新手的,而对于大多数中级水平的用户而言却是简单易行的。跟着指南来获得一次实用的安装体验,不要畏首畏尾,大胆去剥离一些深层次的包和进程,或者加固安全吧,特别是如果想要在公共空间中使用一个实例。
|
||||
|
||||
两个指南都不是给那些胆小的新手的,而对于大多数中级水平的用户而言却是简单易行的。跟着指南来获得一次实用的安装体验,不要畏首畏尾,大胆去剥离一些深层次的包和进程,或者加固安全吧,特别是如果想要在公共环境中使用时。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@ -31,7 +32,7 @@ via: http://www.omgubuntu.co.uk/2014/07/create-ubuntu-kiosk
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[GOLinux](https://github.com/GOLinux)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -1,32 +1,32 @@
|
||||
Cheat - 一个给Linux初学者和管理员的终极命令行‘备忘单’
|
||||
Cheat—— 给Linux初学者和管理员一个终极命令行‘备忘单’
|
||||
==============================================================================================
|
||||
当你不确定你所运行的命令,尤其是那些使用了许多选项的复杂命令的时候,你怎么做?在这种情况下,我们使用man pages来获取帮助。还有一些其它的选择可能包括像‘**help**’,‘**whereis**’和‘**whatis**’这样的命令。但是所有的这些既有优点,也有缺点
|
||||
|
||||
当我们浏览**man pages**来查看选项和帮助的时候,man pages里面的描述实在太冗长了,我们无法在很短的时间里理解它的意思
|
||||
当你不确定你所运行的命令,尤其是那些使用了许多选项的复杂命令时,你会怎么做?在这种情况下,我们使用man pages来获取帮助。还有一些其它的选择可能包括像‘**help**’,‘**whereis**’和‘**whatis**’这样的命令。但是所有的这些既有优点,也有缺点。
|
||||
|
||||
当我们浏览**man pages**来查看选项和帮助的时候,里面的描述实在太冗长了,我们无法在短的时间里理解它的意思。
|
||||
|
||||
![Linux Man Pages](http://www.tecmint.com/wp-content/uploads/2014/07/Linux-Man-Pages.jpeg)
|
||||
Linux Man Pages
|
||||
|
||||
同样,‘**help**’命令可能不会给你想要的答案
|
||||
同样,‘**help**’命令可能也不会给你期待的答案。
|
||||
|
||||
![Help Command](http://www.tecmint.com/wp-content/uploads/2014/07/help-command.jpeg)
|
||||
Help Command
|
||||
|
||||
‘**whereis**’命令几乎不给你任何信息,除了安装的二进制文件的位置(有些时候可能非常重要)
|
||||
‘**whereis**’命令几乎不给你任何信息,除了安装二进制文件的位置(有些时候可能是重要的)
|
||||
|
||||
![Whereis Command](http://www.tecmint.com/wp-content/uploads/2014/07/whereis-command.jpeg)
|
||||
Whereis Command
|
||||
|
||||
‘**whatis**’命令给出一套很严格的答案---仅仅说出了所查询命令的作用,但,它并没有什么太大帮助。而且, 它从来不提及所查询命令所拥有的选项
|
||||
‘**whatis**’命令给出一套很严格的答案,它除了说出所查询命令的作用,并没有什么太大帮助。而且,它从来不说明可用的选项。
|
||||
|
||||
![Whatis Command](http://www.tecmint.com/wp-content/uploads/2014/07/whatis-command.jpeg)
|
||||
Whatis Command
|
||||
|
||||
我们使用这些选项直到在困境中解决问题,但是现在来了一个交互式的备忘录应用程序‘**cheat**’,它将带领其余的命令查询命令
|
||||
直到在困难中解决问题前,我们已经使用了以上全部选项,但是现在来了一个交互式的备忘录应用程序‘**cheat**’,它将在其余的命令中脱颖而出。
|
||||
|
||||
### 什么是cheat? ###
|
||||
|
||||
**cheat**是在GNU通用公共许可证下,为Linux命令行使用者发行的交互式备忘单应用程序。它提供显示Linux命令使用案例,包括该命令所有的选项和简短但尚可理解的功能介绍
|
||||
**cheat**是在GNU通用公共许可证下,为Linux命令行用户发行的交互式备忘单应用程序。它提供显示Linux命令使用案例,包括该命令所有的选项和简短但尚可理解的功能。
|
||||
|
||||
![Cheat: Provides Easy Command Options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-sheet.jpeg)
|
||||
|
||||
@ -34,7 +34,7 @@ Cheat:提供简单命令选项
|
||||
|
||||
### 在Linux系统中安装‘Cheat’ ###
|
||||
|
||||
‘**Cheat**’有两个主要的依赖 - ‘**python**’ 和 ‘**pip**’,在安装‘**cheat**’之前,确保你的系统安装了python和pip
|
||||
‘**Cheat**’有两个主要的依赖——‘**python**’ 和 ‘**pip**’,在安装‘**cheat**’之前,确保你的系统安装了python和pip。
|
||||
|
||||
### Install Python ###
|
||||
|
||||
@ -46,29 +46,29 @@ Install Pip
|
||||
# apt-get install python-pip (基于Debian的系统)
|
||||
# yum install python-pip (基于小红帽的系统)
|
||||
|
||||
**Note**:pip是一个简单的安装替代,是一个有极大改进的Python第三方包安装器
|
||||
**Note**:pip是一个简单的安装替代,是一个有极大改进的Python第三方包安装器。
|
||||
|
||||
### 下载并安装Cheat ###
|
||||
|
||||
我们将通过Git下载‘Cheat’,确保你安装了‘git’包,如果没有最好安装下
|
||||
我们将通过Git下载‘Cheat’,确保你安装了‘git’包,如果没有最好安装一下。
|
||||
|
||||
# apt-get install git (基于Debian的系统)
|
||||
# yum install git (基于小红帽的系统)
|
||||
|
||||
接下来,通过运行下面的命令来安装所需要的python依赖包
|
||||
接下来,通过运行下面的命令来安装所需要的python依赖包。
|
||||
|
||||
# pip install docopt pygments
|
||||
|
||||
现在,clone cheat的[Git repository][1]
|
||||
现在,复制cheat的[Git库][1]
|
||||
|
||||
# git clone https://github.com/chrisallenlane/cheat.git
|
||||
|
||||
进入cheat目录,运行‘**setup.py**’(一个python脚本)
|
||||
进入cheat目录,运行‘**setup.py**’(一个python脚本)。
|
||||
|
||||
# cd cheat
|
||||
# python setup.py install
|
||||
|
||||
如果安装很顺利,你就能够看到安装在系统上的cheat版本了
|
||||
如果安装很顺利,你就能够看到安装在系统上的cheat版本了。
|
||||
|
||||
# cheat -v
|
||||
cheat 2.0.9
|
||||
@ -79,9 +79,9 @@ Install Pip
|
||||
|
||||
export EDITOR = /usr/bin/nano
|
||||
|
||||
你可以使用你喜欢的编辑器来替代‘**nano**’。保存文件然后退出,再次登录以确保修改生效
|
||||
你可以使用你喜欢的编辑器来替代‘**nano**’。保存文件然后退出,再次登录以确保修改生效。
|
||||
|
||||
接下来,添加cheat的自动补全特性,来确保不同解释器下命令行的自动补全。为了到达该功能要求,简单地将‘**cheat.bash**’脚本clone下来,然后复制到你系统正确的路径下
|
||||
接下来,添加cheat的自动补全特性,来确保不同解释器下命令行的自动补全。为了到达该功能要求,简单地将‘**cheat.bash**’脚本clone下来,然后复制到你系统正确的路径下。
|
||||
|
||||
# wget https://github.com/chrisallenlane/cheat/raw/master/cheat/autocompletion/cheat.bash
|
||||
# mv cheat.bash /etc/bash_completion.d/
|
||||
@ -90,15 +90,15 @@ Install Pip
|
||||
|
||||
- [Auto Completion Script for Various Shells][2]
|
||||
|
||||
不仅如此,如果需要的话,你也可以使用语法高亮。要想达到次功能,在你的‘**.bashrc**’文件中添加‘**CHEATCOLORS**’环境变量
|
||||
不仅如此,如果需要的话,你也可以使用语法高亮。要想做到这一点,在你的‘**.bashrc**’文件中添加‘**CHEATCOLORS**’环境变量。
|
||||
|
||||
export CHEATCOLOR=true
|
||||
|
||||
Cheat应用默认只提供最基本和最常用的命令。cheat备忘单的内容保存在**~/.cheat/.**目录里,我们可以手动在这个目录添加备忘单里面的内容,这样,我们的cheat应用将更强大
|
||||
Cheat应用默认只提供最基本和最常用的命令。cheat备忘单的内容保存在**~/.cheat/.**目录里,我们可以手动在这个目录添加备忘单里面的内容,这样,我们的cheat应用将更强大。
|
||||
|
||||
# cheat -xyz
|
||||
|
||||
这将打开xyz备忘单,如果没有的话就会创建一个。备忘单将使用**.bashrc**里设置的默认**编辑器**打开,默认编辑器就是上面内容所提及到的
|
||||
这将打开xyz备忘单,如果没有的话就会创建一个。备忘单将使用**.bashrc**里设置的默认**编辑器**打开,默认编辑器就是在上面**.bashrc**所设置的。
|
||||
|
||||
### 一些Cheat命令的使用 ###
|
||||
|
||||
@ -107,7 +107,7 @@ Cheat应用默认只提供最基本和最常用的命令。cheat备忘单的内
|
||||
![tar command options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-tar.jpeg)
|
||||
tar命令选项
|
||||
|
||||
除非在不同的地方咨询和核对后,我才使用**dd**命令,在此之前,无论我对这个命令多么的确定,我从不使用它。现在,事情就变得简单多了
|
||||
除非在不同的地方咨询和核对后,我才使用**dd**命令,在此之前,无论我对这个命令多么的肯定,我从不使用它。现在,事情就变得简单多了。
|
||||
|
||||
![dd command options](http://www.tecmint.com/wp-content/uploads/2014/07/cheat-dd.jpeg)
|
||||
dd命令选项
|
||||
@ -122,42 +122,42 @@ uname命令选择
|
||||
![ifconfig command options](http://www.tecmint.com/wp-content/uploads/2014/07/ifconfig-command.jpeg)
|
||||
ifconfig命令选项
|
||||
|
||||
‘top‘命令,一个对管理员和正常用户来说,最重要的命令之一
|
||||
‘top’命令,对管理员和普通用户来说,是最重要的命令之一。
|
||||
|
||||
![top command options](http://www.tecmint.com/wp-content/uploads/2014/07/top-command.jpeg)
|
||||
top命令选项
|
||||
|
||||
我们来骗骗cheat命令,如何(尽管别有意义)?得到可用命令的的列表,其实就是安装在你系统里的cheat备忘录
|
||||
我们来骗骗cheat命令,如何(尽管别有意义)?得到一个可用命令的列表,其实就是安装在你系统里的cheat备忘录。
|
||||
|
||||
![List All Linux Commands](http://www.tecmint.com/wp-content/uploads/2014/07/linux-commands.jpeg)
|
||||
列出所有Linux命令
|
||||
|
||||
使用关键字搜索备忘单
|
||||
使用关键字搜索备忘单。
|
||||
|
||||
![Search Cheat Sheet](http://www.tecmint.com/wp-content/uploads/2014/07/search-cheat-sheet.jpeg)
|
||||
搜索备忘单
|
||||
|
||||
来看看包含所有命令的内置备忘单
|
||||
来看看包含所有命令的内置备忘单。
|
||||
|
||||
$ cheat -d
|
||||
|
||||
/home/avi/.cheat
|
||||
/usr/local/lib/python2.7/dist-packages/cheat/cheatsheets
|
||||
|
||||
复制内置的备忘单到你的本地目录
|
||||
复制内置的备忘单到你的本地目录。
|
||||
|
||||
# cp /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/* /home/avi/.cheat/
|
||||
|
||||
### 结论 ###
|
||||
|
||||
这个有趣的工程在许多情况下担任救世主的角色,它给予你需要的信息,信息不冗余,不模糊,相反地,却击中要点。这是每个人都会需要的工具,很简单就能创建,安装,使用和理解,这个项目前途无量
|
||||
这个超棒的工具在许多情况下担任“救世主”的角色,它给予你需要的信息,信息不冗余,不模糊,相反地,却击中要点。这是每个人都会需要的工具,很简单就能创建、安装,使用和理解,这个工具前途无量。
|
||||
|
||||
这个Git仓库已经添加了一个精彩的**gag**,这里我不打算去解释它,而留给你去解释
|
||||
这个Git仓库已经添加了一个精彩的**gag**,这里我不打算去解释它,而留给各位来解释。
|
||||
|
||||
![Linux Gag](http://www.tecmint.com/wp-content/uploads/2014/07/linux-gag.jpeg)
|
||||
Linux Gag
|
||||
|
||||
好了,文章就要结束了,我会带着下一个你们爱读的有趣文章回到这里的,在此之前,时刻关注Tecmint。别忘了在下面的评论部分给我们提供你们有价值的反馈
|
||||
好了,文章就要结束了,我会带着下一篇你们喜欢的有趣文章回到这里的,在此之前,要时刻关注我们。别忘了在下面的评论部分给我们留下您宝贵的反馈信息。
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@ -165,7 +165,7 @@ via: http://www.tecmint.com/cheat-command-line-cheat-sheet-for-linux-users/
|
||||
|
||||
作者:[Avishek Kumar][a]
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -1,15 +1,14 @@
|
||||
在RHEL / CentOS / 5.x / 6.x上禁用并使单用户模式受到密码保护
|
||||
在RHEL / CentOS / 5.x / 6.x上用密码保护单用户模式
|
||||
================================================================================
|
||||
大家好,
|
||||
|
||||
如果您还没有使用密码保护单用户模式,这对你的Linux服务器会是一个很大的风险,所以在涉及到安全性时,使用密码保护单用户模式是非常重要的。
|
||||
大家好,如果您还没有使用密码保护单用户模式,这对你的Linux服务器会是一个很大的风险,所以在涉及到安全性时,使用密码保护单用户模式是非常重要的。
|
||||
|
||||
今天这篇文章我会向你展示如何在RHEL / CentOS 5.x 和 RHEL / CentOS 6.x上使用密码保护你的单用户模式。
|
||||
|
||||
请仔细地执行所给出的命令,不然你的系统将会无法正常启动。首先,我会请你先完整地读完,然后在尝试。请自己承担相应的后果:-)
|
||||
|
||||
![Password Protect](http://www.tejasbarot.com/wp-content/uploads//password-300x140.jpg)
|
||||
Password Protect
|
||||
|
||||
<small>Password Protect</small>
|
||||
|
||||
### 1. 对于 RHEL / CentOS 5.x ###
|
||||
|
||||
@ -17,11 +16,11 @@ Password Protect
|
||||
|
||||
cp /etc/inittab /etc/inittab.backup
|
||||
|
||||
** 禁用并使单用户模式受到密码保护,用root执行下面的命令 :-**
|
||||
**要使单用户模式受到密码保护,用root执行下面的命令 :-**
|
||||
|
||||
[root@tejas-barot-linux ~]$ sed -i '1i su:S:wait:/sbin/sulogin'
|
||||
[root@tejas-barot-linux ~]# sed -i '1i su:S:wait:/sbin/sulogin' /etc/inittab
|
||||
|
||||
** 这样你会看到像下面这样的 **
|
||||
**这样你会看到像下面这样的**
|
||||
|
||||
su:S:wait:/sbin/sulogin
|
||||
# Default runlevel. The runlevels used by RHS are:
|
||||
@ -35,7 +34,7 @@ Password Protect
|
||||
#
|
||||
id:3:initdefault:
|
||||
|
||||
*NOTE: 如果你不想使用sed命令你可以在/etc/inittab 顶部加入 “su:S:wait:/sbin/sulogin” *
|
||||
*NOTE: 如果你不想使用sed命令你可以在/etc/inittab 顶部加入 “su:S:wait:/sbin/sulogin”*
|
||||
|
||||
### 2. 对于 RHEL / CentOS 6.x ###
|
||||
|
||||
@ -43,9 +42,9 @@ Password Protect
|
||||
|
||||
cp /etc/sysconfig/init /etc/sysconfig/init.backup
|
||||
|
||||
#### 2.2 禁用并使单用户模式受到密码保护,用root执行下面的命令 :- ####
|
||||
#### 2.2 要使单用户模式受到密码保护,用root执行下面的命令 :- ####
|
||||
|
||||
[root@tejas-barot-linux ~]$#sed -i 's/SINGLE=\/sbin\/sushell/SINGLE=\/sbin\/sulogin/' /etc/sysconfig/init
|
||||
[root@tejas-barot-linux ~]# sed -i 's/SINGLE=\/sbin\/sushell/SINGLE=\/sbin\/sulogin/' /etc/sysconfig/init
|
||||
|
||||
**这样你会看到像下面这样的**
|
||||
|
||||
@ -53,15 +52,15 @@ Password Protect
|
||||
|
||||
*注意 :- 如果你不想使用sed你可以在 /etc/sysconfig/init 中直接改成 “SINGLE=/sbin/sulogin”*
|
||||
|
||||
E享受Linux :) 享受开源
|
||||
享受Linux :) 享受开源
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.tejasbarot.com/2014/05/05/disable-password-protect-single-user-mode-rhel-centos-5-x-6-x/#axzz39oGCBRuX
|
||||
via: http://www.tejasbarot.com/2014/05/05/disable-password-protect-single-user-mode-rhel-centos-5-x-6-x/
|
||||
|
||||
作者:[Tejas Barot][a]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
@ -0,0 +1,39 @@
|
||||
Linux有问必答:如何检查Linux系统的最后重启时间
|
||||
================================================================================
|
||||
|
||||
> **问题**: 是否有一个命令可以快速地检查系统已经运行了多久? 也就是我怎么知道Linux系统最后的重启时间?
|
||||
|
||||
有许多方法来查询系统最后的重启时间。
|
||||
|
||||
### 方法一 ###
|
||||
|
||||
第一种方法是使用last命令
|
||||
|
||||
$ last reboot
|
||||
|
||||
![](https://farm4.staticflickr.com/3925/14881994335_041e9c2f86_z.jpg)
|
||||
|
||||
这条命令实际上显示的是最近几天的系统运行时间。last原本被设计来显示某个特定用户的登录历史。在Linux中,有一个特别的“伪用户”称为reboot会在系统重启的时候立即自动登录。这样通过检查reboot用户的登录历史,你就可以检查最后的重启时间。
|
||||
|
||||
### 方法二 ###
|
||||
|
||||
另外一个检测系统最后启动时间的方法是使用who命令带上‘-b’选项。
|
||||
|
||||
$ who -b
|
||||
|
||||
### 方法三 ###
|
||||
|
||||
你同样可以使用uptime命令来推断系统最后的启动时间。uptime命令会显示当前的时间,同样也会显示系统已经运行的时间。从这些信息中,你就可以计算系统最后启动的时间了
|
||||
|
||||
$ uptime
|
||||
|
||||
![](https://farm4.staticflickr.com/3915/14881660192_58f2843969_o.png)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/check-last-time-system-rebooted-linux.html
|
||||
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
@ -0,0 +1,214 @@
|
||||
KDE Plasma 5 —— 给尚未确定桌面环境的 Linux 用户指明道路
|
||||
================================================================================
|
||||
> 点评 ———— 新的KDE 5版本既满足了传统桌面环境的需求,也兼顾了多设备长期支持计划
|
||||
|
||||
KDE 项目终于发布了备受瞩目的 KDE 桌面环境的最新主版本 ———— KDE Plasma 5。
|
||||
|
||||
Plasma 5 站在了一场正在进行的未来 Linux 桌面环境的争夺战中间。
|
||||
|
||||
一方面,有着 GNOME 和 Unity 这样的新生桌面代表。二者均通过某种重要方法打破了传统桌面模式的垄断,并且都不只是满足于桌面型计算机,而将其界面延伸到了备受期待的新型平板电脑([也许不久后就会面世][1])。
|
||||
|
||||
另一方面,Linux 桌面环境,如 KDE、XFCE、LXDE、Mate 甚至 Cinnamon,都是桌面环境的另一种类型 ———— 自发布以来没有什么大的变化,继续向用户提供传统的桌面环境体验,但这并不能表明这些项目没有成长和进步。这些发行版全部持续更新,并且根据成熟桌面应有的模式进行了不断的调整。
|
||||
|
||||
![Ubuntu 下的 Unity 桌面环境](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot-unity.png)
|
||||
|
||||
Ubuntu 下的 Unity 桌面环境
|
||||
|
||||
![GNOME 3 桌面环境](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot-gnome.png)
|
||||
|
||||
GNOME 3 桌面环境
|
||||
|
||||
GNOME 和 Unity 暂时在这场正在进行的争夺战中赢得了最大的优势。二者均新颖非凡,固执并极端。有的 Linux 用户对他们情有所钟,也有的 Linux 用户对他们恨之入骨。这使得在 Linux 世界里,没有哪条关于这两个桌面环境的评论或帖子是轻松活泼的。同时两大 Linux 阵营之间的差异不仅仅关乎于你未来桌面的样子,更决定了未来计算机会如何运作。
|
||||
|
||||
GNOME 和 Unity 相信未来的计算机运作方式,是由多台设备同时运行着相同的软件互相合作而成的 ———— 因此这两个项目发行的新版桌面只朝着这个方向努力。这些新版桌面并不是真正意义上作为未来桌面打造的,而是同时囊括了现在意义上的桌面,以及会出现在未来设备上的桌面的混合桌面。而另一派 Linux 桌面环境似乎完全忽视了这些。
|
||||
|
||||
与闭源操作系统的世界不同 ———— 那里所有变化都遗传了下来,与之仿效还是以之为戒?Linux 世界正在这两种对立的观点中徘徊着。
|
||||
|
||||
对用户群体来说,这也许很令他们沮丧。试想你正在努力完成工作,但此时你必须完成一个会彻底改变你现有桌面环境的更新,陌生的工作方式使你不得不花费时间来学习。即便最好的情况是,当你曾经最喜爱的桌面环境更新得面目全非的时候,你选择迁移到了其他桌面去。但你长久以来的使用习惯以及那种熟悉的感觉,却再也无法找回了。
|
||||
|
||||
幸运的是,有一个简单的方法去避免这种糟糕的情况并为你找到合适的桌面。简而言之:你想被桌面牵制,还是想控制桌面?
|
||||
|
||||
如果你是第一派阵营的,并且乐于学习新的工作方式,那么 Unity 和 GNOME 3 将会是你最好的选择。如果你是后一派阵营的,XFCE、Cinnamon、Mate,还有许多其他的桌面环境,都将很好的满足你的需求。甚至如果你想尝试和 Unity 还有 GNOME 3 都不相同的新生桌面时,也有 Xmonad、Ratpoison 等其他非常小众的桌面环境供你选择。(说来惭愧,自从 Linus 说了“呃,嘿,这有个内核非常适合你的 GNU 操作系统”以来,Xmonad 可能是 Linux 里最好的东西了。)
|
||||
|
||||
![KDE Plasma 5's new boot screen.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot01.png)
|
||||
|
||||
KDE Plasma 5 的启动界面
|
||||
|
||||
那么对于犹豫不决的 Linux 用户呢,让他们随便选一种吗?他们喜欢传统桌面环境的带来体验,但也不想因此放弃新生桌面的菜单、快捷方式还有任务栏,同时他们还担心着平板电脑等其他问题,想着是否会有某个桌面能在所有设备上工作。假如你正在这么想,那么我的朋友,你绝对有必要尝试下 KDE 的最新版 Plasma 5。
|
||||
|
||||
KDE 正在尝试做其他 Linux 桌面都没有做过的事 ———— 向平板电脑及移动设备桌面前进的同时,继续向用户提供传统的、多功能的、高度定制化的桌面体验。
|
||||
|
||||
### KDE Plasma 5 与“通用”世界 ###
|
||||
|
||||
经历过 KDE 3.5 升级至 KDE 4 的用户似乎仍然避免任何有关 KDE 的重要更新,但对 KDE 粉丝而言,Plasma 5 还是带来了一些好消息。确实这是一个重要更新,没错,但这只是极少数情况下出现的例外(因此我得花费点时间来解释一下,因为你还不太了解)。
|
||||
|
||||
事实证明,难以置信且艰难万分的 KDE 4 更新确实为一个更加美好的未来打下了坚实的基础 ———— 我们现在刚刚抵达这美好的未来。
|
||||
|
||||
通过这次更新,KDE 核心今后出现变化的可能性大大减小。我们确实提及了正迈向平板电脑以及其他设备的一步,这令人难以置信,但不要害怕。KDE 似乎准备去做 GNOME 和 Unity 无法做到的事 ———— 在不改变传统桌面模式的前提下,移植到其他设备上去。换言之,这一版本极力避免了所有因某些新技术的出现而随意尝试所导致的混乱结果。
|
||||
|
||||
(说点其他的:如果你没记住也没关系,但你认同 Canonical 继续通过 Unity 的更新来实现桌面通用这件事吗?早在 Canonical 让用户测试 GNOME 2 菜单中的阴影棕色以调配出最佳效果时,KDE 就开始决定实施桌面统一计划了)
|
||||
|
||||
通过 KDE Frameworks 5、Qt5 还有其他一系列随同 Plasma 5 进行的更新,通用版本的 KDE 得以实现。KDE 将出现在任何需要它的地方。
|
||||
|
||||
因此当所有因素出现时,KDE 项目及其开发者打造出了全新的界面 ———— KDE 称这种新框架为“通用等离子壳层”(converged Plasma shell),在 Plasma 5 中作为支撑桌面环境的框架基础 ———— Plasma 5 桌面截至目前,是唯一的界面。KDE 计划打造出其他的界面,但针对 Plasma 5 的[官方声明][2]中提到“一个平板中心及用户体验媒体中心正在开发中”。
|
||||
|
||||
从这点来看,KDE 的通用版本和和 Ubuntu 所预想的并不相同;用户界面将基于设备和硬件进行改变。例如,当你在长椅上浏览网页的时候,你也许有台平板电脑正在管理着进行中的工作。然后你起身,走回办公室,连接无线键盘,平板电脑又变成了拥有键盘的友好操作界面。
|
||||
|
||||
这种情况下有些潜在的问题,部分 Win 8 用户也许已经习以为常了。比方说,假如键盘正在进行输入,而你仍然想通过触屏进行交互,会发生些什么?试想你正在操纵鼠标,但你同时却想活动活动手指。
|
||||
|
||||
我们提及这些并不是说 KDE 没有考虑过这些问题(希望他们已经考虑过了),而是指这个“通用”所有设备用户界面的想法将很难做到完美。并且 KDE 一直在做一件事 ———— 暗示用户这项计划的成功是遥遥无期的。
|
||||
|
||||
假如 KDE 能运行在平板设备上,那么用户将获得可以订制任何细节部分的体验。简单来说,会有一种方法让你决定当系统检测到键盘时进行什么操作,而不是让系统自己决定。
|
||||
|
||||
### Plasma 5 桌面 ###
|
||||
|
||||
KDE Plasma 5 是由 KDE 4 演化来的,而不是任何一种意义上的界面革新。
|
||||
|
||||
![KDE Plasma 5 的桌面。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot02.png)
|
||||
|
||||
KDE Plasma 5 的桌面。
|
||||
|
||||
我们早就用这个版本了 ———— 早在不太稳定的测试期时就开始了,尽管大部分错误提示已图形化,而不仅仅是文字警告 ———— 截至目前已在虚拟机上运行了超过一个月的时间。我们已经在 Retina 屏的 MacBook Pro 上进行过了双重启动测试,并且验证了 KDE 在更旧的硬件,一台古老的东芝笔记本上,表现如何。测试 KDE Plasma 5 期间我们使用了 Kubuntu(虚拟机和东芝笔记本)以及新安装的 Arch Linux(MacBook 上的双重启动)。
|
||||
|
||||
如果你想试试 Plasma 5,最简单的方法是下载[KDE 的官方 Neon live CD][3]。这样可以使你得到在 Ubuntu 上运行的 Plasma。如果你想在一个已经安装了 Kubuntu 的操作系统上安装测试,你可以使用以下命令:
|
||||
|
||||
sudo add-apt-repository ppa:neon/kf5
|
||||
sudo apt-get update
|
||||
sudo apt-get install project-neon5-session project-neon5-utils project-neon5-konsole project-neon5-breeze project-neon5-plasma-workspace-wallpapers
|
||||
|
||||
重启你的机器,你将会在登录界面下找到启动 Neon 的新启动项。
|
||||
|
||||
当你安装完 Plasma 5 并且启动时,首先你将会注意到的是叫做 Breeze 全新 KDE 默认主题。
|
||||
|
||||
### Plasma 5 的全新外观 Breezy ###
|
||||
|
||||
Breezy 主题是 KDE 所要呈现出的一种现代化界面,同时“减少了工作区的视觉混乱”。也就是说,很长时间以来一直作为 KDE 默认外观一部分的,那种给人以忙碌混乱的感觉已经成为了过去。
|
||||
|
||||
![KDE Plasma 5 的 Breeze 桌面主题最大程度上完善了开始菜单。每个标签下都有注释,方便搜索。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot03.png)
|
||||
|
||||
KDE Plasma 5 的 Breeze 桌面主题最大程度上完善了开始菜单。每个标签下都有注释,方便搜索。
|
||||
|
||||
全部界面发生了极大的变化 ———— 更大的字体,更好的对比度,以及一种全新的平面布局,其“磨砂”外观有点类似并且介于 OS X Yosemite、Android L 还有 KDE 4.x 的风格。这并不是说 KDE 抄袭了苹果或者谷歌。这不可能是抄袭,因为 Plasma 5 和 Breeze 主题发布了很长时间之后苹果核谷歌那里才透漏出些许 Yosemite 还有 Android L 的信息出来。
|
||||
|
||||
当然,说 KDE 抄袭了任何产品都是不对的,从 Breeze 的视觉设计和整体审美性来看,其更偏向于长时间沉淀的作品。从这种角度看,它看起来很“现代化”,只要你把现代化定义为较多的尖锐元素,较少的纹理和轮廓,更多的半透感,以及单色图形。
|
||||
|
||||
KDE 的设计者将大量的工作放在了 Breeze 主题还有其外观上。这不仅仅是外观上的变化。Breeze 主题借由清爽的菜单、更有条理的通知中心以及全新的开始菜单,使 KDE 变得更加友好。
|
||||
|
||||
![清爽、有条理的通知中心。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot04.png)
|
||||
|
||||
清爽、有条理的通知中心。
|
||||
|
||||
Breeze 出现了多少问题取决于你是否使用过它。KDE 更倾向于那些喜欢定制自己系统的用户,他们大概也喜欢定制主题。有件期待的事,有什么发行版会大幅修改默认 KDE 主题? ———— 显然是 OpenSUSE ———— 将会提供一个比 Breeze 所提供的更高的开始菜单栏。
|
||||
|
||||
目前而言,大多数发行版应该不会直接过渡到 Breeze 上去,因为其仍处于测试阶段。而且巧合的是,Breeze 将会是你注意到 Plasma 5 不完美的第一个标志。开始菜单上有许多很棒的新图标了,但其他界面上却没有。并且作为 Kubuntu PPA 可用的最新更新,Breeze 并未使用新版的窗口装饰。新版窗口装饰是已经安装了的,但默认并未被使用。你可以去系统设置中打开该选项以获得更完整的,但也更有可能出 bug 的 Breeze 体验。
|
||||
|
||||
![图片上半部分是默认的 Oxygen 窗口装饰,下半部分是最新的 Breeze 主题中的窗口装饰。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot05.png)
|
||||
|
||||
图片上半部分是默认的 Oxygen 窗口装饰,下半部分是最新的 Breeze 主题中的窗口装饰。
|
||||
|
||||
并非所有都是理想的,有时很难分辨什么是 bug 或者什么地方是不完善的,以及哪里的设计不够好。比如,Breeze 下有很多窗口的时候会呈半透明覆盖状,其中一些看起来非常好看。但某些时候,这会成为一种妨碍。堆叠窗口与覆盖预览之后的是什么,在后台时很难看到这些。可以通过将之拉至前台来解决问题,但这样一来则很难评价透明的意义在哪里。
|
||||
|
||||
![透明... 意义何在?](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot06.png)
|
||||
|
||||
透明... 意义何在?
|
||||
|
||||
是的,Breeze 主题仍然处于测试中,不仅仅是功能和设计;工作重点放在了真正 bug 还有缺陷上。同时我们还遇到了一些意料之外的情况,特别是关于屏幕刷新的问题。这些问题频繁发生,很长时间才引起我们的注意。窗口时常消失,并且有时菜单栏只显示一半。
|
||||
|
||||
Plasma 5 在我们的测试期间从未崩溃过,并且从未遗失任何数据。但注意 ———— 经常会有一些图像方面的小 bug 出现。我们建议你在稳定版发布前不要尝试进行更新。
|
||||
|
||||
### Plasma 的垂直菜单 ###
|
||||
|
||||
Breeze 给 Plasma 5 带来一种新外观,同时也带来了许多细节方面的变化。例如,窗口小部件和 ALT-TAB 窗口切换均呈现垂直显示,并且默认都具有相同的启动位置 ———— 当前屏幕的左侧。
|
||||
|
||||
![ALT-TAB 窗口切换的默认外观。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot07.png)
|
||||
|
||||
ALT-TAB 窗口切换的默认外观。
|
||||
|
||||
共通性也许对于 KDE 的新特点是有利的,当需要帮助时所需资料会出现在屏幕的左侧,但这也许会对那些期待点其他东西的老用户感到失望。有些变化看上去不太合情理。
|
||||
|
||||
![窗口小部件。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot08.png)
|
||||
窗口小部件。
|
||||
|
||||
KDE 项目称在像窗口小部件和窗口切换器等菜单中,垂直菜单将取代水平菜单,“提供更好的使用体验”。但并未提及会具体如何。发行文档称挪动窗口切换器至屏幕一端“使用户的注意力更加集中于应用和文档,以完成手头上的工作”。可是当你启用了窗口切换器,嗯,准备切换窗口时,你的注意力更可能是在不同的任务间而不是集中在某一个任务上面。
|
||||
|
||||
![KDE 依旧偏向于提供不同选择。注意右侧的暗灰色选择条,那是拖动窗口时的阴影选项。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot09.png)
|
||||
|
||||
KDE 依旧偏向于提供不同选择。注意右侧的暗灰色选择条,那是拖动窗口时的阴影选项。
|
||||
|
||||
这就是 KDE,当然,不是 Unity;高度可定制化是其一大特色,而不是 bug。进入系统设置你可以调回旧版风格的窗口切换器,并且在 Plasma 5 中有 10 种不同的窗口切换器效果可供选择。如果默认风格并不是你最喜欢的,那么换一个吧。
|
||||
|
||||
### 告别 Nepomuk 语义桌面的时间,感谢长久以来支持着我们的粉丝 ###
|
||||
|
||||
如果你是 KDE 重度用户,并且经历了 KDE 的顶峰和低谷,并仍抱有期待,那么你肯定已经知道了 Plasma 5 中的最大看点。没错,KDE 替换了 Nepomuk 语义桌面,取而代之的是称作 Baloo 的新搜索引擎。
|
||||
|
||||
Nepomuk 语义桌面最初是一个由欧盟赞助的搜索项目,高调宣称其目的是创建一个“使用网络环境提供个性化服务的,基于本地的知识库管理(Networked Environment for Personalized, Ontology-based Management of Unified Knowledge)”。当项目被引用到 KDE 上的时候,Nepomuk 成为了一个更加通用的桌面搜索工具,在辉煌与疯狂之间徘徊着。
|
||||
|
||||
![在 Plasma 5 中搜索文件。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot10.png)
|
||||
|
||||
在 Plasma 5 中搜索文件。
|
||||
|
||||
Baloo 沿用了 Nepomuk 的大部分功能,全文字文件搜索和一种不可思议的文件衔接功能,比如,知晓与一个特定文件相关的其他文件并[予之改进][4]。实际上这使用于 Plasma 5 中的搜索功能,并且你可以在搜索栏的右边注意到两点:更快的速度以及每次索引更新时你的风扇并未发疯般狂转。
|
||||
|
||||
Baloo 大幅减少了搜索记录的资源,并且,根据 KDE 上的测试,其准确度更高了。我们不能保证后一点,因为我们从未在旧版 KDE 中使用大量搜索(参见风扇运转注释),但在计算精度上,Plasma 5 中的简单文件搜索达到了你使用 Ubuntu、OS X 等其他文件搜索方式的平均速度。涉及更复杂的搜索关系或复杂元数据的成功将更大程度上取决于你使用默认 KDE 应用的频率。比方说,如果你想利用基于 Baloo 的搜索引擎的优势进行涉及文件间关联的搜索时,你需要使用 Kontact 套件。
|
||||
|
||||
尽管这肯能会随着时间而改变,因为与 Nepomuk 相比另一个比较大的变化是新的、改进的开发者 API。搜索 API 意味着第三方应用可以配合 Plasma 5 中的语义搜索基础,并发挥默认应用所使用的相同工具的优势。
|
||||
|
||||
奇怪的是,其他可见的和 Baloo 具有相同任务量的搜索工具,其可见度与发掘性已经落后一步了。点燃 Plasma 5 的开始菜单 ———— KDE 对窗口开始菜单的回应 ———— 并且无法找到搜索栏。如果你仔细寻找,你将会找到一个非常小的提醒样式的“点击以进行搜索”,这是初版以来的第一步改变(没有你可以进行搜索的指示)。然而,可以发现这并不是一个专门的搜索框。
|
||||
|
||||
### Kickoff 开始菜单与他的新表弟 Kicker ###
|
||||
|
||||
KDE 提交的关于窗口开始菜单的答案一直是过度包装的、狭小空间内拥挤的视觉外观,但在 Breeze 主题中开始菜单开始变得清爽,并更具有视觉观赏性。
|
||||
|
||||
![默认主题下的开始菜单。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot11.png)
|
||||
|
||||
默认主题下的开始菜单。
|
||||
|
||||
如果这样对你的需求来说还是有点多,Plasma 5 提供了一个全新的、更加传统的菜单 ———— 称为 Kicker,基于原启动器。Kicker 所需完成的任务更少 ———— 它更接近于 XP 中的开始菜单,在需要提供扩展菜单的地方提供一种单一的、狭窄的面板 ———— 并且在你如果只是想启动应用或打开文件时,提供一种更加轻量级的选择。它也有一个非常显眼的搜索框。
|
||||
|
||||
![另一个选择 ———— 全新的 Kicker 菜单。](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot12.png)
|
||||
|
||||
另一个选择 ———— 全新的 Kicker 菜单。
|
||||
|
||||
菜单的另一侧得到了更新,变得更加清爽。最显著的变化是通知中心,减少了弹出次数,并且通过更好、更迅速方式来显示通知。
|
||||
|
||||
### OpenGL、QtQuick 以及 HiDPI 显示 ###
|
||||
|
||||
Plasma 5 完成了 KDE 至 Qt 5 和 QtQuick 的迁移,后者使用硬件加速的 OpenGL 场景图进行图形渲染。OpenGL 的大部分更新都和任何可用的 GPU 图形卸载有关。这意味着,如果你拥有被支持的硬件,Plasma 5 将利用现今强劲的 GPU 充分发挥显卡优势。
|
||||
|
||||
事实上,在最新的硬件上(例如我们测试所用的 MacBook 的 NVIDIA GeForce GT 显卡)Plasma 5 的反应速度很迅捷,远比其老版本要快。也许更令人印象深刻的是,即使把 Plasma 5 相比 KDE 4.x 在 GPU 上的优势去除,其反应速度仍然很快。也就是说,虽然在老旧硬件上运行仍然不是 KDE 的强项,但其表现与之前相比已有所改观。不过,如果你想在老旧硬件上得到更多支持,请务必使用 Xfce、LXDE 或者某些像 Openbox 那样简单的桌面环境吧。
|
||||
|
||||
有趣的是,弥补 Plasma 5 图形叠加的修改过后的框架也向 KDE 切换至 Wayland 显示服务协议提供了道路。尽管 KDE 并没有急着切换到 Wayland,但注意全面支持技术将在“某个未来版本”实现。
|
||||
|
||||
这一版本也声称改进了对 HDPI 显示的支持。然而,结合 GNOME 和 Unity 对 HDPI 的支持,实际经验是忧喜参半的。特别是字体渲染远不及 OS X 所提供的渲染平滑。对我来说,即使安装 了 Infinality 并进行调整,也从来没有出现令我满意的结果。我们仍然不确定问题是否是在安装过程中出现的,并且我们也未亲眼见到 HDPI 的新功能。或许,KDE 对于究竟是什么构成了 HDPI 支持有一个完全不同的定义。但愿问题是出在安装过程中。
|
||||
|
||||
### 有哪些缺陷 ###
|
||||
|
||||
在本文的前半部分,我们曾提到由 KDE 4 向 Plasma 5 的转变将不会像从 KDE 3 向 KDE 4 的转变那样艰难。对大多数人来说,这是真的,但是,对于某些人来说,也许会出现例外。
|
||||
|
||||
KDE 项目称这一版本的焦点已经“集中在了弥补核心工作流的工具上”,并表明“并不是所有 Plasma 4 系列中的功能都可以使用了”。这给那些经历了 KDE 3 向 KDE 4 转变的人敲响了警钟。
|
||||
|
||||
在测试期间,我们并未遇到任何性能上的差距或者功能上的显著缺失,除了提到:Breeze 主题的不完善、某些图形故障,以及某些可疑的设计方面的问题。也就是说,请查阅[已知问题列表][5],特别是性能方面的警示。
|
||||
|
||||
同时我们在此建议在你完全迁移至 Plasma 5 之前请提前测试,以确保你所必需的都已具备。
|
||||
|
||||
### 结论 ###
|
||||
|
||||
KDE Plasma 5 版本缺乏使 Unity 和 GNOME 一跃成名的那种吸引人的代表性变化。与之相反,KDE 项目致力于改善其核心桌面体验。从任何意义上讲 Plasma 5 都不是完美的,但与 Unity 和 GNOME 不同,你可以随意改变那些你所不喜欢的地方。
|
||||
|
||||
这一版本最激动人心的地方在于 KDE 已经在完全没有弄乱现有桌面的情况下,为交互界面做出了大量铺垫。另一个好消息是速度方面的改善。如果你此前曾经尝试过 KDE 并觉得它过于“庞大”,那么你应该重新审视以下 Plasma 5 了。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://arstechnica.com/information-technology/2014/08/kde-plasma-5-for-those-linux-users-undecided-on-the-kernels-future/
|
||||
|
||||
作者:Scott Gilbertson
|
||||
译者:[SteveArcher](https://github.com/SteveArcher)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://arstechnica.com/gadgets/2014/08/op-ed-tables-really-are-pcsbecause-theres-no-point-in-buying-new-ones/
|
||||
[2]:http://www.kde.org/announcements/plasma5.0/
|
||||
[3]:http://files.kde.org/snapshots/neon5-latest.iso.mirrorlist
|
||||
[4]:https://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search
|
||||
[5]:https://community.kde.org/Plasma/5.0_Errata
|
@ -3,15 +3,15 @@ Linux终端:speedtest_cli检测你的实时带宽速度
|
||||
|
||||
![](http://www.speedtest.net/result/3700218352.png)
|
||||
|
||||
什么是你在家(或者办公室)的上传和下载速度?你能保证,你支付费用给ISP的同时,你得到了等价的回报?
|
||||
你在家(或者办公室)的上传和下载速度如何?你能保证,你支付费用给ISP的同时得到了等价的回报?
|
||||
|
||||
为了测试我们因特网连接的速度,当下存在着一些因特网服务,比如说SpeedTest,这是一种可以通过Web浏览器和手机应用程序浏览的web服务
|
||||
要想测试我们因特网连接的速度,当下存在着一些因特网服务,比如说SpeedTest,这是一种可以通过Web浏览器和手机应用程序浏览的web服务。
|
||||
|
||||
现在,你可以很容易地检测你的网速,使用speedtest_cli同样很简单,它是一个使用[speedtest.net][2]来测试因特网[带宽][1]的命令行界面。通过这种方式,你也可以在没有浏览器或者图形化界面的服务器上做带宽测试
|
||||
现在,你可以很容易地检测你的网速,使用speedtest_cli同样很简单,它是一个使用[speedtest.net][2]来测试因特网[带宽][1]的命令行界面。通过这种方式,你也可以在没有浏览器或者图形化界面的服务器上做带宽测试。
|
||||
|
||||
### 安装 ###
|
||||
|
||||
speedtest_cli是一个python脚本,所以它真的很容易安装和使用,你拥有许多方式安装它:
|
||||
speedtest_cli是一个python脚本,所以它真的很容易安装和使用,你可以通过许多方式安装它:
|
||||
|
||||
#### 1)pip / easy_install ####
|
||||
|
||||
@ -39,8 +39,11 @@ speedtest_cli是一个python脚本,所以它真的很容易安装和使用,
|
||||
getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以轻松安装:
|
||||
|
||||
- 安装[getdeb包][4]
|
||||
|
||||
或者
|
||||
- 手动地配置仓库:
|
||||
|
||||
- 手动配置仓库:
|
||||
|
||||
进入系统管理软件源,第三方软件选项,加上:
|
||||
|
||||
deb http://archive.getdeb.net/ubuntu trusty-getdeb apps
|
||||
@ -56,7 +59,7 @@ getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以
|
||||
|
||||
#### 4)下载(和以前的方式一样) ####
|
||||
|
||||
作为最后的选择,只需要下载python脚本,然后在你想运行的地方运行脚本:
|
||||
最后一个选择,只需要下载python脚本,然后在你想运行的地方运行脚本:
|
||||
|
||||
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
|
||||
chmod +x speedtest-cli
|
||||
@ -68,7 +71,7 @@ getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以
|
||||
|
||||
### 基本用法 ###
|
||||
|
||||
你可以不带任何选项地运行speedtest_cli.py,然后你会在终端获得关于你带宽速度的报告,这就是我蹩脚的意大利Adsl输出:
|
||||
你可以不带任何选项地运行speedtest_cli.py,然后你会在终端获得关于你带宽速度的报告,这就是我那糟糕的意大利Adsl输出:
|
||||
|
||||
$ ./speedtest_cli.py
|
||||
Retrieving speedtest.net configuration...
|
||||
@ -81,7 +84,7 @@ getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以
|
||||
Testing upload speed...............................................
|
||||
Upload: 0.34 Mbits/s
|
||||
|
||||
这就是简简单单的基本用法,这足以让你知道你因特网连接的好坏,但是有可能,你需要和朋友分享这条信息,为了到达此目的,只需要-share选项
|
||||
这就是基本用法,这足以让你知道你因特网连接的好坏,但是可能你想要和朋友分享这条信息,那么,只需要-share选项就可以
|
||||
|
||||
./speedtest_cli.py --share
|
||||
Retrieving speedtest.net configuration...
|
||||
@ -119,7 +122,7 @@ getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以
|
||||
2918) ReteIVO by D.t.s. Srl (Arezzo, Italy) [129.79 km]
|
||||
...
|
||||
|
||||
现在,我知道围绕在我周围的服务器的ID,我可以使用-server选项选择一个特定的服务器,所以,为了选择位于Florence(ID 2710)的服务器,我使用下面的命令:
|
||||
既然我知道了围绕在我周围的服务器的ID,我可以使用-server选项选择一个特定的服务器,所以,要想选择位于佛罗伦萨(ID 2710)的服务器,我使用下面的命令:
|
||||
|
||||
./speedtest_cli.py --server 2710
|
||||
Retrieving speedtest.net configuration...
|
||||
@ -135,18 +138,16 @@ getdeb仓库给我们提供了[安装包][3],按照下面的步骤,就可以
|
||||
|
||||
---
|
||||
|
||||
via: http://linuxaria.com/howto/linux-terminal-speedtest_cli-checks-you
|
||||
r-real-bandwidth-speed
|
||||
via: http://linuxaria.com/howto/linux-terminal-speedtest_cli-checks-your-real-bandwidth-speed
|
||||
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://linuxaria.com/article/tool-command-line-bandwidth-linux
|
||||
[2]:http://linuxaria.com/howto/speedtest.net
|
||||
[3]:http://www.getdeb.net/
|
||||
[4]:http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getde
|
||||
b1_all.deb
|
||||
[4]:http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb
|
||||
[5]:http://www.asapy.com/
|
||||
|
@ -0,0 +1,45 @@
|
||||
“林纳斯·托瓦兹是我的英雄”13岁的扎卡里杜邦说
|
||||
================================================================================
|
||||
|
||||
Zachary DuPon是一名6年级的学生,他马上年满13岁。他过去是Arch liunx的用户,并期待着尽快安装Gentoo Linux。
|
||||
|
||||
Zachary DuPon的故事是这样的-他的学校组织了一个活动,要求学生们给他们的英雄写一封信,大多数孩子写给社会名流,而Zachary DuPon写给了现代科技世界的“真”英雄-林纳斯·托瓦兹。
|
||||
|
||||
由于林纳斯在家工作,他没有透露自己的办公地点,Zach的信送到了Linux基金会,工作人员会在发送给林纳斯之前浏览全部的信件内容。当基金会看到了这封信,他们联系了扎克的学校,慷慨地邀请他做客LinuxCon,这样他就能见到他的英雄本人。
|
||||
|
||||
linux的执行董事长Jim Zemlin在主题小组讨论过后,引领Zach来到人群中。Zach见到了林纳斯并得到了linux之父签名的《linux圣经》;他也得到了林纳斯签名自传[《只为了好玩:一次偶然的革命》][1]
|
||||
|
||||
![Linus Torvalds signing a book for Zachary DuPont](http://www.themukt.com/wp-content/uploads/2014/08/Linus_torvalds_zach_1.jpg)
|
||||
林纳斯·托瓦兹为扎克里杜邦签名
|
||||
|
||||
![The DuPont family](http://www.themukt.com/wp-content/uploads/2014/08/zachary_dupont_family.jpg)
|
||||
扎克里杜邦一家
|
||||
|
||||
![Swapnil Bhartiya with Zachary DuPont](http://www.themukt.com/wp-content/uploads/2014/08/swapnil_zach.jpg)
|
||||
本文作者 Swapnil Bhartiya和扎克里杜邦
|
||||
|
||||
我不想失去这个机会,所以他们和林纳斯交谈一结束,我就走向这个家庭,安排了这次视频采访。我是一个两岁孩子的父亲,而作为一名父亲,我着实对Zach自信、清晰,明确的思想所感到惊讶。
|
||||
|
||||
我提供给你这次视屏采访的细节
|
||||
|
||||
- 他使用Arch linux。
|
||||
- 他打算一旦他擅长编程就做出自己的贡献。
|
||||
- 他没有提交任何漏洞报告,并且他认为他应该这样做。他也表示他没有发现任何漏洞。
|
||||
- 他对WINE没太大的兴趣。
|
||||
- 他喜欢KDE的原始桌面,但是它在他的网关机器上工作不是很好。
|
||||
- 他是一个装有XFCE桌面环境的Debian GNU/linux用户。
|
||||
|
||||
林纳斯也许是扎克的英雄,但是扎克是整个GNU/linux和自由软件社区的英雄,他不断地提醒我们,未来尽在我们掌握中。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.themukt.com/2014/08/24/linus-torvalds-hero-says-13-years-old-zachary-dupont/
|
||||
|
||||
作者:[Swapnil Bhartiya][a]
|
||||
译者:[luoyutiantang](https://github.com/luoyutiantang)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.themukt.com/author/swapnil_bhartiya/
|
||||
[1]:http://www.amazon.com/gp/product/0066620732/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0066620732&linkCode=as2&tag=muktware-20&linkId=HBKEBIFVZQC35GGK
|
@ -0,0 +1,45 @@
|
||||
GIMP 2.8.12 发布了,来看看如何在Ubuntu上安装
|
||||
================================================================================
|
||||
**GIMP是深受欢迎的开源Photoshop替代软件,它的[新版本][1]现在可以下载了。**
|
||||
|
||||
![GIMP is a Free Photoshop Alternative](http://www.omgubuntu.co.uk/wp-content/uploads/2012/05/screen-shot-2012-05-03-at-10.38.40.jpg)
|
||||
GIMP是一款免费的可替代Photoshop的软件
|
||||
|
||||
正如在GIMP 2.8.x 系列中的最新条目——[自2012年起开始发布][2]并着重介绍长期追求的“单窗口模式”——版本2.8.12并没有重新去做它而是继续改进。如其所说,软件并没有发现面向用户的新特点。
|
||||
|
||||
然而,开发人员修复了一批新的漏洞,旨在提高整体的稳定性,安全性以及这款著名软件的风格。
|
||||
|
||||
- 插件的笔刷大小不再变形。
|
||||
- .XCF 文件的加载更稳固。
|
||||
- 小部件的方向现在匹配界面语言(例如 RTL)。
|
||||
- script-fu-server 的安全性提高。
|
||||
|
||||
文档,帮助以及翻译的更新也包括在其中。想了解在版本 2.8.10 和 2.8.12 之间所有修复完整更改日志,可以看[GNOME Git日志][2]。
|
||||
|
||||
### 在Ubuntu上安装最新的GIMP ###
|
||||
|
||||
最新发布的源代码可以从官方网站上或者从[官方种子文件][3]下载。
|
||||
|
||||
在Ubuntu上呢?在Ubuntu 12.04 和14.04 LTS 上你可以通过添加[以下第三方PPA][4]软件源来安装GIMP 2.8.12:
|
||||
|
||||
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
|
||||
|
||||
sudo apt-get update && sudo apt-get install gimp
|
||||
|
||||
在安装完成后,你可以从Unity Dash(或者类似途径)来启动GIMP 2.8.12。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/08/whats-new-in-gimp-2-8-12-plus-install-ubuntu
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[linuhap](https://github.com/linuhap)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2012/05/gimp-2-8-released
|
||||
[2]:https://git.gnome.org/browse/gimp/plain/NEWS?h=gimp-2-8
|
||||
[3]:http://download.gimp.org/pub/gimp/v2.8/gimp-2.8.12.tar.bz2.torrent
|
||||
[4]:https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp
|
@ -0,0 +1,290 @@
|
||||
真的超赞!用systemd命令来管理linux系统!
|
||||
================================================================================
|
||||
|
||||
Systemd是一种新的linux系统服务管理器。
|
||||
|
||||
它替换了init系统,能够管理系统的启动过程和一些系统服务,一旦启动起来,就将监管整个系统。在本文中,我们用的是[安装有 systemd 216 版本的centos 7.0][1],其最新版本[可以从 freedesktop.org 下载得到][2]。
|
||||
|
||||
因为linux操作系统里出现的这一个新人,PID 1被“systemd”占据了,这能通过**pstree**命令看到。
|
||||
|
||||
[root@linoxide ~]# pstree
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/01.systemd_pstree.png)
|
||||
|
||||
那么现在让我们来探索systemd擅长什么,它又有多大的可能性成为sysVinit的新的替代品。
|
||||
|
||||
### 1. 更快启动 ###
|
||||
|
||||
sysvinit一次一个串行地启动进程。
|
||||
|
||||
而Systemd则并行地启动系统服务进程,并且最初仅启动确实被依赖的那些服务,极大地减少了系统引导的时间。
|
||||
|
||||
你可以用下面的命令看到系统引导用时:
|
||||
|
||||
[root@linoxide ~]# systemd-analyze
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/02.systemd_analyze.png)
|
||||
|
||||
使用 **time** 参数也能够显示同样的内容。
|
||||
|
||||
[root@linoxide ~]# systemd-analyze time
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/03.systemd_analyze2.png)
|
||||
|
||||
如果你想以进程初始化所占用时间排序打印出所有正在运行的单元列表,那么**systemd-analyze**命令可以帮助你完成这个任务。
|
||||
|
||||
[root@linoxide ~]# systemd-analyze blame
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/04.systemd_blame.png)
|
||||
|
||||
上面的截屏只显示了小部分进程,你可以就像less分页器那样用箭头滚动列表。
|
||||
|
||||
### 2. systemctl 命令 ###
|
||||
|
||||
systemctl命令是自systemd出现以来被广泛讨论的命令。你可以通过这个命令管理你的整个系统,让我们通过探究这个命令来更进一步。
|
||||
|
||||
#### 2.1 列出单元 ####
|
||||
|
||||
**systemctl**命令可以带上list-units,也可以什么选项都不带来列出所有正在运行的单元。
|
||||
|
||||
[root@linoxide ~]# systemctl
|
||||
|
||||
或
|
||||
|
||||
[root@linoxide ~]# systemctl list-units
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/05.systemd_list_units.png)
|
||||
|
||||
#### 2.2 列出失败的单元 ####
|
||||
|
||||
运行失败的单元可以用带--failed选项的命令显示出来。
|
||||
|
||||
[root@linoxide ~]# systemctl --failed
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/06.systemd_failed.png)
|
||||
|
||||
你可以在这篇文章很多地方看到systemctl的用法。
|
||||
|
||||
### 3. 管理服务 ###
|
||||
|
||||
让我们来看看systemd是怎么管理系统服务的。
|
||||
|
||||
#### 3.1 激活的服务 ####
|
||||
|
||||
所有被激活的服务可以同下面这条命令来查看。
|
||||
|
||||
[root@linoxide ~]# systemctl list-units -t service
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/07.systemd_active_services.png)
|
||||
|
||||
#### 3.2 服务状态 ####
|
||||
|
||||
在sysvinit中,我们可以用“**service**”命令来管理服务,但在systemd中,我们用systemctl这个命令。
|
||||
我们可以用下面这个命令来查看服务是否在运行。
|
||||
|
||||
[root@linoxide ~]# systemctl status dnsmasq
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/08.systemd_status.png)
|
||||
|
||||
#### 3.3 启动一个服务 ####
|
||||
|
||||
用下面这条命令来启动服务。
|
||||
|
||||
[root@linoxide ~]# systemctl start dnsmasq
|
||||
|
||||
对应于**service**命令,这个命令不进行输出。但是毋庸置疑,我们可以通过再次查看这个刚刚被启动的服务的status(状态)来确认他是否被成功地启动了。
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/09.systemd_start.png)
|
||||
|
||||
#### 3.4 停止一个服务 ####
|
||||
|
||||
现在聪明的你一定知道怎么在systemd下用命令来关闭服务了吧。
|
||||
|
||||
[root@linoxide ~]# systemctl stop dnsmasq
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/10.systemd_stop.png)
|
||||
|
||||
#### 3.5 重启一个服务 ####
|
||||
|
||||
类似的,重启系统服务是用‘**systemctl restart**’来管理的。
|
||||
|
||||
[root@linoxide ~]# systemctl restart dnsmasq
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/11.systemd_restart.png)
|
||||
|
||||
#### 3.6 重新加载一个服务 ####
|
||||
|
||||
在我们需要重新加载服务的配置文件又不想重启这个服务(例如ssh)时,我们可以用这个命令。
|
||||
|
||||
[root@linoxide ~]# systemctl reload sshd
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/12.systemd_reload.png)
|
||||
|
||||
虽然上述几个命令的语法是可以工作的,但是官方文档建议我们用下面这种语法形式来运行命令(LCTT 译注,即使用在服务名后面跟上“.service”的完整名称):
|
||||
|
||||
[root@linoxide ~]# systemctl status dnsmasq.service
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/13.systemd_alternate_syntax.png)
|
||||
|
||||
### 4. 管理引导时的服务 ###
|
||||
|
||||
**chkconfig**命令被用来管理系统引导时的服务。同样用systemd也可以管理引导时的系统服务。
|
||||
|
||||
#### 4.1 检查服务引导时是否运行 ####
|
||||
|
||||
这条命令用来确定服务是否是引导时启动的。
|
||||
|
||||
[root@linoxide ~]# systemctl is-enabled dnsmasq.service
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/14.systemd_is_enabled.png)
|
||||
|
||||
#### 4.2 让服务在引导时运行 ####
|
||||
|
||||
**systemctl**命令是这样来enable(使之在引导时启动)一个服务的。(这相当于sysvinit中的‘**chkconfig on**’)
|
||||
|
||||
[root@linoxide ~]# systemctl enable dnsmasq.service
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/15.systemd_enable.png)
|
||||
|
||||
#### 4.3 取消服务在引导时运行 ####
|
||||
|
||||
类似的,使服务不在引导时启动用这个命令。
|
||||
|
||||
[root@linoxide ~]# systemctl disable dnsmasq.service
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/16.systemd_disable.png)
|
||||
|
||||
### 5. 管理远程系统 ###
|
||||
|
||||
所有刚才提到的systemctl命令通常都能被用来管理远程主机,完成这个任务将用到**ssh**来进行通讯。你只需要像这样将远程主机和用户名添加到systemctl命令后。
|
||||
|
||||
[root@linoxide ~]# systemctl status sshd -H root@1.2.3.4
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/17.systemd_remote.png)
|
||||
|
||||
### 6. 管理目标 ###
|
||||
|
||||
Systemd有一个完成与sysVinit的runlevels相似任务的构想。
|
||||
|
||||
sysVinit的runlevels大多是以数字分级的。这里是runlevers在systemd中的对应元素。
|
||||
|
||||
> 0 runlevel0.target, poweroff.target
|
||||
>
|
||||
> 1, s, single runlevel1.target, rescue.target
|
||||
>
|
||||
> 2, 4 runlevel2.target, runlevel4.target, multi-user.target
|
||||
>
|
||||
> 3 runlevel3.target, multi-user.target
|
||||
>
|
||||
> 5 runlevel5.target, graphical.target
|
||||
>
|
||||
> 6 runlevel6.target, reboot.target
|
||||
>
|
||||
> emergency emergency.target
|
||||
|
||||
#### 6.1 改变当前目标 ####
|
||||
|
||||
当前target可以用这个命令切换。
|
||||
|
||||
[root@linoxide ~]# systemctl isolate graphical.target
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/18.systemd_isolate.png)
|
||||
|
||||
#### 6.2 列出当前目标 ####
|
||||
|
||||
如果你想查看你正处于哪个target中,你需要列出相应的单元。虽然这样操作可能让你不太爽,但是这就是systemd工作的方式。
|
||||
|
||||
[root@linoxide ~]# systemctl list-units --type=target
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/19.systemd_targets.png)
|
||||
|
||||
你可以看到“graphical.target”列在此处,这就是我们刚才切换到的目标。现在,让我们切换runlevel到multi-user.target,然后分析下列命令的输出。
|
||||
|
||||
[root@linoxide ~]# systemctl isolate multi-user.target
|
||||
[root@linoxide ~]# systemctl list-units --type=target
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/20.systemd_multi-user.png)
|
||||
|
||||
#### 6.3 列出默认目标 ####
|
||||
|
||||
用这个systemctl命令来查看默认目标。
|
||||
|
||||
[root@linoxide ~]# systemctl get-default
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/21.systemd_get_default.png)
|
||||
|
||||
#### 6.4 改变默认目标 ####
|
||||
|
||||
通过systemctl的set-default命令可以将某个目标设置成默认目标。
|
||||
|
||||
[root@linoxide ~]# systemctl set-default graphical.target
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/22.systemd_set_default.png)
|
||||
|
||||
### 7. 记录 systemd 的日志 ###
|
||||
|
||||
journald是systemd独有的日志系统,替换了sysVinit中的syslog守护进程。命令**journalctl**用来读取日志。
|
||||
|
||||
[root@linoxide ~]# journalctl
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/23.systemd_logs.png)
|
||||
|
||||
#### 7.1 查看引导信息 ####
|
||||
|
||||
运行**journalctl -b**命令来查看所有引导日志。
|
||||
|
||||
[root@linoxide ~]# journalctl -b
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/24.systemd_boot.png)
|
||||
|
||||
#### 7.2 即时显示引导日志 ####
|
||||
|
||||
下面这个命令可以实时显示系统日志(类似**tail -f**)。
|
||||
|
||||
[root@linoxide ~]# journalctl -f
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/25.systemd_follow_logs.png)
|
||||
|
||||
#### 7.3 查看特定服务的日志 ####
|
||||
|
||||
你可以像这样运用**journalctl**来查看你只想看到的服务或可执行程序的日志。
|
||||
|
||||
[root@linoxide ~]# journalctl /usr/sbin/dnsmasq
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/26.systemd_specific.png)
|
||||
|
||||
### 8. 电源管理 ###
|
||||
|
||||
systemctl命令也可以用来关机,重启或者休眠。
|
||||
|
||||
要关机、重启、挂起和休眠,分别使用如下命令:
|
||||
|
||||
[root@linoxide ~]# systemctl poweroff
|
||||
|
||||
[root@linoxide ~]# systemctl reboot
|
||||
|
||||
[root@linoxide ~]# systemctl suspend
|
||||
|
||||
[root@linoxide ~]# systemctl hibernate
|
||||
|
||||
### 9. 又及 ###
|
||||
|
||||
**systemd**带来了一整套与操作系统交互的新途径,并且极具特色。举个栗子,你可以用hostnamectl命令来获得你的linux机器的hostname和其它有用的独特信息。
|
||||
|
||||
[root@linoxide ~]# hostnamectl
|
||||
|
||||
![](http://linoxide.com/wp-content/uploads/2014/08/27.systemd_hostnamectl.png)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://linoxide.com/linux-command/linux-systemd-commands/
|
||||
|
||||
作者:[Raghu][a]
|
||||
译者:[szrlee](https://github.com/szrlee)
|
||||
校对:[ wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://linoxide.com/author/raghu/
|
||||
[1]:http://linoxide.com/linux-how-to/install-systemd-centos-redhat/
|
||||
[2]:http://www.freedesktop.org/software/systemd/
|
@ -0,0 +1,55 @@
|
||||
Remarkable:Linux平台下一个新的MarkDown编辑器
|
||||
===
|
||||
|
||||
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/08/remarkable-about.png)
|
||||
|
||||
[Remarkable][1]是一个全新,免费,功能齐全的Linux发行版Markdown编辑器。它拥有许多特性,比如:在线预览,这让你的Markdown编辑变得更加容易。它是一个轻量级的编辑器,而且它还有一个简洁的用户界面(UI)。
|
||||
|
||||
下面是Remarkable的主要特性:
|
||||
|
||||
- 实时预览
|
||||
- 支持Github Markdown 语法
|
||||
- 支持导出为PDF和HTML
|
||||
- 自定义CSS
|
||||
- 语法高亮
|
||||
- 高度可定制
|
||||
- 字数实时计数
|
||||
- 键盘快捷键
|
||||
|
||||
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/08/remarkable-full.png)
|
||||
|
||||
你可以观看[这部YouTube视频][2](请自备梯子:-])了解Linux下的Remakable。
|
||||
|
||||
### 安装 ###
|
||||
|
||||
根据不同的Linux发行版本,Remarkable拥有许多可供使用的安装源,下面是不同Linux发行版以及它们对应的安装文件
|
||||
|
||||
#### Ubuntu / Linux Mint: ####
|
||||
|
||||
- [Dowbnload .DEB][3]
|
||||
|
||||
#### Fedora: ####
|
||||
|
||||
- [Download .RPM][4]
|
||||
|
||||
#### Arch Linux (AUR): ####
|
||||
|
||||
sudo yaourt -S remarkable
|
||||
|
||||
喜欢吗?
|
||||
|
||||
---
|
||||
|
||||
via: http://www.unixmen.com/remarkable-new-markdown-editor-linux/
|
||||
|
||||
作者:[Enock Seth Nyamador][a]
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://www.unixmen.com/author/seth/
|
||||
[1]:http://remarkableapp.net/
|
||||
[2]:https://www.youtube.com/watch?v=UpjAIcXti9s
|
||||
[3]:http://remarkableapp.net/files/remarkable_0.965_all.deb
|
||||
[4]:http://remarkableapp.net/files/remarkable-0.965.rpm
|
@ -0,0 +1,72 @@
|
||||
Ubuntu壁纸大赛落幕,推荐八张我们喜欢的
|
||||
================================================================================
|
||||
|
||||
**盖上你的镜头,放下你的笔,拔掉手绘板的电源,从你的GIMP前离开,[Ubuntu 14.10 壁纸大赛][1] 现在结束了**
|
||||
|
||||
为 Ubuntu 发行版的配套的一年两次的社区壁纸大赛总是会带来人们的激动、热情和争议的讨论。*太单调了!太亮了!植物在哪里? 你为什么没有猫??!!* —— 他们总是这样吵吵。
|
||||
|
||||
随着终结时间的到来。。好吧,这就是最后期限了,现在不再接收任何新的提交了。
|
||||
|
||||
在接下来的一周,为了评选出最喜爱的作品,会由上一年获胜的艺术家组成的评委会将会对每一个作品进行筛选。**获胜的壁纸将会在2014年9月9日宣布**.
|
||||
|
||||
### 我们最喜爱的仅仅意味着:这是属于我们的。 ###
|
||||
|
||||
我们从[大约400张][2]中搜罗了一些我们最喜爱的,如同以往,这是一个非常苦难的任务,如此多的杰作,但我们的磁盘空间却如此的小...
|
||||
|
||||
**否认声明**:我们不属于评委会,我们也没有直接或间接影响评委会的决定。每个提交作品都会根据他们的价值进行判断和展示。
|
||||
|
||||
如果喜欢下列作品,你可以点击进入艺术家作者在Flickr上的主页
|
||||
|
||||
#### Glden leaves ####
|
||||
|
||||
[![](https://farm6.staticflickr.com/5577/14919901295_ec1cdd13cb_c.jpg)][3]
|
||||
|
||||
#### Reminiscent Rain ####
|
||||
|
||||
[![](https://farm4.staticflickr.com/3888/14858973848_30124e2360_c.jpg)][4]
|
||||
|
||||
#### Bamboo Mat ####
|
||||
|
||||
[![](https://farm3.staticflickr.com/2940/14222953450_5a63b591ee_z.jpg)][5]
|
||||
|
||||
#### LSC_0440 ####
|
||||
|
||||
[![](https://farm4.staticflickr.com/3864/14698997457_ca5aba49c1_c.jpg)][6]
|
||||
|
||||
#### Ubuntu Wallpaper ####
|
||||
|
||||
[![](https://farm3.staticflickr.com/2933/14573905897_ae415fe00b_c.jpg)][7]
|
||||
|
||||
#### Ubur ####
|
||||
|
||||
[![](https://farm9.staticflickr.com/8044/8423532123_a739bbfb49_c.jpg)][8]
|
||||
|
||||
#### Abstract ####
|
||||
|
||||
[![](https://farm4.staticflickr.com/3875/14969203701_f9a318da6f_c.jpg)][9]
|
||||
|
||||
#### 500 ####
|
||||
|
||||
[![](https://farm4.staticflickr.com/3848/14660376638_bd26a4b2ab_c.jpg)][10]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/08/best-ubuntu-wallpaper-contest-entries-1410
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[lfzark](https://github.com/lfzark)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2014/08/ubuntu-14-10-wallpaper-contest
|
||||
[2]:https://www.flickr.com/groups/1410wallpapersubmissions/
|
||||
[3]:https://www.flickr.com/photos/mauro_campanelli/14919901295
|
||||
[4]:https://www.flickr.com/photos/fixem/14858973848
|
||||
[5]:https://www.flickr.com/photos/havaxinhua/14222953450
|
||||
[6]:https://www.flickr.com/photos/laurentschenkel/14698997457
|
||||
[7]:https://www.flickr.com/photos/57135082@N05/14573905897
|
||||
[8]:https://www.flickr.com/photos/anomalous_saga/8423532123
|
||||
[9]:https://www.flickr.com/photos/el_nando/14969203701
|
||||
[10]:https://www.flickr.com/photos/e4v/14660376638
|
@ -0,0 +1,37 @@
|
||||
Ubuntu文本检索神器——SearchMonkey
|
||||
================================================================================
|
||||
有时候,我们需要搜索包含有某些特定文本或单词的文件。如果你是个开发者或者程序员,经常会碰到这样的问题。现在,我们总是能够使用[Linux命令来查找包含有指定文本的所有文件][1],但不是每个人都热衷于命令行。我见过那些优秀的程序员,他们更多的是依赖于图形化工具,而不是命令行。
|
||||
|
||||
如果你也更喜欢图形化工具,那么[SearchMonkey][2]对于你而言是个十分完美的应用。
|
||||
|
||||
### SearchMonkey是你的桌面搜索引擎 ###
|
||||
|
||||
SearchMonkey递归搜索目录,因此你可以在它工作的时候坐下放松一下。用户可以使用强大的正则表达式来搜索文件名和内容,这使得SearchMonky返回结果时更为精确。
|
||||
|
||||
此外,SearchMonkey不仅仅给你列出可能包含有你正在查找的内容的文件,它也高亮显示匹配的内容。
|
||||
|
||||
### 在Ubuntu 14.04中安装SearchMonkey ###
|
||||
|
||||
SearchMonkey可以在Ubuntu 14.04的软件仓库中找到,你只需要通过Ubuntu软件中心或者通过以下命令来安装:
|
||||
|
||||
sudo apt-get install searchmonkey
|
||||
|
||||
安装完毕后,你可以从Unity Dash中启动SearchMonkey。界面简明直观,易于使用。
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/SearchMonkey_Ubuntu.jpeg)
|
||||
|
||||
SearchMonkey帮助你快速查找到你所需要的文件,不需要先构建一个驱动映射。每次搜索都是实时的,结果也会在找到后立即在上下文中显示!尤,其,它还是一个免费又开源的软件。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/searchmonkey-search-text-files-linux/
|
||||
|
||||
作者:[Amit Asthana][a]
|
||||
译者:[GOLinux](https://github.com/GOLinux )
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/amit/
|
||||
[1]:http://www.computerandyou.net/2011/06/how-to-find-all-files-containing-specific-text-in-linux/
|
||||
[2]:http://searchmonkey.embeddediq.com/
|
@ -0,0 +1,38 @@
|
||||
systemd 与 sysVinit 彩版对照表
|
||||
================================================================================
|
||||
|
||||
**systemd** 是一种新型init系统「译者注:每个操作系统都有一个启动程序,而Linux init是Linux系统操作中不可缺少的程序之一。所谓的init进程,它是一个由内核启动的用户级进程。内核自行启动(已经被载入内存,开始运行,并已初始化所有的设备驱动程序和数据结构等)之后,就通过启动一个用户级程序init的方式,完成引导进程。所以init始终是第一个进程(其进程编号始终为1)」,最早在Fedora中使用「译者注:真的吗?不是Arch?」,经过调整适应了其它许多发行版,例如RedHat、Suse和CentOS。
|
||||
|
||||
历史上,我们大部分人用过传统的SysV init 初始化脚本,它通常情况下在/etc/rc.d/init.d/文件夹下。这些脚本调用守护进程二进制代码,在后台fork一个进程。
|
||||
|
||||
尽管shell脚本非常的灵活,但是很难实现像superviseing(监管)进程和并行执行命令这样的任务。
|
||||
|
||||
通过对systemd的新式守护进程的介绍,我们发现systemd可以在runtime(运行时)更加简单的监管和控制守护进程,并且简化了监控的实现方式(implementation)。
|
||||
|
||||
**systemctl**命令是systemd团队一个非常好的首创。
|
||||
|
||||
这个命令能够显示更多的详细错误信息和包括启动错误在内的服务运行时错误。systemd引入了一个新术语:**cgroups**(控制组),它基本上是可被分层次安排的进程任务组。「译者注:这里简单介绍一下cgroup(control group)称为Containers,Containers着眼于资源的分配,利用configfs作配置。它有两个重要概念:第一是subsystem,内核可以给进程提供的服务/资源;第二是container,一个进程组,成员共享同样的一个或多个子系统分配限制。Containers是分层次的,一个container可以hold多个container。它的可取之处是创建了一个资源分配的框架,其它开发者可以利用这个框架去开发自己的资源分配patch,比如磁盘设备。」
|
||||
|
||||
如果仅仅通过原来的初始化系统,决定哪个进程是做什么的、属于哪个用户的变得越来越困难。
|
||||
|
||||
但是通过systemd,当一个进程派生其它进程时,这些子进程会被自动变成父进程控制组的成员,这样一来就可以避免继承的混乱。
|
||||
|
||||
|
||||
![](http://images.linoxide.com/systemd-vs-sysVinit-cheatsheet.jpg)
|
||||
|
||||
有许多新的运行[在 rhel / centos 7.0 上的 systemd 命令][1]可以替代 sysvinit 的对应命令。你也可以下载 [本文的 PDF 版本][2]。
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/
|
||||
|
||||
作者:[Bobbin Zachariah][a]
|
||||
译者:[szrlee](https://github.com/szrlee)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://linoxide.com/author/bobbin/
|
||||
[1]:http://linoxide.com/linux-command/linux-systemd-commands/
|
||||
[2]:http://images.linoxide.com/systemd-vs-sysVinit-cheatsheet.pdf
|
@ -0,0 +1,79 @@
|
||||
12张Ubuntu 14.10壁纸竞赛(目前为止的)获奖壁纸
|
||||
================================================================================
|
||||
让我们欣赏一组你在未来几个月会看到一大堆的图片吧。是的,在[Ubuntu 14.10壁纸竞赛获奖者壁纸][1]已经公布了。
|
||||
|
||||
嗯,可以说是宣布吧。到目前为止12张背景图片已经正式被应用在Ubuntu 14.10版本中了。
|
||||
|
||||
由四月份的获奖作者组成的评审团筛选了几乎400张图片,最终选择了出了视觉上丰富又多彩的一组。我知道我每6个月就要说一次这个,但是这一次的作品看起来还是那么的棒(不仅仅是因为当中一两张是[我们的最爱][2]!)。
|
||||
|
||||
### 让我们瞧瞧这几张获奖图片 ###
|
||||
|
||||
你能在下面看到目前选出的作品。需要强调的是,这是到目前为止的,如比赛的组织者[**Iain Farrell所说的**][3] :“我还在等一些回复,不过如果他们不给我回复就只能不包括他们的了!”
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/utopic.jpg)
|
||||
|
||||
不可缺少的经典吉祥物壁纸
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Empty-Space-by-Glenn-Rayat.jpg)
|
||||
|
||||
‘空’ —— Glenn Rayat
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Horses-on-sand-dunes-by-Matthias-Siewert.jpg)
|
||||
|
||||
沙漠与马 —— M. Siewert
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Golden-leaves-by-Mauro-Campanelli.jpg)
|
||||
|
||||
金色的叶
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/salcantayperu-by-Life-Nomadic.jpg)
|
||||
|
||||
游牧生活 —— Sal’
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/xgu.jpeg)
|
||||
|
||||
‘xgu472hf2′ —— Lariliikala
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Redes-de-hilo-by-Juan-Pablo-Lauriente.jpg)
|
||||
|
||||
多石海岸 —— Juan PL.
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/warm-grass.jpeg)
|
||||
|
||||
‘暖草’ —— dcsearle.t21
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Kronach-leuchtet-2014-by-Brian-Fox.jpg)
|
||||
|
||||
克罗纳赫灯具 —— Brian Fox
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Night-Seascape-by-Davor-Dopar.jpg)
|
||||
|
||||
达沃多帕的海景
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Music-tomasino.cz_.jpg)
|
||||
|
||||
托马西诺音乐
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/Sunny-Autumn-by-Joel-Heaps.jpg)
|
||||
|
||||
阳光之秋
|
||||
|
||||
如果有任何变化我们将会更新这篇文章,你可以[点击这里][4]获取这些参赛作品的压缩包。完整的乌托邦壁纸包,可能会包含进新的默认壁纸,这些都会在未来2天内发生。
|
||||
|
||||
通过下方的评论来让我们知道哪张图你的最爱吧!不要吝啬赞美之词!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/09/ubuntu-14-10-wallpaper-contest-winners
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[ZTinoZ](https://github.com/ZTinoZ)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2014/08/ubuntu-14-10-wallpaper-contest
|
||||
[2]:http://linux.cn/article-3745-1.html
|
||||
[3]:https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/1354341/comments/2
|
||||
[4]:https://bugs.launchpad.net/ubuntu/+source/ubuntu-wallpapers/+bug/1354341/+attachment/4199899/+files/14.10%20images.zip
|
@ -1,15 +1,16 @@
|
||||
如何在Linux命令行下收听网络电台
|
||||
========================================================================
|
||||
对于系统管理员和Linux爱好者来说,我们花大量的时间在Linux屏幕前,但是你们知道网络/本地电台上的音乐可以极大的提高我们的生产力吗?不管你相信与否,在工作环境中有适当的声音,如音乐或者喋喋不休的声音都可以提高我们的创造力。如果你喜欢在音乐环境中工作,这个教程也许会对你有用。我将会向你展示**如何在命令行中收听潘多拉(Pandora)在线电台**(LCTT译注:Pandora Internet Radio是一个仅为美国、澳大利亚和新西兰提供自动音乐推荐的系统。详细介绍[Prandoea电台][1])
|
||||
|
||||
正如你已经知道的,Pandora是最有名的在线电台服务之一,它包含无数的不同种类的免费音乐流,同时它还有一个强大的音乐推荐引擎。Pandora可以通过不同的方法访问,如:浏览器,桌面客户端或者手机Apps,开源社区还给出了另一种访问Pandora音乐服务的方法:Linux命令行。
|
||||
对于花大量时间在Linux屏幕前的系统管理员和Linux爱好者来说,网络/本地电台上的音乐可以极大提高生产力,你们知道吗?不管你们相信与否,,在工作环境中有适当的声音,如音乐或者闲聊声包围,都可以提高我们的创造力。如果你喜欢在音乐环境中工作,这个教程也许会对你有用。我将会向你展示**如何在命令行中收听潘多拉(Pandora)在线电台**(LCTT译注:Pandora Internet Radio是一个仅为美国、澳大利亚和新西兰提供自动音乐推荐的系统。详细介绍[Prandoea电台][1])
|
||||
|
||||
[pianobar][2]是一个播放Pandora在线电台音乐的开源命令行音乐播放器。它有一个简单的人机接口,用于播放和管理音乐电台。同时还有其他包括歌曲评价,即将上线音乐列表,播放历史,自定义快捷键绑定,远程控制等功能。对于那些居住在不可访问Pandora音乐服务区域的用户(即美国、澳大利亚和新西兰以外的用户)。Pianobar还配置了代理服务的支持。
|
||||
正如你已经知道的,Pandora是最有名的在线电台服务之一,它包含无数的不同种类的免费音乐流,同时它还有一个强大的音乐推荐引擎。Pandora可以通过不同的方式访问,如:浏览器,桌面客户端或者手机Apps,开源社区还给出了另一种访问Pandora音乐服务的方法:Linux命令行。
|
||||
|
||||
[pianobar][2]是一个播放Pandora在线电台音乐的开源命令行音乐播放器。它有一个简单的终端接口,用于播放和管理音乐电台。同时还有其他包括歌曲评价,即将上线音乐列表,播放历史,自定义快捷键绑定,远程控制等功能。对于那些居住在不可访问Pandora音乐服务区域的用户(即美国、澳大利亚和新西兰以外的用户),Pianobar还配置了代理服务的支持。
|
||||
|
||||
###在Linux中安装Pianobar###
|
||||
在Debian或者其他Debian的衍生品,如Ubuntu或LinuxMint中,Pianobar是一个已经编译好的软件包,因此安装Pianobar只是简单的输入如下命令:
|
||||
|
||||
$ sudo apt-get install pianobar
|
||||
在Debian或者其他Debian的衍生品中,如Ubuntu或LinuxMint,Pianobar是一个已经编译好的软件包,因此安装Pianobar只是简单的输入如下命令:
|
||||
$ sudo apt-get install pianobar
|
||||
|
||||
在Fedora中,Pianobar并不包含在基础的软件库中。因此,你需要通过源代码编译安装Pianobar。整个安装过程会有点麻烦,但是下面的教程将会实现Pianobar在Frdora系统中编译安装。该教程在Fedora20版本中测试通过。
|
||||
|
||||
@ -31,7 +32,7 @@
|
||||
|
||||
>/usr/local/lib
|
||||
|
||||
重载所有的共享库
|
||||
重载所有的共享库
|
||||
|
||||
就这样,Pianobar已经在Fedora系统中安装完成。
|
||||
|
||||
@ -46,6 +47,7 @@ paniobar的基本用法是输入如下命令:
|
||||
![](https://farm6.staticflickr.com/5552/14993320301_58e58b5810_z.jpg)
|
||||
|
||||
按‘?’按键pianobar会列出一系列可用个命令,其中一些如下:
|
||||
|
||||
>- s: 更换电台
|
||||
- u: 查看即将上线音乐列表
|
||||
- h: 查看播放历史
|
||||
@ -61,8 +63,9 @@ paniobar的基本用法是输入如下命令:
|
||||
|
||||
![](https://farm6.staticflickr.com/5559/14993326991_ccdffd0fa6_z.jpg)
|
||||
|
||||
###将Pianobar配置为自动登录###
|
||||
你可以再一个单独的配置文件中配置Pianobar的各项默认配置。例如:你可以将你的登录信息配置到配置文件中,这样你就不用每次都要手动输入。下面是如何创建一个配置文件的示例:
|
||||
###将Pianobar配置为自动安装###
|
||||
|
||||
你可以在一个单独的配置文件中配置Pianobar的各项默认配置。例如:你可以将你的登录信息放到配置文件中,这样你就不用每次都要手动输入。下面是如何创建一个配置文件的示例:
|
||||
|
||||
> $ mkdir -p ~/.config/pianobar
|
||||
|
||||
@ -93,7 +96,7 @@ paniobar的基本用法是输入如下命令:
|
||||
|
||||
###远程控制Pianobar###
|
||||
|
||||
Pianobar的另一个优秀的特性是支持远程控制,你可以通过命令管道(FIFO)为Pianobar的一个运行实例发送命令。下面是远程控制Pianobar的示例:
|
||||
Pianobar的另一个优秀特性是支持远程控制,你可以通过命令管道(FIFO)为Pianobar的一个运行实例发送命令。下面是远程控制Pianobar的示例:
|
||||
|
||||
首先在目录~/.config/pianobar下创建一个FIFO命令管道
|
||||
|
||||
@ -113,9 +116,9 @@ Pianobar的另一个优秀的特性是支持远程控制,你可以通过命令
|
||||
|
||||
当然,你希望为登录到主机X的SSH登录认证[启用秘钥认证][5],这样你就不用每次都输入SSH密码。
|
||||
|
||||
当你想在[树莓PI][6]上设置一个可以远程控制的在线电台播放器时,Pianobar的远程控制特性将会让你非常方便的实现该需求。
|
||||
当你想在[树莓Pi][6]上设置一个可以远程控制的在线电台播放器时,Pianobar的远程控制特性将会让你非常方便地实现该需求。
|
||||
|
||||
希望你像我一样喜欢Pianobar,若有什么想法,请在评论中告诉我。
|
||||
希望你和我一样喜欢Pianobar,若有什么想法,请在评论中告诉我。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@ -123,7 +126,7 @@ via: http://xmodulo.com/2014/08/listen-to-internet-radio-command-line-linux.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[cvsher](https://github.com/cvsher)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[Caroline](https://github.com/carolinewuyan)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
62
published/The Open Source Witch Hunts Have Returned.md
Normal file
62
published/The Open Source Witch Hunts Have Returned.md
Normal file
@ -0,0 +1,62 @@
|
||||
开源女巫狩猎归来!
|
||||
================================================================================
|
||||
![](http://readwrite.com/files/styles/1400_0/public/fields/shutterstock-open-gate.jpg)
|
||||
|
||||
> 开源软件社区已经做出了改变,就像之前的美好时光。
|
||||
|
||||
开源已经变的温和了,之前我们有过各种不同的思潮,但是最近我们对分享代码和创新却有种奇怪的迷恋。
|
||||
|
||||
幸运的是,这一系列的使用主义注定要结束了。在过去的一段时间里,我们团结在Mozilla身边支持DRM版权保护以及嘲笑Red Hat和OpenStack之间的竞争。开源社区那些年仅有的几个开源软件明星和[Open Core 这种商业模式][1]产生了冲突而被反噬了。
|
||||
|
||||
噢,怎么变成这样了!
|
||||
|
||||
|
||||
### Red Hat 退回到2003年 ###
|
||||
|
||||
Red Hat,开源软件理想主义的典范,在几周前拒绝支持它的竞争对手。Jodi Mardesich[出色的][2]揭露了真相,而Red Hat在努力辩护,这个真相就是:
|
||||
|
||||
Red Hat不想支持它的竞争对手,它的OpenStack的竞争对手也不想这样做。
|
||||
|
||||
在另外世界上这算是新闻吗?
|
||||
|
||||
### Mozilla变成了麻瓜 ###
|
||||
|
||||
Red Hat作为开源软件理想主义的典范代表很容易成为各种带颜色攻击的目标,Mozilla其实是更大的一个目标。
|
||||
|
||||
Mozilla致力于为用户服务,它最近进行了一场自我牺牲似的CEO 下台,同意加入DRM的技术,即纯Firefox浏览器源码可以使用户观看视频。
|
||||
|
||||
人们想看视频,Mozilla倾向于在它的浏览器中观看。
|
||||
|
||||
总是找到别人的思想滑坡的问题,开源软件组织[批评了][3] Mozilla,深切表达了自己对于Mozilla的失望,因为这种“为减轻市场份额的流失而妥协重要原则的决定”令人担忧。
|
||||
|
||||
但是,Mozilla为什么要做这样的傻事呢,为了用户,你懂的。
|
||||
|
||||
抛开道德说教的部分不说,[电子前沿基金会哀叹][4],“开放网络最后的抗争已经失败了”。它对Mozilla投降的做法争论道:“接受DRM会改变这个行业”!DRM的倡导者一再妥协,一个公司又一个公司(PC行业)演变成一个行业,它通过锁定装置,监视器,接受每一个人的管理建立自己的利益关系。
|
||||
|
||||
[Mitchell Bake解释道][5],Mozilla可能并没有投降:“Firefox用户会需要使用另外的浏览器来观看他们自己想看的视频,这会让人怀疑Firfox做一一个产品是否真的有用”。
|
||||
|
||||
嗯,好吧。
|
||||
|
||||
### 回到我们的思想源头 ###
|
||||
|
||||
我们或许希望其它人都按照我们的想法来,但事实上他们却有着不同的考虑。免费的软件让步给更加务实的开源软件,认为只有“不二法门”的想法也逐渐消亡了。
|
||||
|
||||
这种意识在目前还是有用的,但它并不总是方便和舒服。我崇尚开源软件的实用主义和Apache软件基金会,这样有很大的好处提醒GPL组织在意识形态上的危机感。软件自由真的很重要。
|
||||
|
||||
这么多悲观的言论,我自己也感到了恐惧,希望回到一个不断会自我鞭策的免费的开软软件的组织。这使开源软件协作变少而且更难驾驭,但是会变得更有力而且关乎未来。
|
||||
|
||||
(译者注:本文来源于一篇国外的杂文,译者和校对在翻译时感觉颇为吃力,因此肯定有大量谬误和不足,敬请大家谅解,或提出指正。虽然这篇文章说的事情已经过去了一段时间了,但是其反映的问题和潜伏的暗流也许影响更为深远。)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://readwrite.com/2014/05/21/open-source-witch-hunt-mozilla-openstack-redhat#feed=/hack&awesm=~oEYDhxfP0Qv5hE
|
||||
|
||||
译者:[jiajia9linuxer](https://github.com/jiajia9linuxer) 校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://en.m.wikipedia.org/wiki/Open_core
|
||||
[2]:http://readwrite.com/2014/05/16/red-hat-openstack-mirantis-rhel-support
|
||||
[3]:http://www.fsf.org/news/fsf-condemns-partnership-between-mozilla-and-adobe-to-support-digital-restrictions-management
|
||||
[4]:https://www.eff.org/deeplinks/2014/05/mozilla-and-drm
|
||||
[5]:https://blog.mozilla.org/blog/2014/05/14/drm-and-the-challenge-of-serving-users/
|
@ -1,46 +0,0 @@
|
||||
linuhap翻译中
|
||||
GIMP 2.8.12 Released — Here’s How to Install it on Ubuntu
|
||||
================================================================================
|
||||
**A [new update][1] to the popular open-source Photoshop alternative The GIMP is now available for download.**
|
||||
|
||||
![GIMP is a Free Photoshop Alternative](http://www.omgubuntu.co.uk/wp-content/uploads/2012/05/screen-shot-2012-05-03-at-10.38.40.jpg)
|
||||
GIMP is a Free Photoshop Alternative
|
||||
|
||||
As the latest entry in the GIMP 2.8.x series — [released back in 2012][2] and notable for introducing the long-sought ‘single window mode’ — version 2.8.12 continues to refine rather than reinvent. As such there are no new user-facing features to be found.
|
||||
|
||||
Instead, developers bring a fresh batch of bug fixes to the table aimed at improving the overall stability, security and style of the famous app.
|
||||
|
||||
- Brush sizes from plugins are no longer distorted
|
||||
- ‘More robust’ loading of .XCF files
|
||||
- Widget direction now matches interface language (e.g. RTL)
|
||||
- Security improvements to the script-fu-server
|
||||
|
||||
Documentation, help and translation updates are also included. For a complete change log of everything fixed between 2.8.10 and 2.8.12, see [the GNOME Git notes][2].
|
||||
|
||||
### Install Latest GIMP in Ubuntu ###
|
||||
|
||||
Source for the latest release can be downloaded from the official website or via [an official torrent][3].
|
||||
|
||||
On Ubuntu? You can install GIMP 2.8.12 in Ubuntu 12.04 LTS and 14.04 LTS by adding the [following third-party PPA][4] to Software Sources:
|
||||
|
||||
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
|
||||
|
||||
sudo apt-get update && sudo apt-get install gimp
|
||||
|
||||
After installation has complete you can proceed to open GIMP 2.8.12 from the Unity Dash (or equivalent).
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/08/whats-new-in-gimp-2-8-12-plus-install-ubuntu
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2012/05/gimp-2-8-released
|
||||
[2]:https://git.gnome.org/browse/gimp/plain/NEWS?h=gimp-2-8
|
||||
[3]:http://download.gimp.org/pub/gimp/v2.8/gimp-2.8.12.tar.bz2.torrent
|
||||
[4]:https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp
|
@ -0,0 +1,37 @@
|
||||
LibreOffice 4.3.1 Has More than 100 Fixes and DOCX Embedded Objects Support
|
||||
================================================================================
|
||||
![LibreOffice selection menu](http://i1-news.softpedia-static.com/images/news2/LibreOffice-4-3-1-Has-More-Than-100-Fixes-and-DOCX-Embedded-Objects-Support-456916-2.jpg)
|
||||
LibreOffice selection menu
|
||||
|
||||
**The Document Foundation announces that the stable version of LibreOffice 4.3.1 has been released and is now available for download.**
|
||||
|
||||
The developers from The Document Foundation have released a new update for the 4.3 branch of LibreOffice and they have implemented quite a few fixes and other various changes. The development cycle for this latest update has been rather short and the devs managed to repair most of the issues that have been found.
|
||||
|
||||
LibreOffice 4.3.1 is just maintenance release, which means that the focus has been about the bugs found so far. Don't expect to find anything extraordinary, but you should upgrade the software nonetheless.
|
||||
|
||||
"The Document Foundation announces LibreOffice 4.3.1, the first minor release of LibreOffice 4.3 'fresh' family, with over 100 fixes (including patches for two CVEs, backported to LibreOffice 4.2.6-secfix, which is also available for download now)."
|
||||
|
||||
"All LibreOffice users are invited to update their installation as soon as possible to avoid security issues. This includes users who are running LibreOffice 4.2.6 as originally released on August, 5th 2014. LibreOffice 4.3.1 and LibreOffice 4.2.6 will be shown on stage at the LibreOffice Conference in Bern, from September 3 to September 5, with a large number of sessions about development, community, marketing and migrations," reads the announcement made by The Linux Foundation.
|
||||
|
||||
According to the changelog, editing the text search with expanded fields is now working properly, the static value array for OOXML chart is now handled correctly, bullets now have the color as the following text by default, ww8import no longer creates a pagedesc if a continuous section changes margins, the 0 font height is now handled just like outdev, it's now possible to import OLE objects in the header with background wrapping, the XLSX export of revisions has been fixed in order to get it to work in Excel, and borders around data labels are now supported.
|
||||
|
||||
Also, the table style for lastRow is now correctly applied, the rulers now have app-background by default, the graphics are now swapped in on DrawingML::WriteImage, the redundant 'Preferences' label has been removed in order to save some space, page breaks in tables are now ignored during the RTF import, some of the style hierarchy has been reworked, Data Statistics no longer crashes with any entry, DOCX embedded objects are now supported, and numerous other improvements have been made.
|
||||
|
||||
More details about this release can be found in the official [announcement][1].
|
||||
|
||||
- [Download LibreOffice 4.3.1 for Linux][2]
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://news.softpedia.com/news/LibreOffice-4-3-1-Has-More-Than-100-Fixes-and-DOCX-Embedded-Objects-Support-456916.shtml
|
||||
|
||||
作者:[Silviu Stahie][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://news.softpedia.com/editors/browse/silviu-stahie
|
||||
[1]:http://blog.documentfoundation.org/2014/08/28/libreoffice-4-3-1-fresh-announced/
|
||||
[2]:http://www.libreoffice.org/download/libreoffice-fresh/
|
@ -0,0 +1,27 @@
|
||||
disylee占个坑!来翻译了!
|
||||
Ubuntu Touch Now Has a Torrent Client in the Ubuntu Store
|
||||
================================================================================
|
||||
![DowNow](http://i1-news.softpedia-static.com/images/news2/Ubuntu-Touch-Now-Has-a-Torrent-Clinent-in-the-Ubuntu-Store-457538-2.jpg)
|
||||
|
||||
**The Ubuntu Touch platform is already the host of many interesting applications, and it looks like the developers have started to implement software that goes beyond what you might expect, like a torrent client for example.**
|
||||
|
||||
The app store for Ubuntu Touch has been growing steadily over the past few months and interesting applications are added all the time. Most of them are covering some of the basic needs of the operating system, but there are quite a few that go well beyond regular users’ needs.
|
||||
|
||||
A torrent client is not something that you will find on most phones. Android and Windows Phone already have this kind of apps and it looks like Ubuntu is now one of those platforms. Ubuntu developer [Alan Pope][1] posted a screenshot with a new application that's being developed for the Ubuntu platforms called DowNow.
|
||||
|
||||
This is a relatively new application and it's still under development. You can find the click package for DowNow 0.3 in Launchpad, if you want to take a closer look, or you can download from Ubuntu Software Center.
|
||||
|
||||
For now, the only supported devices are Nexus 4 and Nexus 7, if you want to test Ubuntu for phones, but that might change in the coming months.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://news.softpedia.com/news/Ubuntu-Touch-Now-Has-a-Torrent-Clinent-in-the-Ubuntu-Store-457538.shtml
|
||||
|
||||
作者:[Silviu Stahie][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://news.softpedia.com/editors/browse/silviu-stahie
|
||||
[1]:https://plus.google.com/u/0/+AlanPope/posts/Ej3vKVxBum8
|
@ -0,0 +1,37 @@
|
||||
Jelly Conky Adds Simple, Stylish Stats To Your Linux Desktop
|
||||
================================================================================
|
||||
**I treat Conky setups a bit like wallpapers: I’ll find one I love, only to change it the next week because I’m bored of it and want a change.**
|
||||
|
||||
Part of the impatience is fuelled by the ever-growing catalog of designs available. One of my most recent favourites is Jelly Conky.
|
||||
|
||||
![](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/jelly-conky.png)
|
||||
|
||||
Jelly Conky sports the minimal design many of the Conky’s we’ve highlighted recently have followed. It’s not trying to be a kitchen sink. It won’t win favour with those who need constant at-a-glance data on their HDD temperatures and IP addresses.
|
||||
|
||||
It comes with three distinct modes that can all add personality to an otherwise static background image:
|
||||
|
||||
- Clock
|
||||
- Clock plus date
|
||||
- Clock plus date and weather
|
||||
|
||||
Some people don’t understand the point of having a duplicate clock on show on the desktop. That’s understandable. For me, it’s more about form than function (though, personally, I find Conky clocks easier to see than the minuscule digits nestled in my upper panel).
|
||||
|
||||
Chances are if you have a home screen widget on Android with the time, you won’t mind having one on your desktop, either!
|
||||
|
||||
You can download Jelly Conky from the link below. The .zip archive contains a readme with instructions on how to install. For a guided walkthrough, [revisit one of our previous articles][1].
|
||||
|
||||
- [Download Jelly Conky on Deviant Art][2]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/09/jelly-conky-for-linux-desktop
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2014/07/conky-circle-theme-nod-lg-quick-cover
|
||||
[2]:http://zagortenay333.deviantart.com/art/Jelly-Conky-442559003
|
@ -0,0 +1,38 @@
|
||||
How to Go Hands On With the Utopic Unicorn – Literally!
|
||||
================================================================================
|
||||
**Looking to go hands-on with the Utopic Unicorn ahead of its release? Now you can — [literally][1]!**
|
||||
|
||||
A step-by-step guide to making your own paper Unicorn (to celebrate the upcoming release of the same name, obviously) has been posted online by Canonical. The instructions were offered as part of the company’s presence at the 2014 [deconstruct][2] event held in Brighton, UK in early September.
|
||||
|
||||
![Image: Alejandra Obregon](http://www.omgubuntu.co.uk/wp-content/uploads/2014/09/ubuntu-unicorns-750x745.jpg)
|
||||
|
||||
Image: Alejandra Obregon
|
||||
|
||||
The one-day conference for creative professionals and digital culture enthusiasts served as an ideal place for Canonical to showcase an in-progress version of the upcoming Ubuntu Phone, its design and the user interaction benefits they believe it offers.
|
||||
|
||||
Reaction was positive, they say. That will have made the prize of a brand new Ubuntu phone to the maker of the best origami unicorn all the more tempting!
|
||||
|
||||
### Download Origami Unicorn ###
|
||||
|
||||
No prizes are on offer to the rest of us attempting to fold our way to frustration, but a download of the how-to is.
|
||||
|
||||
If you have a spare five hours minutes, why not make one for fun? If you make particularly epic success/fail of it be sure to send us a pic on [Twitter][3] or [Google+][4].
|
||||
|
||||
- [Download ‘Make a Unicorn’ Instructions][5]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/09/unicorn-origami-download-pdf-ubuntu-utopic
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://design.canonical.com/2014/09/canonical-and-ubuntu-at-dconstruct/
|
||||
[2]:http://2014.dconstruct.org/
|
||||
[3]:http://twitter.com/omgubuntu
|
||||
[4]:http://plus.google.com/+omgubuntu
|
||||
[5]:http://design.canonical.com/wp-content/uploads/042_CAN_dConstruct_instructions.pdf
|
@ -1,41 +0,0 @@
|
||||
慕尼黑市议会称: LiMux 项目的死讯被过分夸大了
|
||||
================================================================================
|
||||
![LiMux – 慕尼黑市议会的官方操作系统](http://www.omgubuntu.co.uk/wp-content/uploads/2014/07/limux-4-kde-desktop.jpg)
|
||||
|
||||
LiMux - 慕尼黑市议会的官方操作系统
|
||||
|
||||
慕尼黑市议会的新闻发言人试图澄清其[计划重新审视当地政府 IT 系统使用的所有开源软件][1]的背后原因。
|
||||
|
||||
大量德国媒体披露,“慕尼黑市新任市长要求提交一份关于 LiMux 使用率的报告”,LiMux是一个在该市超过 80% 的市政府部门中使用的开源 Linux 发行版 ,慕尼黑市议会新闻发言人正是针对这条新闻所做的反应。
|
||||
|
||||
该报告引用了一位不愿透露姓名的市政府官员的话,他声称政府雇员在使用开源软件时“非常痛苦”,还有人人称其为“昂贵的失败”。副市长 Josef Schmid 说,(更换到开源系统)这件事是“意识形态驱使的”,并非理性的财务行为。
|
||||
|
||||
过去被看成是大规模迁移 Linux 的典范的慕尼黑市,如今这个背道而驰的新闻迅速像病毒一样扩散开来。现在市议会的新闻发言人 Stefan Hauf 正试着澄清这件事。
|
||||
|
||||
### “未来计划” ###
|
||||
|
||||
Hauf 确认了新任市长要求重新审查城市 IT 系统以及操作系统选择的事,但这份报告的目的并不像之前报道中暗示的那样仅仅是为了决定什么时候退回到 Microsoft Windows。
|
||||
|
||||
**“这是有关机构、经费、性能和可用性以及用户满意度的事,”** [Techrepublic][2] 引用了他的言辞。
|
||||
|
||||
**“(这仅仅是在收集)现实情况,为我们决定市议会今后该如何处理提供依据。”**
|
||||
|
||||
Hauf 同时也确认了市议会员工的确抱怨过 LiMux,但是主要集中在 OpenOffice 的兼容性问题上,有些问题只要换到 LibreOffice 就能解决。
|
||||
|
||||
那么,慕尼黑市会用回 Windows 吗?正如我们在之前的报道中所说:不能排除这种可能,但是现在下结论还太早。
|
||||
|
||||
目前该报告所建议的截止日期还没定,任何和慕尼黑 IT 基础设施相关的决定都需要由他们自己投票决定,主流选民目前抱有“支持” LiMux 的态度。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://www.omgubuntu.co.uk/2014/08/munich-council-say-talk-limux-demise-greatly-exaggerated
|
||||
|
||||
作者:[Joey-Elijah Sneddon][a]
|
||||
译者:[sailing](https://github.com/sailing)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://plus.google.com/117485690627814051450/?rel=author
|
||||
[1]:http://www.omgubuntu.co.uk/2014/08/munich-city-linux-switching-back-windows
|
||||
[2]:http://www.techrepublic.com/article/no-munich-isnt-about-to-ditch-free-software-and-move-back-to-windows/
|
@ -1,3 +1,5 @@
|
||||
CNprober translating..
|
||||
|
||||
Staying free – should GCC allow non-free plug ins?
|
||||
================================================================================
|
||||
> Arguments in favour of the use of non-free plug-ins in GCC have again been raised on GCC mailing-lists, but are trumped by the arguments for GCC as a vehicle for free software development
|
||||
|
@ -1,3 +1,5 @@
|
||||
CNprober translating...
|
||||
|
||||
Linux Administration: A Smart Career Choice
|
||||
================================================================================
|
||||
![](http://www.opensourceforu.com/wp-content/uploads/2014/04/linux.jpeg)
|
||||
|
@ -1,3 +1,4 @@
|
||||
zpl1025
|
||||
Where And How To Code: Choosing The Best Free Code Editor
|
||||
================================================================================
|
||||
A close look at Cloud9, Koding and Nitrous.IO.
|
||||
@ -101,4 +102,4 @@ via: http://readwrite.com/2014/08/14/cloud9-koding-nitrousio-integrated-developm
|
||||
[8]:https://www.nitrous.io/desktop
|
||||
[9]:https://www.nitrous.io/desktop
|
||||
[10]:https://koding.com/Activity/steps-clone-projects-github-koding-1-create-account-github-2-open-your-terminal-3
|
||||
[11]:http://www.shutterstock.com/
|
||||
[11]:http://www.shutterstock.com/
|
||||
|
@ -1,200 +0,0 @@
|
||||
[Translating by SteveArcher]
|
||||
KDE Plasma 5—For those Linux users undecided on the kernel’s future
|
||||
================================================================================
|
||||
> Review—new release straddles traditional desktop needs, long term multi-device plans.
|
||||
|
||||
Finally, the KDE project has released KDE Plasma 5, a major new version of the venerable K Desktop Environment.
|
||||
|
||||
Plasma 5 arrives in the middle of an ongoing debate about the future of the Linux desktop. On one hand there are the brand new desktop paradigms represented by GNOME and Unity. Both break from the traditional desktop model in significant ways, and both attempt to create interfaces that will work on the desktop and the much-anticipated, tablet-based future (which [may or may not ever arrive][1]).
|
||||
|
||||
Linux desktops like KDE, XFCE, LXDE, Mate, and even Cinnamon are the other side of the fence. None has re-invented itself too much. They continue to offer users a traditional desktop experience, which is not to say these projects aren't growing and refining. All of them continue to turn out incremental releases that fine tune what is a well-proven desktop model.
|
||||
|
||||
![Ubuntu's Unity desktop](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot-unity.png)
|
||||
Ubuntu's Unity desktop
|
||||
|
||||
![GNOME 3 desktop](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot-gnome.png)
|
||||
GNOME 3 desktop
|
||||
|
||||
GNOME and Unity end up getting the lion's share of attention in this ongoing debate. They're both new and different. They're both opinionated and polarizing. For every Linux user that loves them, there's another that loves to hate them. It makes for, if nothing else, lively comments and forum posts in the Linux world. But the difference between these two Linux camps is about more than just how your desktop looks and behaves. It's about what the future of computing looks like.
|
||||
|
||||
GNOME and Unity believe that the future of computing consists of multiple devices all running the same software—the new desktop these two create only makes sense within this vision. These new versions aren't really built as desktops for the future, but they include a hybrid desktop fallback mode for now and appear to believe in devices going forward. The other side of the Linux schism largely seems to ignore those.
|
||||
|
||||
And unlike the world of closed source OSes—where changes are handed down, like them or leave them—the Linux world is in the middle of a conversation about these two opposite ideas.
|
||||
|
||||
For users, it can be frustrating. The last thing you need when you're trying to get work done is an update that completely changes your desktop, forcing you to learn new ways of working. Even the best case scenario, moving to another desktop when your old favorite suddenly veers off in a new direction, usually means jettisoning years of muscle memory and familiarity.
|
||||
|
||||
Luckily, there's a simple way to navigate this mess and find the right desktop for you. Here it is in a nutshell: do you want to bend your will to your desktop or do you want to bend your desktop to your will?
|
||||
|
||||
If you fall in the first camp and don't mind learning new ways of working, Unity and GNOME 3 will be your best bets. If you fall in the latter camp, XFCE, Cinnamon, Mate, and a host of others will all likely prove a good fit. And even if you want to go non-traditional in a different direction from GNOME 3 and Unity, there's always Xmonad, Ratpoison, and others that very few Linux users will ever try. (This is a small shame, as Xmonad may be the best thing in Linux since Linus said, uh, hey, here's a kernel for your GNU system.)
|
||||
|
||||
![KDE Plasma 5's new boot screen.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot01.png)
|
||||
KDE Plasma 5's new boot screen.
|
||||
|
||||
So what about the undecided Linux users, all those people in the middle? You like the traditional desktop experience, and you're not ready to give up your menu and shortcuts for HUDs and other new tools. But at the same time, you're curious about tablets and other form factors, and you want something that will work across them all. You, my hypothetical friend, are an excellent candidate for the brand new KDE Plasma 5.
|
||||
|
||||
KDE is attempting to do something no other desktop in Linux has tried to date—move toward the tablet and mobile device future while still producing a desktop experience that's familiar, functional, and infinitely customizable.
|
||||
|
||||
### KDE Plasma 5 and the world of "convergence" ###
|
||||
|
||||
KDE users who made it through the transition from KDE 3.5 to 4 likely still flinch at the mention of a major upgrade to any part of KDE, but there's good news for KDE fans in Plasma 5. This is a major update, yes, but it comes with a handful of exceptions (which I'll get into in a minute because you'd never know it).
|
||||
|
||||
It turns out that the incredibly bumpy move to KDE 4 really did lay the groundwork for a better future—we are now in that future.
|
||||
|
||||
With this update, KDE is laying future groundwork in a less disruptive way. We're referring to an inevitable move to tablets and other form factors, but fear not. KDE seems poised to do what GNOME and Unity could not—branch out to other form factors without abandoning the traditional desktop. In other words, this release resisted the urge to mess with the tried and true just because something new is on the horizon.
|
||||
|
||||
(As a quick aside: You'd be forgiven for not remembering this, but the whole convergence thing that Canonical goes on about with each new Unity update? KDE started using the word "convergence" way back when Canonical was still running user tests to determine the optimal shade of brown for GNOME 2 menus.)
|
||||
|
||||
With KDE Frameworks 5, Qt5, and some other updates to the plumbing that come along with Plasma 5, KDE's version of convergence is here. It's simply under the hood where it belongs.
|
||||
|
||||
So while the components are there to allow the KDE project and its developers to build different interfaces—KDE calls these new frameworks the "converged Plasma shell," which is what loads up the desktop in Plasma 5—the Plasma 5 desktop is, thus far, the only interface. KDE plans to build out others, but the [official release announcement][2] for Plasma 5 says that "a tablet-centric and media center user experience are under development."
|
||||
|
||||
In this sense, KDE's vision of convergence is not unlike what Ubuntu envisions; the user interface will change based on the device and hardware. For example, you might have the "tablet-centric" interface that's in the works running while you're reading the Web on the couch. But get up, walk back to your office, connect to your wireless keyboard, and the interface shifts to something more keyboard-friendly.
|
||||
|
||||
This scenario has some potential problems, some of which Windows 8 users are likely already familiar with. For example, what will happen when a keyboard is plugged in, but you still want to interact with the screen via touch? What happens if you plug in a mouse, but you still want to scroll with your fingers?
|
||||
|
||||
We mention these small points not to say that KDE hasn't thought them through (here's hoping they have), but because this idea of "convergence" of adaptive user interfaces will be very difficult to get right. And one thing KDE has long had that gives users hope for the project's success is limitless configurability.
|
||||
|
||||
The hope for KDE on a tablet is that any user would be able to configure every last detail of the experience. Simply put, there would be a way for you to determine what you want to happen when a keyboard is detected rather than letting the OS determine it.
|
||||
|
||||
### The Plasma 5 desktop ###
|
||||
|
||||
KDE Plasma 5 is KDE 4 evolved rather than any kind of revolutionary new interface.
|
||||
|
||||
![The KDE Plasma 5 desktop.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot02.png)
|
||||
The KDE Plasma 5 desktop.
|
||||
|
||||
We've been using this release—still not completely stable during testing, though most of the glitches have been graphical, not data threatening—for over a month now in virtual machines. We've been dual booting on a Retina MacBook Pro and, to see how well it holds up on older hardware, an aging, underpowered Toshiba laptop. KDE Plasma 5 was tested using Kubuntu (virtual machine and the Toshiba) and atop a fresh install of Arch Linux (dual boot MacBook).
|
||||
|
||||
If you'd like to try out Plasma 5, the simplest way is to grab the [Neon live CD available from KDE][3]. That will get you Plasma with Ubuntu under the hood. If you want to commit and test it on an existing Kubuntu install, here are the commands for that:
|
||||
|
||||
sudo add-apt-repository ppa:neon/kf5
|
||||
sudo apt-get update
|
||||
sudo apt-get install project-neon5-session project-neon5-utils project-neon5-konsole project-neon5-breeze project-neon5-plasma-workspace-wallpapers
|
||||
|
||||
Restart your machine and you should see a new option at the login screen offering to start up a Neon session.
|
||||
|
||||
Once you have Plasma 5 up and running, the first thing you'll notice is the new default KDE theme, known as Breeze.
|
||||
|
||||
### Plasma 5's Breezy new look ###
|
||||
|
||||
Breeze is what KDE refers to as a modernized interface, with "reduced visual clutter throughout the workspace." Sure enough, the busy, somewhat cluttered feel that has long been a part of the default KDE look is gone.
|
||||
|
||||
![The KDE Plasma 5 desktop's Breeze theme is most complete in the Kickoff menu. Note the type to search message.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot03.png)
|
||||
The KDE Plasma 5 desktop's Breeze theme is most complete in the Kickoff menu. Note the type to search message.
|
||||
|
||||
The entire interface has been flattened out, with bigger fonts, better contrast, and a sort of flat, "frosted" look that's somewhere between OS X Yosemite, Android L, and KDE 4.x. That's not to say KDE ripped off Apple or Google. They couldn't have, since Plasma 5 and the Breeze theme were well on their way before Apple revealed Yosemite or Google announced Android L.
|
||||
|
||||
Still, while it would be incorrect to say KDE has ripped anyone off, Breeze's visual design and overall aesthetic are very much a product of its time. In that sense it looks "modern," so long as you define modern to mean lots of strong type, few textures or outlines, lots of translucency, and monochrome iconography.
|
||||
|
||||
KDE's designers have put a lot of work into Breeze and it shows. This isn't just a new coat of paint. Breeze makes KDE more approachable out of the box with cleaned up menus, a less cluttered notification center, and a revamped Kickoff start menu.
|
||||
|
||||
![A cleaner, less nagging notification center.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot04.png)
|
||||
A cleaner, less nagging notification center.
|
||||
|
||||
How much Breeze matters depends on whether or not you'll ever even use it. KDE tends to attract users that like customizing their systems, which, presumably, includes customizing the theme. One thing to look forward to is what distros that heavily customize the default KDE theme—notably OpenSUSE—will do now that Breeze provides a somewhat higher starting bar.
|
||||
|
||||
Currently, most distros will likely not jump on Breeze, since it is very much a work in progress. And coincidently, Breeze is where you'll notice some of the first signs of incompleteness in Plasma 5. While the Kickoff menu has some nice new icons, much of the rest of the interface does not. And as of the latest updates available in the Kubuntu ppa, Breeze does not use its new Window Decorations. The Window Decorations are installed, but they aren't turned on by default. You can head to the System Settings app and turn them on for a more complete, though possibly buggier, Breeze experience.
|
||||
|
||||
![Top is the default Oxygen Window Decorations, bottom the new Breeze theme.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot05.png)
|
||||
Top is the default Oxygen Window Decorations, bottom the new Breeze theme.
|
||||
|
||||
Not everything is ideal, and sometimes it's hard to tell what's a bug or incomplete feature and what is just poorly designed. For example, there's quite a bit of window and overlay translucency in Breeze, some of which looks nice. At other times, this gets in the way. Stacked windows and preview overlays bleed into what's behind them and become hard to read in the background. Pulling them to the foreground solves the problem, but it's hard to say what the value of the transparency is in this case.
|
||||
|
||||
![Transparency... why?](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot06.png)
|
||||
Transparency... why?
|
||||
|
||||
So yes, Breeze is still a work in progress, and not just in terms of features and design; things are still being worked out in terms of genuine bugs and glitches. We have encountered some unexpected behavior accordingly, particularly with regard to screen redraws. Those happen frequently and slow enough to notice. Windows disappear at times, and the menu bar occasionally only draws half of itself.
|
||||
|
||||
Plasma 5 has never crashed during our testing, nor has it lost any data. But be warned—little visual glitches abound. We would suggest waiting for things to stabilize and for the distro of your choice to integrate it before jumping in with both feet.
|
||||
|
||||
### Plasma menus go vertical ###
|
||||
|
||||
Breeze gives Plasma 5 a new look, but there are also a number of changes in behavior. For example, both the widget explorer and the alt-tab window switcher are now vertically oriented and located in the same place by default—the far left side of the screen.
|
||||
|
||||
![The default look for the alt-tab switcher menu.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot07.png)
|
||||
The default look for the alt-tab switcher menu.
|
||||
|
||||
While that consistency is probably good for KDE newcomers, who need to learn to expect that various stuff will appear to the left of the screen, it can be a little frustrating for long-time users anticipating something else. Some of these changes seem somewhat arbitrary.
|
||||
|
||||
![The widget explorer menu.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot08.png)
|
||||
The widget explorer menu.
|
||||
|
||||
The KDE project claims the shift to vertical instead of horizontal lists, in things like the widget explorer and window switcher, "provide better usability." It stops short of saying how exactly. The release docs claim that moving the window switcher to the side of the screen "shifts the user's focus towards the applications and documents, clearing the stage for the task at hand." But if you only call up the window switcher when you're, ahem, switching windows, then it seems more likely that the user is between tasks rather than involved in one.
|
||||
|
||||
![KDE still loves offering options. Notice the dark gray bar to the right that's an artifact (glitch) from dragging the window.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot09.png)
|
||||
KDE still loves offering options. Notice the dark gray bar to the right that's an artifact (glitch) from dragging the window.
|
||||
|
||||
This is KDE, though, not Unity; infinite customization is a feature, not a bug. A trip to the System Settings will get your old style window switcher back, and there are some 10 different visual possibilities for the window switcher in Plasma 5. If the default is not to your liking, customize away.
|
||||
|
||||
### So long Nepomuk, thanks for all the spinning fans ###
|
||||
|
||||
If you're a heavy user of KDE's sometimes awesome, sometimes not, search features, this may be the biggest news in Plasma 5. It's true, KDE has ditched Nepomuk in favor of a new search engine known as Baloo.
|
||||
|
||||
Nepomuk started life as an EU-funded metadata search project, with the lofty-sounding goal of creating a "Networked Environment for Personalized, Ontology-based Management of Unified Knowledge." By the time it trickled down to the KDE project, Nepomuk became a somewhat more mundane desktop search tool that alternated between brilliant and maddening.
|
||||
|
||||
![Searching for files in Plasma 5.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot10.png)
|
||||
Searching for files in Plasma 5.
|
||||
|
||||
Baloo takes much of what made Nepomuk great—namely, full text file search and an uncanny ability to pick up on relationships between files, for example, knowing that particular document is related to a contact—and [improves it][4]. Actually use the search features in Plasma 5 and you'll notice two things right off the bat: it's faster and your fan doesn't go haywire every time something new is indexed.
|
||||
|
||||
Baloo significantly reduces the resource footprint of searching and, according to KDE, is more accurate. We can't vouch for the latter, since we never used search much in older versions of KDE (see fan spinning comments), but in terms of accuracy, simple file searches in Plasma 5 are on par with what you'll find in Ubuntu, OS X, and elsewhere. The success of more complex searches involving relationships or complex metadata will vary depending on how much you use the default KDE apps. For example, you need to use the Kontact Suite if you want to take advantage of Baloo-based searches involving relationships between contacts and files.
|
||||
|
||||
That will likely change as time goes on, though, because another big change from Nepomuk is the new, improved developer API. The API for searching means third-party apps can tie in Plasma 5's Semantic Search infrastructure and take advantage of the same tools the default apps use.
|
||||
|
||||
Curiously, for something that has seen as much work as Baloo has, the visibility and discoverability of the search feature has taken a step backward. Fire up Plasma 5's Kickoff menu—KDE's answer to the Windows Start menu—and search is nowhere to be found. If you look closely, you'll see a tiny little reminder to "type to search," which is a step up from the first release (which had no indication that you could search). Still, this isn't as discoverable as a dedicated search box.
|
||||
|
||||
### Kickoff and its new cousin, Kicker ###
|
||||
|
||||
KDE's answer to the Windows Start button has always been overkill in these eyes, packing too much in too little space, but with Breeze the menu has been cleaned up a bit and feels less visually overwhelming.
|
||||
|
||||
![The Kickoff menu in the default theme.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot11.png)
|
||||
The Kickoff menu in the default theme.
|
||||
|
||||
If it's still a bit too much for your needs, Plasma 5 offers a new, more traditional menu-based launcher called Kicker. Kicker does less—it's much closer to the Start menu in XP, a single, narrower pane that offers expanding menus where needed—and makes a lightweight alternative if all you want to do is launch applications and files. It also has a very obvious search box.
|
||||
|
||||
![The new Kicker menu option.](http://cdn.arstechnica.net/wp-content/uploads/2014/08/screenshot12.png)
|
||||
The new Kicker menu option.
|
||||
|
||||
The other side of the menu bar has been revamped and cleaned up a bit as well. The most notable change is the notification app, which seems to kick up fewer notifications and does a better job of displaying them and quickly getting them out of the way.
|
||||
|
||||
### OpenGL, QtQuick, and HiDPI Screens ###
|
||||
|
||||
Plasma 5 finishes up KDE's migration to Qt 5 and QtQuick, the latter of which uses a hardware-accelerated OpenGL scenegraph to render graphics. Most of what's new with OpenGL pertains to offloading graphics to any available GPU. That means, provided you've got the hardware for it, Plasma 5 can take full advantage of today's powerful GPUs.
|
||||
|
||||
Indeed, on newish hardware (our test MacBook's NVIDIA GeForce GT graphics card, for example) Plasma 5 is snappy, considerably snappier than its predecessor. Perhaps even more impressive, take away whatever GPU advantage Plasma 5 might gain over KDE 4.x systems, and it still feels faster. That is, running on older hardware still isn't KDE's strong point, but the story is better than it used to be. Still, if you're looking to get some extra mileage out of older hardware, stick with Xfce, LXDE or something even simpler like Openbox.
|
||||
|
||||
Interestingly, the revamped Frameworks that make up Plasma 5's graphics stack also pave the way for KDE to switch to the Wayland display server protocol. KDE doesn't seem to be in a hurry to make the switch to Wayland though, noting only that full support will be available in "a future release."
|
||||
|
||||
This release also claims improved support for HDPI displays. But, as with the HDPI support in GNOME and Unity, the actual experience is a very mixed bag. Font rendering in particular is nowhere near as smooth as what OS X offers. Even installing and fiddling with Infinality has never produced satisfactory results for me. We're still not sure if the problem is in setup, and we're not in fact seeing the new HDPI features. Or, possibly the KDE project just has a very different definition of what constitutes HDPI support. Hopefully it's the former.
|
||||
|
||||
### What's missing ###
|
||||
|
||||
Earlier in this review, we said that the transition from KDE 4 to the Plasma 5 desktop would not be as bumpy as the move from KDE 3.x to 4.x. For the most part, that's true, but, for some people, there may be exceptions.
|
||||
|
||||
The KDE project says the focus for this release has been "concentrated on tools that make up the central workflows" and notes that "not all features from the Plasma 4.x series are available yet." That might ring a bell for those who made it through the KDE 3 to 4 transition.
|
||||
|
||||
In testing, we didn't run across any noticeable gaps in functionality or obvious missing features, save what was mentioned: the incomplete Breeze theme, some graphical glitches, and some questionable design choices. That said, have a look at the [list of known issues][5], in particular the note about performance.
|
||||
|
||||
And we suggest trying Plasma 5 first to make sure all your must-haves are there before you jump in with both feet.
|
||||
|
||||
### Conclusion ###
|
||||
|
||||
KDE's Plasma 5 release lacks the attention-grabbing, paradigm-shifting changes that keep Unity and GNOME in the spotlight. Instead, the KDE project has been focused on improving its core desktop experience. Plasma 5 is not perfect by any means, but, unlike Unity and GNOME, it's easy to change the things you don't like.
|
||||
|
||||
What's perhaps most heartening about this release is that KDE has managed to get a lot of the groundwork done for alternate interfaces without messing with their desktop interface much at all. The speed improvements are also good news. If you've tried KDE in the past and found it too "heavy," you might want to give Plasma 5 a fresh look.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://arstechnica.com/information-technology/2014/08/kde-plasma-5-for-those-linux-users-undecided-on-the-kernels-future/
|
||||
|
||||
作者:Scott Gilbertson
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[1]:http://arstechnica.com/gadgets/2014/08/op-ed-tables-really-are-pcsbecause-theres-no-point-in-buying-new-ones/
|
||||
[2]:http://www.kde.org/announcements/plasma5.0/
|
||||
[3]:http://files.kde.org/snapshots/neon5-latest.iso.mirrorlist
|
||||
[4]:https://dot.kde.org/2014/02/24/kdes-next-generation-semantic-search
|
||||
[5]:https://community.kde.org/Plasma/5.0_Errata
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user