zoukankan      html  css  js  c++  java
  • 解决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'

     

  • 相关阅读:
    安卓开发之有序广播
    安卓开发之无序广播
    安卓开发之短信发送器的开发
    安卓开发之隐式意图与显示意图
    安卓root权限 被提示Read-only file system 或 Operation not permitted 解决方案
    gcc 的基本使用和静态库、动态库的制作与使用
    Python类的学习,看这一篇文章就够了!
    Qt 添加程序图标和系统托盘图标
    Qt ListWidget item 发起拖放
    Qt 接受拖放
  • 原文地址:https://www.cnblogs.com/xiaouisme/p/5610766.html
Copyright © 2011-2022 走看看