[LINUX] 13 Things to Do After Installing Ubuntu 20.04 LTS

Here is a summary of the recommended basic settings after installing Ubuntu 20.04 LTS (the contents are slightly different from those of 19.10).

Change the folder name to English

If you install Linux in Japanese, not just Ubuntu, the folder name in your home will be in Japanese, which is a little inconvenient.

Press ** Ctrl + Alt + T ** to launch the terminal,

LANG=C xdg-user-dirs-gtk-update

When you execute this command, a window will be displayed. After clicking the ** Update Names ** button, log out and log in again, and the window will be displayed again. Check ** Do not show again ** this time. If you click the ** Leave old name ** button, the folder will be in English.

Extend the time it takes for the display to turn off automatically

By default, if you leave Ubuntu for 5 minutes, the display will automatically turn off, but 5 minutes is a bit short.

If you enter ** power ** on the activity screen, the item ** power ** will be displayed. search_power.png Click on it to display the settings window. Change the ** blank screen ** in that settings window to ** 15 minutes ** or ** not **. blank_screen.png

Show the trash in the Dock

Starting with Ubuntu 19.10, you can display the Trash in the Dock.

gsettings set org.gnome.shell.extensions.dash-to-dock show-trash true 

trash01.png Click here for the undo command.

gsettings reset org.gnome.shell.extensions.dash-to-dock show-trash 

Move the application display button in the Dock to the top

Starting with Ubuntu 19.10, you can move the button at the bottom of the Dock to the top.

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true 

app01.png Click here for the undo command.

gsettings reset org.gnome.shell.extensions.dash-to-dock show-apps-at-top 

Allows you to enter Japanese

Immediately after installing Ubuntu, I cannot enter Japanese even if I press the half-width / full-width key. Click ** ja ▼ ** on the top bar, then click ** Japanese (Mozc) A ** to select it, and you will be able to switch Japanese input with the half-width / full-width keys. mozc01.png

Allows you to create an empty file from the right-click menu

If you place a file in the template folder inside your home folder, you can create it from the file manager's right-click menu.

touch ~/Templates/Empty document

Disable the ability to automatically maximize windows

When you start an application, Ubuntu will automatically start in the maximized state if the window size of the application is set to a certain size relative to the screen size, so it is the maximum without permission. If you do not want to be converted, disable it.

gsettings set org.gnome.mutter auto-maximize false

Click here for the undo command.

gsettings reset org.gnome.mutter auto-maximize

Avoid three issues with Japanese display

Ubuntu 20.04 currently has three issues:

First, the lower part of the Japanese character string such as the calendar and plug-in dialog is hidden and not displayed. date_before.png Second, when switching windows with Alt + Tab, the window switcher may expand vertically.

