• 解决mint17-linux里chrome一搞就弹出“登陆密钥环”的框框


    摘自:https://sites.google.com/site/easylinuxtipsproject/tips#TOC-Make-the-keyring-password-on-your-computer-less-annoying


    Make the keyring password on your computer less annoying

    15. This tip is only relevant when you're being logged in automatically, without entering your username and password.
    The keyring password can be annoying when you use automatic login. Google Chrome and Chromium invoke it when you want to store website passwords or when you have stored those in the past.

    Luckily, it's simple to train Chrome and Chromium to behave themselves. Basically, this entails launching them with the specific order not to install website passwords in the user keyring anymore.

    The downside is of course, that the storage of website passwords becomes less secure. If you can live with that, this is how to achieve it:

    a. First delete the current user keyring. Don't be afraid: you won't remove your root password or your user password, but only your personal user keyring. Note: this will delete all the website passwords you've stored in Chrome and Chromium!

    Proceed like this:

    Launch a terminal window.
    (You can launch a terminal window like this: *Click*)

    Use copy/paste to transfer the following command line to the terminal:

    rm -v ~/.local/share/keyrings/*.keyring

    Press Enter.

    Instead of applying the rest of this how-to (step b and further), you can also disable the keyring password entirely, which is insecure and therefore not advisable. Do you wish to do that anyway? Not smart, but this is how:
    The next time when you're being prompted for a keyring password, leave the password field blank (simply click Continue and then again Continue, thus agreeing to unsafe storage).


    b. For Google Chrome, you copy/paste this command line into the terminal (it's one line):

    cp -v /usr/share/applications/google-chrome.desktop ~/.local/share/applications

    Press Enter.

    Then (it's one line):

    sed -i 's/google-chrome-stable/google-chrome-stable --password-store=basic/g' .local/share/applications/google-chrome.desktop

    Press Enter.

    For Chromium, you copy/paste the following command line into the terminal (it's one line):

    cp -v /usr/share/applications/chromium-browser.desktop ~/.local/share/applications

    Press Enter.

    Then (it's one line):

    sed -i 's/Exec=chromium-browser/Exec=chromium-browser --password-store=basic/g' .local/share/applications/chromium-browser.desktop

    Press Enter.

    That should take care of that problem for you.

    c. Do you also want this protection when you launch Chrome or Chromium from the terminal (something which only advanced users will ever do)? Then use Gedit or Leafpad to create a hidden text file called .bash_aliases in your user account and put the following two green lines into it:

    alias google-chrome='google-chrome --password-store=basic'
    alias chromium-browser='chromium-browser --password-store=basic'

     

  • 相关阅读:
    父组件向子组件传递数据(vue.js)
    vue引入JQ的方法
    webstorm添加*.vue文件代码提醒支持webstorm支持es6vue里支持es6写法
    创建脚手架步骤
    JS严格校验身份证号
    微信小程序开发工具 常用快捷键
    GIT 常用命令
    git 操作
    通过selenium(也有Puppeter版在最后)登录网页获取特定信息
    用Django ORM实现树状结构
  • 原文地址:https://www.cnblogs.com/xiaouisme/p/5610766.html
Copyright © 2020-2023  润新知