mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-13 22:30:37 +08:00
Merge pull request #1517 from su-kaiyao/master
完成翻译 20140818 How To Schedule A Shutdown In Ubuntu 14.04 [Quick Tip].md 和 20140818 Install Atom Text Editor In Ubuntu 14.04 & Linux Mint 17.md
This commit is contained in:
commit
c0a0aef9bb
@ -1,42 +0,0 @@
|
||||
[su-kaiyao]翻译中
|
||||
|
||||
How To Schedule A Shutdown In Ubuntu 14.04 [Quick Tip]
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Schedule_Shutdown_Ubuntu.jpeg)
|
||||
|
||||
Cannot shutdown your computer as some program are running but you cannot leave the computer running for the whole night? You may find yourself in similar position where you would need to schedule a shutdown in Ubuntu or any other Linux for that matter.
|
||||
|
||||
In this quick post, we shall see how to schedule a shutdown in Ubuntu with GUI or in CLI.
|
||||
|
||||
### Schedule a shutdown in Ubuntu with EasyShutdown ###
|
||||
|
||||
EasyShutdown is a tiny application that provides a tiny GUI so that you can easily schedule a shutdown in Ubuntu. You can [download the .deb file from launchpad page of EayShutdown][1]. Just double click on it to install it. By default, it should open with Ubuntu Software Center.
|
||||
|
||||
Once installed, run it from Unity Dash. Interface is very simple. You just have to provide the time at which you want to shut down the system. For example, if you want to shutdown the system at 03:30 AM, fill it as following:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Schedule_Shudown_Ubuntu.jpeg)
|
||||
|
||||
Note that EasyShutdown doesn’t have a daemon or system tray. So you have to keep it running to make it work. Good thing with EasyShutdown is that it notifies you one minute before the scheduled shutdown, so that you can choose to pause it.
|
||||
|
||||
### Schedule a shutdown in Ubuntu in command line ###
|
||||
|
||||
Using command line option to **schedule a shutdown in Ubuntu** is equally easy. All you have to do is to use “shutdown” command. For example, to schedule a shutdown at 03:30 AM, you can use the command in following fashion:
|
||||
|
||||
sudo shutdown -h 03:30
|
||||
|
||||
Note that you will have to keep running this command. So either keep the terminal open or send the process in background.
|
||||
|
||||
I hope these quick tips helps you to schedule a shutdown in Ubuntu or other Linux system such as Linux Mint. Any questions or suggestions are always welcomed.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/schedule-shutdown-ubuntu/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:https://launchpad.net/easyshutdown
|
@ -1,57 +0,0 @@
|
||||
[su-kaiyao]翻译中
|
||||
|
||||
Install Atom Text Editor In Ubuntu 14.04 & Linux Mint 17
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Atom_In_Ubuntu_Linux_Mint.jpeg)
|
||||
|
||||
[Atom][1] is sleek and feature rich open source text editor from [Github][2]. It is currently in beta but if you are curious to try it, we shall see **how to install Atom in Ubuntu 14.04 or Linux Mint 17**.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Atom_Editor.jpeg)
|
||||
|
||||
In terms of look and even features, Atom resembles a lot like [Sublime Text editor][3], a hugely popular cross platform but closed source text editor which is preferred by programmers. In fact, Atom is not the only upcoming text editor which is inspired by Sublime Text. [Lime Text][4] is an open source clone of Sublime Text under development.
|
||||
|
||||
Without further ado, let’s see how to install Atom editor in Ubuntu 14.04 and Linux Mint 17.
|
||||
###
|
||||
Install Atom in Ubuntu and Linux Mint via PPA ###
|
||||
|
||||
Since it is in beta, there are no binaries for Linux by the time I write this article. But don’t worry. You don’t have to compile the code on your own (of course you can choose to do so, for your own pleasure). Thanks to [Webupd8 team’s][5] effort, we have a PPA that lest you easily install Atom editor in both 32 bit and 64 bit systems.
|
||||
|
||||
Open a terminal and use the following commands:
|
||||
|
||||
sudo add-apt-repository ppa:webupd8team/atom
|
||||
sudo apt-get update
|
||||
sudo apt-get install atom
|
||||
|
||||
That would be it. You can run Atom editor from Unity Dash in Ubuntu and application menu in Linux Mint.
|
||||
|
||||
### Uninstall Atom from Ubuntu and Linux Mint ###
|
||||
|
||||
There could be plenty of reasons why you would like to remove Atom from your system. Being unstable could be one of the major reasons. Whatever may be your reason, here is how to uninstall Atom:
|
||||
|
||||
sudo apt-get remove atom
|
||||
sudo add-apt-repository --remove ppa:webupd8team/atom
|
||||
|
||||
This will remove Atom and the PPA repository. A good thing to do would be to run auto remove as well.
|
||||
|
||||
sudo apt-get autoremove
|
||||
|
||||
### Your experience with Atom? ###
|
||||
|
||||
If you tried Atom, do share your experience with us. Do you think it has the potential to become your favorite text editor?
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/install-atom-text-editor-ubuntu-1404-linux-mint-17/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:https://atom.io/
|
||||
[2]:https://github.com/
|
||||
[3]:http://www.sublimetext.com/
|
||||
[4]:http://itsfoss.com/lime-text-open-source-alternative/
|
||||
[5]:https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8
|
@ -0,0 +1,42 @@
|
||||
如何安排你的Ubuntu 14.04自动关机[快速技巧]
|
||||
===
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Schedule_Shutdown_Ubuntu.jpeg)
|
||||
|
||||
当你系统还在运行某些程序的时候,无法关闭计算机?但是你又不能让计算机跑个一整夜!可能你会发现你曾面临相似的处境:因为刚刚提到的问题,你需要在Ubuntu或者其余Linux系统下安排计算机关机
|
||||
|
||||
在这篇文章中,我们就来看看如何使用GUI或者在CLI下安排你的Ubuntu关机
|
||||
|
||||
### 使用EasyShutdown安排你的Ubuntu关机 ###
|
||||
|
||||
EasyShutdown是一个轻量级的应用程序,它提供给你简洁的GUI,你可以很容易就能安排你的Ubuntu关机。你可以在[EasyShutdown的launchpad页面下载.deb文件][1]。只要双击它,就可以安装了。默认情况下,它会打开Ubuntu Software Center
|
||||
|
||||
安装完成,从Unity Dash启动它。界面非常简单,你只需要提供你想关机的时间就可以了。举个例子:如果你想在03:30 AM关机,像下面那样操作:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Schedule_Shudown_Ubuntu.jpeg)
|
||||
|
||||
请注意:EasyShutdown并没有后台程序或者系统托盘,所以,你必须让它一直运行,否则将不能正常工作。但EasyShutdown的优点是:它会在你安排关机时间的前一分钟通知你,那样你就可以选择停止它
|
||||
|
||||
### 使用命令行安排Ubuntu关机 ###
|
||||
|
||||
使用命令行选项来**安排Ubuntu关机**同样很简单。你要做的就是使用“shutdown”命令。举个例子:想在03:30 AM关机,你可以使用下面的命令:
|
||||
|
||||
sudo shutdown -h 03:30
|
||||
|
||||
注意,你必须一直运行这个命令。所以要么保持这个终端,要么在后台运行
|
||||
|
||||
我希望这些快速技巧可以帮助你们,学会如何安排Ubuntu或者其余Linux系统比如Linux Mint自动关机。欢迎你们提出问题或者建议
|
||||
|
||||
---
|
||||
|
||||
via: http://itsfoss.com/schedule-shutdown-ubuntu/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:https://launchpad.net/easyshutdown
|
||||
|
@ -0,0 +1,56 @@
|
||||
在Ubuntu 14.04 和 Linux Mint 17上安装Atom文本编辑器
|
||||
===
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Install_Atom_In_Ubuntu_Linux_Mint.jpeg)
|
||||
|
||||
[Atom][1]是[Github][2]上时髦的,功能丰富的开源文本编辑器。目前,它正处于测试阶段,但如果你对它很好奇,那我们就来看看**如何在Ubuntu 14.04和Linux Mint 17上安装Atom**
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/Atom_Editor.jpeg)
|
||||
|
||||
无论是在外观,甚至是在功能上,Atom都有很多与[Sublime Text editor][3]相似之处。Sublime Text editor是一个强大,并深受程序员喜爱的跨平台文本编辑器,可惜它是闭源的。事实上,在Sublime Text的驱使下,Atom并不是唯一即将到来的文本编辑器。[Lime Text][4]是Sublime Text的开源克隆,目前正处于开发中。
|
||||
|
||||
废话不多说,让我们来看看如何在Ubuntu 14.04和Linux Mint 17下安装Atom编辑器
|
||||
|
||||
### 通过PPA源,在Ubuntu和Linux Mint下安装Atom ###
|
||||
|
||||
因为Atom正处于测试阶段,截止到我写这篇文章前,还没有Linux下的二进制文件。但是不用担心,你不需要亲自去编译这些代码(当然如果你乐意的话,你也可以这么做)。感谢[Webupd8 team’s][5]的努力,我们拥有一个可以很容易将Atom安装在32位和64位系统上的PPA
|
||||
|
||||
打开终端,然后使用下面的命令行:
|
||||
|
||||
sudo add-apt-repository ppa:webupd8team/atom
|
||||
sudo apt-get update
|
||||
sudo apt-get install atom
|
||||
|
||||
就这么简单,你可以通过Ubuntu下的Unity Dash活在Linux Mint里的应用程序菜单启动Atom编辑器
|
||||
|
||||
### 从Ubuntu和Linux Mint卸载Atom ###
|
||||
|
||||
可能,你会有许多想从你的系统中卸载Atom的原因。不稳定可能是主要原因。好吧,不管什么原因,我来说下怎么卸载Atom:
|
||||
|
||||
sudo apt-get remove atom
|
||||
sudo add-apt-repository --remove ppa:webupd8team/atom
|
||||
|
||||
这些命令会移除Atom和PPA仓库,好的做法也可能是运行自动删除:
|
||||
|
||||
sudo apt-get autoremove
|
||||
|
||||
### 你使用Atom的体验? ###
|
||||
|
||||
如果你尝试了Atom,请和我们分享你的体验。你觉的它会成为你最喜欢的文本编辑器吗?
|
||||
|
||||
---
|
||||
|
||||
via: http://itsfoss.com/install-atom-text-editor-ubuntu-1404-linux-mint-17/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[su-kaiyao](https://github.com/su-kaiyao)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/Abhishek/
|
||||
[1]:https://atom.io/
|
||||
[2]:https://github.com/
|
||||
[3]:http://www.sublimetext.com/
|
||||
[4]:http://itsfoss.com/lime-text-open-source-alternative/
|
||||
[5]:https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8
|
Loading…
Reference in New Issue
Block a user