Screencast → [https://launchpadlibrarian.net/415172918/Peek%202019-03-15%2006-52.gif](https://launchpadlibrarian.net/415172918/Peek%202019-03-15%2006-52 .gif)

Third, the width of: on the top bar clock is wide. On Ubuntu 19.10 colon_1910.png In Ubuntu 20.04, it was like that. colon_2004.png The width is thick like this.

These can be displayed normally by installing the NT UI JP fonts.

wget https://sicklylife.jp/ubuntu/2004/fonts-nt-ui-jp_2_all.deb
sudo apt install ./fonts-nt-ui-jp_2_all.deb
rm fonts-nt-ui-jp_2_all.deb

From Corresponding to the bug that the window switcher spreads up and down. date_after.png ↑ It looks like this. Click here for the undo command.

sudo apt remove -y fonts-nt-ui-jp
sudo apt autoremove

Allows you to play videos and music

If you check "Graphics and Wi-Fi hardware and ~" when installing Ubuntu, the codec is already installed, but you can additionally install codecs for video and music playback.

sudo apt install ubuntu-restricted-extras

During installation, the screen of the terminal will switch to ** ttf-mscorefonts-installer is set ** **, so ttf-mscore01.gif Press Tab to select ** OK **, press Enter to re-select the options, press Tab again to select ** Yes **, and press Enter to continue the installation. ttf-mscore02.gif

Allows you to install GNOME Shell extensions

Ubuntu, like Google Chrome and Firefox, can install volunteer-created extensions. However, it needs to be set in advance.

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs 

After running this command to install chrome-gnome-shell and the new gnome-shell-extension-prefs (Japanese name is ** extension **) from Ubuntu 20.04, then the extension for Firefox Install the GNOME Shell integration (https://addons.mozilla.org/en/firefox/addon/gnome-shell-integration/). You can install the GNOME Shell extension by visiting https://extensions.gnome.org/ in this state.

There is also GNOME Shell integration for Google Chrome, which is a user for Google Chrome as of April 23, 2020. The number is 300,000+ and the one for Firefox is 155,898.

Note that gnome-shell-extension-prefs (** extension **) is an extension management app that can be launched from the activity screen. extension.png

Add Ubuntu Japanese Team repository

Ubuntu has a problem that Japanese characters are garbled when unzipping (extracting) a zip file created on Windows 10, but install the package ** ubuntu-defaults-ja ** made by Ubuntu Japanese Team. If you do, the characters will not be garbled.

wget -q https://www.ubuntulinux.jp/ubuntu-ja-archive-keyring.gpg -O- | sudo apt-key add - 
wget -q https://www.ubuntulinux.jp/ubuntu-jp-ppa-keyring.gpg -O- | sudo apt-key add - 
sudo wget https://www.ubuntulinux.jp/sources.list.d/focal.list -O /etc/apt/sources.list.d/ubuntu-ja.list 
sudo apt update 
sudo apt dist-upgrade 
sudo apt install ubuntu-defaults-ja 

After installing ubuntu-defaults-ja, restart Ubuntu for the settings to take effect.

Expand the dictionary of Mozc (Japanese input software)

Ubuntu's Japanese input software does not seem to have a large number of registered words, but with the introduction of Mozc UT2, the number of words can be greatly increased.

For Ubuntu: https://sicklylife.jp/ubuntu/2004/mozc_ut2.html UT2 dictionary distributor: http://linuxplayers.g1.xrea.com/mozc-ut2.html

Originally it seems to be for Arch Linux.

Add PPA and upgrade the included app

The apps that come with Ubuntu are not the latest versions, and with the exception of Firefox, there are basically no updates that will increase the major version, so if you want to use the latest version of the app, use PPA. Need to be added.

PPA is a service for uploading apps to a site called https://launchpad.net/ operated by Canonical for users to use. is.

Add LibreOffice PPA

If you want to keep up to date with the latest LibreOffice, add the following PPA: This PPA is not official LibreOffice, but is maintained by the developers of GNOME.

sudo add-apt-repository -n ppa:libreoffice/ppa
sudo apt update
sudo apt dist-upgrade

Add LibreOffice 6.4 Series PPA

It seems that version 7.0 of LibreOffice will be released around August 2020, but since there are many unfixed bugs and it may not be stable at the beginning, if you want to continue using version 6 series , Add a 6.4-only PPA instead of the PPA above.

sudo add-apt-repository -n ppa:libreoffice/libreoffice-6-4
sudo apt update
sudo apt dist-upgrade

Add Remmina PPA

Remmina is a remote desktop client. Remmina's PPA is the official PPA provided by the Remmina project.

sudo add-apt-repository -n ppa:remmina-ppa-team/remmina-next
sudo apt update
sudo apt dist-upgrade

Add Shotwell PPA

Shotwell is a photo management app. Shotwell's PPA is an unofficial PPA by sicklylife.

sudo add-apt-repository -n ppa:sicklylife/shotwell
sudo apt update
sudo apt dist-upgrade

Add a Transmission PPA

Transmission is a simple BitTorrent client. The Transmission PPA is the official PPA provided by the Transmission project.

sudo add-apt-repository -n ppa:transmissionbt/ppa
sudo apt update
sudo apt dist-upgrade

Remove PPA

If you're having trouble adding a PPA, you can use the command ppa-purge to remove the PPA and revert your app to its original version. The usage is as follows.

sudo apt install ppa-purge
sudo ppa-purge ppa:libreoffice/ppa

After setting

Type ** update ** on the activity screen to launch ** Software Update ** and check for any installed software updates!

Reference link

-Settings to be performed immediately after installing Ubuntu 20.04 LTS & software to be installed -Summary of what you want to do immediately after installing Ubuntu 19.04 -Ubuntu 18.04 LTS Setup -Summary of what to do after installing Ubuntu 18.04 -Ubuntu 18.04 Setup -Ubuntu 16.04 LTS Setup

Recommended Posts

13 Things to Do After Installing Ubuntu 20.04 LTS
10 Things to Do After Installing Ubuntu 18.04 LTS
What to do after installing Linux (Ubuntu)
Installing Singularity (Ubuntu 18.04 LTS)
[For beginners] What to do after installing Anaconda
The first thing to do after installing CentOS Stream minimally
What to do when Ubuntu crashes
Introducing Slurm Workload Manager to Ubuntu 18.04 LTS
How to use OpenVPN with Ubuntu 18.04.3 LTS
What to do if you get an error when installing Dlib (Ubuntu)
How to run MeCab on Ubuntu 18.04 LTS Python
What to do if scrapy doesn't work after installing scrapy with pip on mac
Things to do when you start developing with Django
Upgrade from Ubuntu 20.04 LTS (Focal Fossa) to Ubuntu 20.10 (Groovy Gorilla)
Install Docker (Ubuntu 18.04 LTS)
Installing pyenv on ubuntu 16.04
MongoDB installation (Ubuntu 18 LTS)
How to share OS and Vim clipboard on Ubuntu 18.04.3 LTS