Skip to content

Latest commit

 

History

History

arch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Arch Linux


Start

Boot into your Live image.

I use Ventoy to store multiple Linux imgs on one drive, with the ability to choose from a menu any distro I want.

At the time of writing, I used ventoy v1.0.52, and Arch Linux v2021.09.01.

In order to boot into Ventoy, you may have to change the boot order of your BIOS. For my laptop I had to spam F2 during boot.

  • Verify the boot order has the drive with Ventoy, set first. I had that drive plugged in during boot.
  • You may also have to disable Safe Boot, it works on some systems, and not on others.

Wireless

If you're hardwired (Ethernet cable plugged in), you can skip this section.

Note: In a VM, wireless networks aren't available unless you have an external device (like USB dongle).

In the terminal, run the below, swapping out <...> strings with your choices.

iwctl device list | sed -e '1,4d' | awk 'NF { print $1 }'
DEVICE_NAME="<DEVICE_NAME>"

iwctl station "${DEVICE_NAME}" scan && iwctl station "${DEVICE_NAME}" get-networks | sed -e '1,4d' | awk 'NF { print $1 }'
SSID="<SSID>"

iwctl station "${DEVICE_NAME}" connect "${SSID}"

Install

You can verify your internet connection via:

ping -c 1 archlinux.org

Once you have an internet connection, run the below.

pacman -Sy git

cd /tmp
git clone https://github.com/the0neWhoKnocks/setup.linux.git
cd setup.linux/distro/arch/bin
./1-set-up-arch.sh

Development

To more quickly test layout and functionality of the GUI you can just load up file://<REPO_PATH>/distro/arch/bin/3-post-install-gui.html in a Browser and set the responsive layout (in DevTools) to 890 x 600 (or whatever the dimensions are in 3-post-install-gui.sh).


Troubleshooting

Font characters showing up as squares

I noticed while browsing some websites that some characters weren't displaying correctly, which is usually due to missing fonts. In order to determine what characters are trying to display, you can:

  • Copy the text/character.
  • Go to https://www.fontspace.com/unicode/analyzer, and paste the copied content.
    • The Name and Script columns display key font info. In my case I used CJK UNIFIED IDEOGRAPH from the Name column, and I new I was missing Hans from the Script column.
  • With the info I got from the previous search, I did a Web search for arch linux font CJK Unified Ideographs. Note that if you search for stuff in all caps you may not get a good result. The search I listed pointed out the exact font I needed, but this search arch linux font CJK UNIFIED IDEOGRAPH didn't give me much.
  • The above search yielded noto-fonts-cjk.
    • You may have to refresh package mirrors pacman -Syyu, you don't have to install the updates it lists out, just let it run and select n when prompted to install.
  • Install with sudo pacman -S --needed noto-fonts-cjk && fc-cache -vf

Font size / window scale

  • KRunner > display > (select Display Configuration) > Set Global Scale to 125% (will require a restart)
  • KRunner > font > (select Fonts) > (uncheck) Force font DPI. I've done this a couple times, but it keeps getting re-checked. The value is 120 which seems to be ok for now.

Disable Chrome auto-updates

Normally I'm fine with the updates, but on Linux Chrome is installed via AUR which would require updating packages and building so I'm not entirely sure if it'd bork my profile. Also, there are issues with the newest AUR that has video performance and window resizing issues.

  • The Desktop Entry is in /usr/share/applications/google-chrome.desktop
  • I just copied that to my Desktop and trimmed out all the stuff in there that I didn't need.
  • The main thing that needs updating in your copy is:
    -Exec=/usr/bin/google-chrome-stable %U
    +Exec=/usr/bin/google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' %U
  • If you're running a dock, re-point your launcher to the new one on your Desktop. It may cache Desktop Entries (in my case Cairo did), so you'll have to restart your dock to see it take effect.
  • You'll have to update your Default Applications as well
    • KRunner > default > (select Default Applications)
      • For Web browser, click the drop-down and choose Other. Instead of selecting a file from the list, you just have to paste /usr/bin/google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' into the input above the file list.