码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu下设置(增加/删除)开机启动项

时间:2014-12-25 21:55:39      阅读:338      评论:0      收藏:0      [点我收藏+]

标签:

As said above, you have to edit /etc/xdg/autostart/ and either:

  • remove the NoDisplay=true lines;
  • or make those same lines comments by adding # in front of them;
  • or replace true by false in those same lines.

The third solution can be easily done in three steps:

  1. Summon the terminal with Ctrl + Alt + T.
  2. Type the two following commands:

    cd /etc/xdg/autostart/
    sudo sed --in-place ‘s/NoDisplay=true/NoDisplay=false/g‘ *.desktop
    

After changing anything you want, you can go back to the previous state by typing this into the terminal:

sudo sed --in-place ‘s/NoDisplay=false/NoDisplay=true/g‘ *.desktop

This has been tested in 12.04, 12.10 and 13.04.

Ubuntu下设置(增加/删除)开机启动项

标签:

原文地址:http://www.cnblogs.com/inya/p/4185515.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!