Notes
1.0.0
1.0.0
  • Introduction
  • Commands
    • cd
    • df
    • du
    • fc-cahe
    • ifconfig
    • ip
    • ls
    • lsb_release
    • mkdir
    • mksquashfs
    • mount
    • ping
    • pwd
    • rm
    • sar
    • sudo
  • Linux C
    • Preprocessor
    • Keywords
    • Kernel
      • Ftrace
      • Watchdog
  • Python
    • general
      • Decorator
      • Generator
      • Iterator
      • Lambda
    • Download
    • NIC
  • Network
    • Protocol
      • Link layer
      • IP
      • ARP
      • ICMP
    • Proxy
      • Cntlm
      • Proxychains4
      • ShadowSocks
    • Tools
      • iperf
      • tc
      • Wireshark
    • Apps
      • samba
      • tftp
  • Software
    • Atom
    • Chrome
    • Docker
    • Git
    • Gitbook
    • Hexo
    • Nodejs
    • Teraterm
    • Tex
    • Tmux
    • VIM
    • VSCode
  • Database
    • MongoDB
  • Web
    • CSS
    • LNMP
  • Tools
    • common
    • programming
  • Ubuntu
    • Add user
    • AWS EC2
    • FAQ
    • Installer
    • Shell
    • Shell scripts
    • Themes
    • VPS
  • Windows
    • PowerShell
    • CMD
    • FAQ
  • Aphorisms
  • Book List
  • Favorites
  • Appendix
    • ASCII
    • GSM
Powered by GitBook
On this page
  • 如何取消谷歌浏览器的秘钥环密码
  • 点击链接后从谷歌浏览器打开空白页该如何解决
  • 禁止笔记本合盖后休眠

Was this helpful?

  1. Ubuntu

FAQ

如何取消谷歌浏览器的秘钥环密码

seahorse

右键修改Login的Passwords为空即可。

点击链接后从谷歌浏览器打开空白页该如何解决

谷歌浏览器的快捷方式可能有两个,一个在默认目录/usr/share/applications,另一个在目录~/.local/share/applications/,删除后面一个即可。

rm ~/.local/share/applications/google-chrome.desktop

禁止笔记本合盖后休眠

有时候需要通过ssh连接笔记本上的ubuntu,而笔记本则合盖就好,此时默认情况会进入休眠状态,进而导致ssh断开。解决方案如下:

  1. settings -> power 中的blank screen选项中选择never,确保笔记本不定时锁屏

  2. 执行以下执行防止合盖后休眠

$ sudo vi /etc/systemd/logind.conf
# 将HandleLidSwitch一栏改为
HandleLidSwitch=ignore
$ sudo service systemd-logind restart
PreviousAWS EC2NextInstaller

Last updated 5 years ago

Was this helpful?