linux
micron crucial ssd sudo StorageExecutiveClient.run
boot into uefi bios systemctl reboot --firmware-setup
unzip japanese filename unzip -Ocp932 filename.zip
[[Me.Areas.Linux.Start]]
-
ssh_exchange_identification: Connection closed by remote host under Git bash
- https://stackoverflow.com/a/60994276/6236633 (opens in a new tab)
- https://windowsreport.com/bad-owner-or-permissions-on-ssh-config (opens in a new tab)
- https://idreamshen.github.io/posts/github-connection-closed/ (opens in a new tab)
- https://docs.github.com/en/authentication/troubleshooting-ssh/error-key-already-in-use (opens in a new tab)
-
network fix
https://gist.github.com/dingfanATyykj/0c1f766ac0841dd17d14d2072b8e4815 (opens in a new tab)
ubuntu 20 wired unmanaged
try
code /etc/NetworkManager/NetworkManager.conf
# NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:wwan,except:type:ethernet,except:type:vlan
[device]
wifi.scan-rand-mac-address=no
sudo systemctl restart network-manager
https://superuser.com/a/1632034 (opens in a new tab)
if not working, try
https://askubuntu.com/a/1265396 (opens in a new tab)
-
screen flickering blinking
- https://bennis-blog.de/tag/popos/ (opens in a new tab)
- https://askubuntu.com/questions/1404771/screen-flicker-after-fresh-install-of-ubuntu-22-04 (opens in a new tab)
- https://www.dell.com/community/Linux-General/XPS-13-7390-Ubuntu-Screen-flickering/td-p/7430121/page/3 (opens in a new tab) screen flickerling fix https://gitlab.freedesktop.org/drm/intel/-/issues/4703#note_1531208 (opens in a new tab)
-
book
- Linux Pocket Guide, 3rd Edition
[[Me.Resources.Linux.Command]]
share clipboard
ssh x11forwarding
-
linux command find ip address
- hostname -I
-
ssh to termux on android
-
xps 13 7390 2 in 1 Linux fix
-
xps 13 sleep not deep
- https://www.reddit.com/r/pop_os/comments/fwfehh/how_to_make_deep_mem_sleep_default_and_persistent/ (opens in a new tab)
sudo kernelstub -a "mem_sleep_default=deep"
cat /sys/power/mem_sleep
- it shows
s2idle [deep]
- it shows
- https://www.kernel.org/doc/Documentation/power/states.txt (opens in a new tab)
-
https://postmarketos.org/ (opens in a new tab)
- A real Linux distribution for phones and other mobile devices
gnome
disable tracker to make it faster
https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html (opens in a new tab)
dotfiles
dotfiles
Manage your dotfiles with Ansible https://medium.com/espinola-designs/manage-your-dotfiles-with-ansible-6dbedd5532bb (opens in a new tab)
https://github.com/geerlingguy/ansible-role-dotfiles (opens in a new tab)
https://github.com/elnappo/dotfiles (opens in a new tab)
https://thebroken.link/managing-dotfiles-with-ansible/ (opens in a new tab)
https://phelipetls.github.io/posts/introduction-to-ansible/ (opens in a new tab)
General-purpose dotfiles utilities https://dotfiles.github.io/utilities/ (opens in a new tab)
A curated list of dotfiles resources. https://github.com/webpro/awesome-dotfiles (opens in a new tab)
ansible
https://github.com/ansible/ansible (opens in a new tab)
use ansible to manage dotfiles
on ubuntu, don't use pip to install ansible, because it will cause error while using sudo
just use sudo apt install ansible
also install ansible-lint for vscode extension
sudo apt install ansible-lint
while using ansible-pull with github ssh url
sudo ansible-pull --accept-host-key --private-key path/to/your_private_key -U git@github.com:Ding-Fan/ansible_config.git
--accept-host-key only needed when first tile
sudo ansible-pull --private-key ~/.ssh/id_ed25519 -U git@github.com:Ding-Fan/ansible_config.git