[LINUX] Record when Elementary OS (Hera) is installed in Dell XPS 13 (7390)

--Procedure to dual boot with Elemantary OS on a Dell XPS Windows machine ――Building a general environment

A record for when you move for a while and set up again

environment

Hardware information

terminal


sudo dmidecode --type system | egrep 'Manufacturer|Product'
>	Manufacturer: Dell Inc.
>	Product Name: XPS 13 7390

Installed Elementary OS

terminal


lsb_release -a
> Distributor ID: elementary
> Description:    elementary OS 5.1 Hera
> Release:        5.1
> Codename:       hera

Ubuntu is the base (see wiki for correspondence table)

terminal


lsb_release -ua
> Distributor ID: Ubuntu
> Description:    Ubuntu 18.04.3 LTS
> Release:        18.04
> Codename:       bionic

Up to dual boot

Get volume from Windows 10

Allow space for ElementaryOS for dual boot Dual boot Windows 10 and Ubuntu on Dell XPS 13

Create installation media

  1. Download the .iso file from https://elementary.io/
  2. Download the app that builds the installation media according to your environment from https://www.balena.io/etcher/
  3. Create installation media using a suitable USB of 16GB or more

After that, set the USB in the PC and install the OS

After dual boot

First of all

terminal


sudo apt update
sudo apt dist-upgrade

As was the case with the test fly, there was a problem that it could not connect to the net without recognizing wifi.

Even if you fix it, you need to connect to the internet, so this time connect to the smartphone via USB and connect to the internet I also tried Bluetooth connection, but I misunderstood that it was a humble PC, "I am a speaker", and the popping sound of the smartphone echoed from the PC in vain (to be corrected at a later date)

If you don't have a connector in the same situation, I think it's a good idea to create an iso image modified in your environment and prepare an installation metia.

Make Wifi available

Corrected by referring to this post Unable to get wifi adapter working - clean 19.04 install - network unclaimed

Japanese input and hotkeys

terminal


sudo apt install fcitx-mozc
im-config #Changed to use fcitx because the GUI menu is up.
fcitx-configtool #Mozc and Keyboard-Add japanese, then select the hotkey so that you can input alphabetic characters with the right Alt and Japanese input with the left Alt.

Change Caps Lock to Ctrl

System Settings > Keyboard > English(US) layout Changed Caps Lock behavior to Ctrl By the way, change the Windows key to call the application menu

Chrome [Official](https://www.google.com/chrome/?brand=CHBD&gclid=Cj0KCQiAmsrxBRDaARIsANyiD1qTwpeCtMbYHUDqBOgPWUBvdQzaMp8omp8xsmM7OF2aV3RD6JirGn0aArnHEALw I did the following because it did not start well

terminal


sudo apt install gdebi
cd ~/Downloads
gdebi google-chrome-stable_current_amd64.deb

Environment

--First, [see here](https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/#installing-add-apt-repository-add-apt-repository-command- Allow the ʻadd-apt-repository` command to be used for not-found-) --Expand dotfiles if you like

fish-shell I use fish shell so I can use fish (If you don't use fish normally, please try here)

-Install fish in Refer to here --It seems that it is better not to use fish as the login shell, so go to See here and use fish as the login shell as bash.

Relaunch the terminal and check that the fish starts up and make sure that the login shell has not changed.

terminal


echo $SHELL
> /bin/bash

docker Refer to the official Install ** * Note that $ (lsb_release -cs) ** is the version of ubuntu

sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"

Change to $ (lsb_release-** u ** cs) and change to base ubuntu version It looks like this with fish


sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu" \
   (lsb_release -ucs) \
   "stable"

Also install docker-compose at see official

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-(uname -s)-(uname -m)" -o /usr/local/bin/docker-compose

It looks like this with fish

terminal


sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-"\
   (uname -s)-(uname -m) -o /usr/local/bin/docker-compose

Set to Refer here so that the docker command can be used without sudo. To do

fusuma I used to use a Macbook, so I introduced it to resemble the operation feeling of the touchpad. You can specify 3-finger or 4-finger gestures in yml format. I referred to this article

Fn + F key

With Fn + Esc, you can toggle the behavior when you press the F key alone and when you press the Fn key. I'm using byobu on the terminal, so it's annoying to press the "Fn" key every time I use the F key, so I'm toggled

Impressions

--I used a Macbook Air (2018), but I prefer this keyboard ――I was worried about the touchpad, but it feels good. ――I'm glad I was able to go smoothly except around Wifi ――Since Elementary OS and fusuma have become Macbook-like, I wonder if there is so much anxiety about migrating to the Linux desktop environment.

Regarding the installation of the application, snap seemed to be good because the document and usage were easy to understand, but it seems that some desktop applications may start up slowly, so VS Code etc. Will try a little and then think about how to manage it

What I left behind

--Separate the / home partition --Connect with iPhone via bluetooth so that you can connect to the Internet --Investigation of problems that seem to consume a little faster battery --Solving the problem that PC startup / shutdown may be slow

Recommended Posts

Record when Elementary OS (Hera) is installed in Dell XPS 13 (7390)
When the target is Ubuntu 16.04 in Ansible