Skip to content

Ubuntu Configuration

Install from live usb

OS version

1
2
3
4
5
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"

Ubuntu update

1
2
sudo apt update
sudo apt upgrade

Install vim

1
sudo apt install vim -y

Mouse (Bluetooth vs usb dongle)

Though cannot connect as a trackball mouse, finally the mouse worked with USB dongle mode.

Wifi

Ref. Ubuntu 18.04】Ubuntu18.04での無線lan設定方法

1
2
3
4
5
6
$ sudo lshw -class network -short
[sudo] password for tato: 
H/W path       Device           Class          Description
==========================================================
/0/100/1c.3/0                   network        BCM4352 802.11ac Wireless Network Adapter
/2             enx58278cbf477b  network        Ethernet interface

For ubuntu, network configuration is set by “/etc/netplan/50-cloud-init.yaml”

  1. Install network manager

    1
    $ sudo apt-get install -y network-manager
    
    “No Wifi Adapter found” at setting > Wifi screen.

  2. Reinstall bcmwl-kernel-source

    Ref. https://unix.stackexchange.com/questions/416180/ubuntu-no-wifi-adapter-found

    1
    $ sudo apt-get install --reinstall bcmwl-kernel-source
    

Then Wifi AP are shown up!

Wifi

Sound (Audio jack)

Speaker setting

Firstly, I could not see audio in/out (my headphone or speakerphone) at Settings > Sound.

Ref. https://www.maketecheasier.com/fix-no-sound-issue-ubuntu/

To install pavucontrol

1
2
pulseaudio --start
sudo apt-get install pavucontrol
Though I started pulseaudio, I could not solve the problem.

ubuntu_sound1

Check the ALSA mixer

Check if alsamixer starts.

1
alsamixer
Reload ALSA.

1
sudo alsa force-reload

Reinstall ALSA and PulseAudio

1
2
sudo apt remove --purge alsa-base pulseaudio
sudo apt install alsa-base pulseaudio

This did not solve the problem.

Alsa control restore

ref. https://askubuntu.com/questions/768463/laptop-headphone-jack-produces-no-sound … many people have been suffered from same problem.

1
alsactl restore

Then reboot, I can see audio devices in sound setting

ubuntu_sound2)

Japanese Input

Search Mozc(Japanese(Mozc)) at Setting > Input Sources and select “Hiragana” at input mode.

Ref.Qiita ubuntuで日本語入力を行う

Script (Initial Configuration + Software install)

setup.sh on gitlab (need to access to gitlab.fabcloud.org)


Last update: April 12, 2021