This article is a tutorial that doubles as a personal note on basic Kubuntu environment setup. I have selected an environment that requires as few settings as possible.
Mainly input Japanese and set the terminal. It is set according to personal preference, so please read as appropriate.
The hardware environment is the US keyboard specification of ThinkPad X1 Carbon 6th.
Select Kubuntu as the distribution. The desktop environment is KDE and the window manager is X Window. I think it's Windows-like and easy to use.
Download the iso file from here. Burn it to USB with some tool.
If you change the boot order and start with pointing to USB, Kubuntu will start, so click the install icon to proceed with the installation. There is no particular setting except during dual boot, so follow the instructions to install.
Unplug the USB, reboot, and update apt. After that, select each software and install it.
$ sudo apt update
$ sudo apt upgrade
If you are using a monitor with a large resolution relative to its size, the display will be too small to read.
Adjust the Global scale from "Display and Monitor-> Display Settings" in KDE Settings to zoom in on all elements. If you have a laptop with a resolution of 2560x1440, you should set the magnification to 150%.
I want Ctrl
to come next to ʻA for personal preference, so replace it with
left Ctrl` from the settings.
You can switch by enabling "Input device-> Keyboard-> Details-> Ctrl position-> Swap Ctrl and Caps Lock" from the KDE settings.
Select Noto as the Japanese font. (Installed in Kubuntu)
HackGenNard is used for monospaced fonts for programming and consoles.
Download the latest version from Release Page, place the extracted ttf file in ~ / .fonts
, and install it with $ fc-cache -fv
. Will be done.
Select Noto Sans CJK JP
from" Appearance-> Fonts-> Adjust All Fonts "in KDE Settings to adjust the size.
The system font should now be Noto.
Change the monospaced font to one of the HackGenNard
family.
The terminal environment has yakuake running Fish.
yakuake is a drop-down terminal emulator. Press the hotkey to bring up the terminal from the top of the screen.
Unlike other high-performance shells such as zsh, fish is a user-friendly shell that allows you to use syntax highlighting and other functions from the beginning without using any plugins.
You can set Fish to start in .bashrc
etc., but you want to keep the login shell and the shell script format is different, so the default shell etc. are intentionally left unset.
It will be installed with sudo apt install yakuake fish
.
First, set yakuake to start automatically at startup. Start yakuake once and set the trigger key (F12 by default).
Search and register yakuake from "Workspace-> Start and Exit-> Automatic Start-> Add Program" in KDE Settings. Restart and confirm that it is started by pressing the registered key.
Next, click the button next to "Close" at the bottom right of the launched yakuake, and adjust the width and height as you like. From the same place, enter "Profile Management" and set the fish startup settings.
Create a new profile with "New ..." and enter the edit screen with "Edit ..."
Please set / usr / bin / fish
in" General-> Command ".
This will start fish from the beginning.
It is a good idea to change the theme to your liking in "Appearance". You can also make it transparent by editing the theme.
You can also change the font by clicking "Choose ...".
HackGen is specified here as well, but it does not appear by default, so enable Show all fonts
, select HackGen35Nard Console
, and set it to 12pt of Regular.
Finally, press "Make default" on the profile management screen that you have left editing, and the yakuake settings are complete.
This time, the Ctrl + Alt + T
shortcut is left, so if you want to use bash, you can use Konsole.
Use Fcitx-Mozc.
For input switching, set Left Alt
in addition to Ctrl + Space
.
Mozc adjusts the behavior in Japanese environment.
Launch the Fcitx settings and verify that English and Mozc are registered for the current input method.
Register Left Alt
by clicking the" Full half key "of" General settings-> Trigger Input Method ".
Start the Mozc setting and set the punctuation mark to ",." And the space to half-width from "General".
Set full-width and half-width from "Input Assistance". In the character group, set the character string before conversion of alphabets, numbers, "() {} []", and "# \ $ & 2 @ $ ^ _ |` \ "to half-width characters.
In addition to this, if the memory is insufficient, expand the swap area.
Please let us know if you have any recommended settings or environments.
Recommended Posts