3resource
Linux

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]]

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)

[[Me.Resources.Linux.Command]]

share clipboard

https://twitter.com/yetone/status/1544291987490484224?s=20&t=1FHSKt6x7C1uUEMzw4j1NQ (opens in a new tab)

ssh x11forwarding

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://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#selecting-an-ansible-package-and-version-to-install (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

Do not shoot this.