Posted on October 10, 2022
by Myoungjin Jeon
Tags:
Btrfs with LUKS
swap file issues
- https://askubuntu.com/questions/1206157/can-i-have-a-swapfile-on-btrfs
- https://unix.stackexchange.com/questions/599949/swapfile-swapon-invalid-argument
- fallocate is working for me.
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
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
- ibus version working great with recent gnome. happy to use so far.
Change Control key with Caps lock
- this is setting for emacs primarily … I’m so get used to with this setting
Setting via Gnome … (gesttings)
Google Account
Disable PC speaker
Fonts
- ko-pub
- nanum??
- gnu-free-fonts
- Fantasque Nerd Font without loop (k vs k)
- helvetica and courier
- https://aur.archlinux.org/packages/adobe-base-14-fonts
- segoe ui
- symbola
- flatpak fire fox doesn’t read local(host?) configuration
- https://github.com/flatpak/flatpak/issues/3947
- flatseal -> failed to apply
- (solved) just remove 75dpi fonts from the system…
Emacs
gcc + wayland : great choice
systemd
- https://emacsredux.com/blog/2020/07/16/running-emacs-with-systemd/
- sytemctl –user enable –now emacs -> might be executed twice in my exprience
Pam.d ???
Pantheon-runapp
make some directory and environment value settings
issue on mapage install via cpan
- https://stackoverflow.com/questions/21240752/perl-cpanm-failing-to-install-modules-due-to-lack-of-usr-local-man-man3-write-pe
- will fix the problem with local installation with man page
- has conflict with value of PERLMM … PERLMB .. values
- -> set PERLINSTALLROOT to $HOME/perl5, PERLM{M,B} to ‘.’
- https://stackoverflow.com/questions/21240752/perl-cpanm-failing-to-install-modules-due-to-lack-of-usr-local-man-man3-write-pe
Dependencies
- boolean
- File::HomeDir
- OptArgs
cpan install boolean File::HomeDir OptArgs
Printing and Scanner
Model : HP ENVY PHOTO 7120
hplip
sudo pacman -S hplip
avahi
- to enable network printing, I had to choose one of popular network naming service.
- documentation: https://wiki.archlinux.org/title/Avahi#Hostname_resolution
avahi provides local hostname resolution using a “hostname.local” naming scheme.
- install nss-mdns
- enbale avahi-daemon.service and start
- edit the file /etc/nsswitch.conf and change the hosts line to include mdnsminimal [NOTFOUND=return] before resolve and dns:
CUPS Settings
- Maintenance -> make it accept the job
- Adnimistration -> modify the printer -> change the device locaiton as some url under the section of
Discovered Network Printers
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
- installing procedure are the same
- download git repository from aur
shell> git clone <url>
- makepkg
shell> makepkg -si # will ask sudo password
- moarvm: https://aur.archlinux.org/moarvm.git
- nqp: https://aur.archlinux.org/nqp.git
- rakudo: https://aur.archlinux.org/rakudo.git
- zef: https://aur.archlinux.org/zef.git
- for installing Readline via zef command line tool. run command after installing
shell> zef install Readline