zoukankan      html  css  js  c++  java
  • Ubuntu下设置(增加/删除)开机启动项

    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.

  • 相关阅读:
    解释之前遗留的方法覆盖问题
    多态在开发中的作用
    多态的基础语法
    Go 统计汉子字符
    Go map
    Go make和new的区别
    Go 指针
    Go 切片
    Go数组
    Go中交换两个值类型
  • 原文地址:https://www.cnblogs.com/inya/p/4185515.html
Copyright © 2011-2022 走看看