📰 Installing Arch linux on Lenovo Thinkpad T14 Gen3

Posted on October 10, 2022 by Myoungjin Jeon
Tags:

Btrfs with LUKS

swap file issues

finger print reader

Resource

Install package

pacman -S frpintd

Enrolling Fingerprint(s)

shell> fprintd-enroll --help                    4789ms  Mon 19 Sep 2022 10:20:33
Usage:
  fprintd-enroll [OPTION…] [username] Enroll a fingerprint

Help Options:
  -h, --help        Show help options

Application Options:
  -f, --finger      Finger selected to verify (default is automatic)

shell> fprinted-enroll -f right-index-finger $USER
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-retry-scan
Enroll result: enroll-retry-scan
Enroll result: enroll-stage-passed
Enroll result: enroll-retry-scan
Enroll result: enroll-retry-scan
Enroll result: enroll-retry-scan
Enroll result: enroll-stage-passed
Enroll result: enroll-retry-scan
Enroll result: enroll-retry-scan
Enroll result: enroll-stage-passed
Enroll result: enroll-stage-passed
Enroll result: enroll-completed

Veryfy the fingerprint

After typing fprintd-verify

shell> fprintd-verify
Using device /net/reactivated/Fprint/Device/0
Listing enrolled fingers:
 - #0: right-index-finger
Verify started!
Verifying: right-index-finger
Verify result: verify-match (done)

Add to pam.d

  1. TODO make sure sudo file is required to be modified

    • add the line which is shown below to the /etc/pam.d/{system-local-login,polkit-1,sudo} (those are sufficient for me; polkit-1 is for gnome) as a first entry

    auth sufficient pamfprintd.so auth ….

Input Method

Change Control key with Caps lock

Setting via Gnome … (gesttings)

Google Account

Disable PC speaker

Fonts

Emacs

gcc + wayland : great choice

systemd

Pam.d ???

Pantheon-runapp

make some directory and environment value settings

  1. issue on mapage install via cpan

Dependencies

cpan install boolean File::HomeDir OptArgs

Printing and Scanner

Model : HP ENVY PHOTO 7120

hplip

sudo pacman -S hplip

avahi

avahi provides local hostname resolution using a “hostname.local” naming scheme.

CUPS Settings

hosts: mymachines mdnsminimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns

gnome default scanner works great after installing above packages for me.

Raku

I have some raku script on my machine and need to install the packages in the following way.

packages

shell> git clone <url>
  1. makepkg
shell> makepkg -si # will ask sudo password
shell> zef install Readline