UbuntuΒΆ
Config netplan (network)ΒΆ
Open netplan file under the /ect/netplan/01-netcfg.yaml path
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses:
- 192.168.1.100/24
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses:
- 192.168.1.1
- 8.8.8.8
Note: if your face to this warning "WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running" install openvswitch-switch package
Get the list of installed packagesΒΆ
Set APT ProxyΒΆ
via squidΒΆ
cat << EOF | sudo tee /etc/apt/apt.conf.d/21proxy
Acquire::http::proxy::download.docker.com "http://user:pass@proxy.example.com:3128/";
Acquire::http::proxy::apt.kubernetes.io "http://user:pass@proxy.example.com:3128/";
EOF
via socksΒΆ
cat << EOF | sudo tee /etc/apt/apt.conf.d/21proxy
Acquire::http::proxy "socks5h://localhost:9090";
EOF
Show and Edit gnome shortkeysΒΆ
Install gnome related package
Get the list of shortkeys
gsettings list-recursively org.gnome.desktop.wm.keybindings
or
gsettings list-recursively org.gnome.desktop.wm.keybindings | grep switch-to-workspace
Replace the value for the specific key
gsettings set org.gnome.desktop.wm.keybindings key-name "[pattern]"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Super>Page_Down', '<Super><Alt>Right']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['<Super>Page_Up', '<Super><Alt>Left']"