人若无名,便可专心练剑

linux gnome desktop reset

  |   0 评论   |   413 浏览

    对于经常使用gnome作为桌面环境的时候,有时候长时间使用不小心更新了或者修改了什么配置导致桌面环境崩溃后,
    不能登陆进入桌面环境,每次登陆都会crash,那么我们怎么能比较好的恢复登陆呢,我们可以采用tty模式,

    ctrl+alt+F(1-7)

    然后console状态登陆对应用户名,然后执行如下命令,就可以进行恢复。
    注意:这个操作相当于对当前使用目录的配置进行"出厂设置",因此很多配置我们都需要重新进行设置

    dconf reset -f /

    详细项目:

    
    Usage:
      dconf COMMAND [ARGS...]
    
    Commands:
      help              Show this information
      read              Read the value of a key
      list              List the contents of a dir
      write             Change the value of a key
      reset             Reset the value of a key or dir
      compile           Compile a binary database from keyfiles
      update            Update the system databases
      watch             Watch a path for changes
      dump              Dump an entire subpath to stdout
      load              Populate a subpath from stdin
    
    Use 'dconf help COMMAND' to get detailed help.
    
    read
               Read the value of a key.
    
           list
               List the sub-keys and sub-directories of a directory.
    
           write
               Write a new value to a key.
    
           reset
               Reset a key or an entire directory. For directories, -f must be specified.
    
           compile
               Compile a binary database from keyfiles.
    
               The result is always in little-endian byte order, so it can be safely installed in 'share'. If it is used on a big endian machine,
               dconf will automatically byteswap the contents on read.
    
           update
               Update the system dconf databases.
    
           watch
               Watch a key or directory for changes.
    
           dump
               Dump an entire subpath to stdout. The output is in a keyfile-like format, with values in GVariant syntax.
    
           load
               Populate a subpath from stdin. The expected format is the same as produced by dump.
    


    dropbox:邀请您的加入,让你随时随地同步您的文件:https://db.tt/wCU4HQq4

    人生格言: 如果说人生是自我编写的程序, 那么青春就是其中意味深长的代码。 或简单,分解成彼此独立的字符: 或复杂, 拼凑成一连串神秘的语句。 我们尝试着不断调试, 不断优化,无论编译结果如何, 过程才是最美。 如果说这段代码不能复制, 那么我愿意用一生去续写.

    评论

    发表评论

    validate