Mainly will focus on Pop OS distro since curretly trying to setup that distro.
sudo apt-get install -y \
byobu git \
flameshot \
remmina \
cpu-x \
gnome-tweaks gnome-shell-extensions chrome-gnome-shell \
network-manager-l2tp network-manager-l2tp-gnome \
google-chrome-stable \
virt-manager qemu
Add user to libvirt group.
sudo usermod -G libvirt -a $USER
Gnome extensions urls
Clone dotfiles repo at https://github.com/farhanmustar/dotfiles.git. Follow the dotfiles readme.
Install required apps
sudo apt-get install fprintd libpam-fprintd
Enroll the finger.
fprintd-enroll
Download deb file, find other version here .
wget https://github.com/wez/wezterm/releases/download/20220905-102802-7d4b8249/wezterm-20220905-102802-7d4b8249.Ubuntu22.04.deb
Install the deb.
sudo apt install -y ./<path_to_deb_file>
Chrome seems to crash alot. Now trying the flatpack version.
Currenlty dont have easy way to install from terminal. Use popshop to install. search zenmap.
sudo apt-get install xrdp
sudo adduser xrdp ssl-cert
sudo systemctl restart xrdp
For now use peek, have not found one that is in default repo.
sudo add-apt-repository ppa:peek-developers/stable
sudo apt update
sudo apt install peek
sudo apt install obs-studio
Older ubuntu system such as ubuntu 14.04 trusty does not have vim 8.0. Use thirdparty ppa.
sudo add-apt-repository ppa:jonathonf/vim
sudo apt-get update
sudo apt-get install vim
Install universal ctags. TODO: use ppa?
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure --prefix=/where/you/want # defaults to /usr/local
make
make install # may require extra privileges depending on where to install
Install ripgrep. TODO: this is not supoorted in ubuntu 14.04
sudo add-apt-repository ppa:x4121/ripgrep
sudo apt-get update
Pop OS got two iso, one for nvdia one for others. need to install the correct one.
- TODO: expore this software.
Use solaar to configure them.
sudo apt install solaar
Configure network interface using terminal ui.
sudo nmtui
Virtual machine manager network config can be configure at Edit > Connection Details. Alternatively change by settings running the following command. (last two line to restart).
virsh net-edit default
virsh net-destroy default
virsh net-start default
virsh is cli for virtual machine config.
NOTE: Pop OS use seahorse to manage password and keys. Can generate directly from seahorse.
Gen rsa key. Public key will be placed together with suffix .pub.
ssh-keygen -t rsa
Add key to agent. (-t timeout)
ssh-agent -t 3600 <path_to_key>
or
ssh-add <path_to_key>
Remove user added keys (not added from seahorse).
ssh-add -D
Use -A
to forward ssh ageant to remote connection.
ssh -A user@remoteurl
For synaptic touchpad we have manufacturer driver that make the touchpad more responsive. Check device type.
xinput --list
Install device driver.
sudo apt install xserver-xorg-input-synaptics
Temp config the settings like this. List props
xinput --list-props <deviceID/name>
Set prop (temp)
xinput --set-prop <deviceID/name> <propID> <val1> [<val2> ...]
Make it persistent refer here
copy or modify config from ./etc/X11/xorg.conf.d/99-synaptics.conf
to /etc/X11/xorg.conf.d/
sudo cp ./etc/X11/xorg.conf.d/99-synaptics.conf /etc/X11/xorg.conf.d/
Hint: Synaptic scrolling distance set to -ve value to invert scroll direction.
syndaemon can be use to reject touchpad tap when typing.
currently just use startup application.
add the following bash script to /usr/bin/syndaemon_restart
#!/usr/bin/bash
killall syndaemon || true
syndaemon -i 3 -KRdt
Allow execution
sudo chmod +x /usr/bin/syndaemon_restart
Search statup application and add /usr/bin/syndaemon_restart
.
Recommended to add them as shortcut command if keep happening. Sometimes cannot move cursor at all. Try this to recover.
echo -n rescan | sudo tee /sys/bus/serio/devices/serio1/drvctl
Sometimes cannot scroll. Try this to recover.
sudo modprobe -r psmouse
sudo modprobe psmouse
Install virtio driver here to improve performance.
TODO: other os might also benefit from installing virtio driver. TODO: refer here for setup ref.