Kubuntuのインストールとセットアップのメモ
memo
Lastmod: 2023-06-23

各ヘッダーはトラブルかやりたいことを示す。divの中が解決方法など。この部分はあとから書いているが、最初の「起動しても画面になにも映らないのがなかなか解決できなくて辛かった。結局デバイスドライバの問題だったけど、リカバリーブートを試してみようと思わなかったら一日溶けてた。このメモはkubuntuの上で書きました。

Boot but display show nothing

Display driver problem. Enter recovery boot mode.

Display size is 1024x900

Display driver problem. Run sudo ubuntu-drivers devices and sudo apt install nvidia-driver-xxx or just run sudo ubuntu-drivers autoinstall. Reboot after that.

Japanese IME

sudo apt install fcitx-mozc kde-config-fcitx
im-config -n fcitx

then, Logout once.

Login.

Open “System Settings > Regional Settings > Input Method” and select “Mozc”.このように、日本語入力ができるようになります。

Change mouse wheel speed

Refer https://codechacha.com/ja/linux-imwheel/

sudo apt-get install imwheel
imwheel # Start process
vim ~/.imwheelrc

Write below on ~/.imwheelrc. 3 is better than 4, I think.(Larger number, higher speed.)

".*"
None, Up, Button4, 4
None, Down, Button5, 4

then, restart imwheel

imwheel -k

Setup automatically starting imwheel

sudo vim /etc/X11/imwheel/startup.conf # Update IMWHEEL_START=0 to =1

Install chrome using apt

https://postgresweb.com/install-google-chrome-ubuntu-20-04

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt update
sudo apt install google-chrome-stable
google-chrome

Install vscode

Open https://code.visualstudio.com/download , Download .deb, and Install it.

Turn on sync. That is all you have to do.

Install GitHub CLI

Refer https://github.com/cli/cli/blob/trunk/docs/install_linux.md

curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg;
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null;
sudo apt update;
sudo apt install gh;

Setup mail client

  1. Open description page of your institution. Setup.
  2. Subscribe. Right Click on your email box. Click “Subscribe…”

Install virtual box

  1. sudo apt install virtualbox
  2. Create NAT network from “File > preference > Network”
  3. Download ISO file which you want to run on virtual box.
  4. Create virtual machine. Make all settings default.
  5. Open vm’s “Settings > Network > Attached to”. Select “NAT Network”. Select name which you created before step.
  6. Open “Settings > Storage” and Select “Empty” and choose ISO file you want to use.