summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.bashrc23
-rw-r--r--home/xyz/.bitmonero/bitmonero.conf15
-rw-r--r--home/xyz/.config/fcitx5/conf/pinyin.conf26
-rw-r--r--home/xyz/.config/fcitx5/config10
-rw-r--r--home/xyz/.config/mimeapps.list9
l---------home/xyz/.config/mpv/scripts/sponsorblock-minimal.lua1
-rw-r--r--home/xyz/.config/myconf/pacman_Qqme16
-rw-r--r--home/xyz/.config/myconf/pacman_Qqne23
-rw-r--r--home/xyz/.config/myconf/sye5
-rw-r--r--home/xyz/.config/myconf/syue8
-rw-r--r--home/xyz/.config/myconf/upd_rsync_files1
-rw-r--r--home/xyz/.config/neomutt/neomuttrc7
-rw-r--r--home/xyz/.config/newsboat/config13
-rw-r--r--home/xyz/.config/newsboat/urls14
-rw-r--r--home/xyz/.config/nvim/init.vim8
-rw-r--r--home/xyz/.config/qrcp/config.json4
-rw-r--r--home/xyz/.config/redshift/redshift.conf4
-rw-r--r--home/xyz/.config/sdcv_ordering2
l---------home/xyz/.local/bin/zoom1
-rw-r--r--home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css39
-rw-r--r--home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js28
-rw-r--r--home/xyz/.ssh/config20
22 files changed, 188 insertions, 89 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index c811b853..ad78be64 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -55,7 +55,7 @@ unset cmd
# https://unix.stackexchange.com/questions/484442/how-can-i-get-the-pid-of-a-subshell
for branch in $(git -C "$HOME/programs/config_local_arch" branch | awk '{print ($1=="*")?$2:$1}' | grep -v master); do
case "$branch" in
- master|studio|pp) ;;
+ master|pp) ;;
*) alias "s$branch"="ssh $branch";;
esac
done
@@ -71,7 +71,12 @@ alias c=cfg
alias cri='curl -Is'
alias crig='curl -Is www.google.com'
alias d='sdcv --color'
-alias e='"$PAGER"'
+# Using '"$PAGER"' will cause complete-alias unable to complete "e <tab>" and
+# "e --<tab>". I don't know why alias v='"$EDITOR"' does not have this issue, I
+# guess maybe it is related to less has some fzf completion? see `complete -p
+# less` output is "complete -F _fzf_path_completion less". Temporary ignore
+# shellcheck warnings about this if not met any issues.
+alias e="$PAGER"
# https://superuser.com/a/1202867
alias fdu="find . -maxdepth 1 -execdir du -sh '{}' \+ | sort -h"
alias g=git
@@ -88,7 +93,10 @@ alias ll='ls --color=auto -lAh --group-directories-first'
alias lop='loop ping'
alias lopd='loop ping 9.9.9.9'
alias m=man
+alias mpf='mpra -c "$HOME/programs/repos/fly/any/fsh-git"; sudo pacman -Sy fsh-git --noconfirm'
alias p=pacman
+# Pacman Qqne Redirect
+alias pqr='pacman -Qqne > "$XDG_CONFIG_HOME/myconf/pacman_Qqne"; pacman -Qqme > "$XDG_CONFIG_HOME/myconf/pacman_Qqme"'
alias pt=pactree
alias pu=paru
alias qre='qrencode -t utf8i -m 1'
@@ -99,12 +107,8 @@ alias sa='ssh-add -l || ssh-add'
alias se='sudo -E '
alias sp='ssh pp'
alias spd='speedtest; librespeed-cli'
-alias sst='ssh studio'
-# \" to consider $HOME contain space, need \ else " will be expanded locally, need \$ else $HOME will expand locally
-# can test with: alias mytest='ssh studio for i in \"\$SSH_CONNECTION\"\; do echo \$i\; echo a\; done'
-alias sstm='ssh -t -- studio mpra -c \"\$HOME/programs/repos/fly/any/fsh-git\"'
# can test this mess with `alias tt='echo "\$haha \"lala\""'`
-alias sun='printf "set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\nrem [sunrise()] msg sunrise\nrem [sunset()] msg sunset" | remind -n -'
+alias sun='printf "set \$Longitude \"120.95\"\nset \$Latitude \"31.38\"\nrem [sunrise()] msg sunrise\nrem [sunset()] msg sunset" | remind -n -'
# another way:
# can test this mess with `alias tt="echo '\$haha \"lala\"'"`
#alias sun="printf 'set \$Longitude \"-121.89\"\nset \$Latitude \"37.34\"\nrem [sunrise()] msg sunrise\nrem [sunset()] msg sunset' | remind -n -"
@@ -113,6 +117,9 @@ alias y=systemctl
alias yd='systemctl list-dependencies --all'
alias ydr='systemctl list-dependencies --all --reverse'
alias ye='systemctl list-unit-files --state=enabled'
+# sYstemctl Enabled Redirect
+alias yer='systemctl list-unit-files --state=enabled > "$XDG_CONFIG_HOME/myconf/sye"; systemctl --user list-unit-files --state=enabled > "$XDG_CONFIG_HOME/myconf/syue"'
+alias yr='systemctl restart'
alias ys='systemctl status'
alias yu='systemctl --user'
alias yue='systemctl --user list-unit-files --state=enabled'
@@ -131,6 +138,7 @@ alias vrm='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/recurring_maintenance.md"'
alias vt='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/tmp_mobile_notes.md"'
alias xmr='monero-wallet-cli --config-file="$HOME/.bitmonero/monero-wallet-cli.conf"'
alias xmrds='monerod status; monerod print_net_stats'
+alias xr='xset r rate 250 30'
alias za='zoxide add'
#alias zq='zoxide query'
#alias zqi='zoxide query -i'
@@ -145,6 +153,7 @@ alias glmark2='glmark2 --fullscreen --annotate'
alias grep='grep --color=auto'
#alias info='info --vi-keys'
alias ls='ls --color=auto'
+alias nethogs='nethogs -C'
alias radeontop='radeontop -c'
alias rem='rem -@'
alias remind='remind -@'
diff --git a/home/xyz/.bitmonero/bitmonero.conf b/home/xyz/.bitmonero/bitmonero.conf
index a1157cd8..08b96a8b 100644
--- a/home/xyz/.bitmonero/bitmonero.conf
+++ b/home/xyz/.bitmonero/bitmonero.conf
@@ -1,8 +1,11 @@
-# use home internet limits
-# 20 Mbps \approx 2441 KiB/s
-limit-rate-up=2441
-# 300 Mbps \approx 122000 KiB/s
-limit-rate-down=36621
# https://monerodocs.org/interacting/monero-config-file/#syntax
# need =1 for options without value
-#p2p-use-ipv6=1
+p2p-use-ipv6=1
+# Bind to wireguard ips, I want monerod only using network through wireguard,
+# otherwise China ISP will think I mine crypto and will be unhappy. But
+# p2p-bin-ip and p2pbind-ipv6-address seems do not work, see vq buts note. But
+# I still have those configs here because what if they somehow fixed it in the
+# future.
+# Can be tested with sth. like `sudo tcpdump -i wlp2s0 port 18080`
+p2p-bind-ip=10.0.0.1
+p2p-bind-ipv6-address=fdc9:281f:04d7:9ee9::1
diff --git a/home/xyz/.config/fcitx5/conf/pinyin.conf b/home/xyz/.config/fcitx5/conf/pinyin.conf
index 9d561f07..b6b7d6ec 100644
--- a/home/xyz/.config/fcitx5/conf/pinyin.conf
+++ b/home/xyz/.config/fcitx5/conf/pinyin.conf
@@ -2,19 +2,21 @@
ShuangpinProfile=Ziranma
# Show current shuangpin mode
ShowShuangpinMode=True
-# Page size
+# Candidates Per Page
PageSize=5
-# Enable Spell
+# Show English Candidates
SpellEnabled=True
-# Enable Symbols
+# Show symbol candidates
SymbolsEnabled=True
-# Enable Chaizi
+# Show Chaizi candidates
ChaiziEnabled=True
-# Enable Characters in Unicode CJK Extension B
+# Enable more Characters after Unicode CJK Extension B
ExtBEnabled=True
+# Show stroke candidates when typing with h(一), s(丨), p(丿), n(㇏), z(𠃍)
+StrokeCandidateEnabled=True
# Enable Cloud Pinyin
CloudPinyinEnabled=False
-# Cloud Pinyin Index
+# Cloud Pinyin Candidate Order
CloudPinyinIndex=2
# Show animation when Cloud Pinyin is loading
CloudPinyinAnimation=True
@@ -28,13 +30,15 @@ PreeditCursorPositionAtBeginning=True
PinyinInPreedit=True
# Enable Prediction
Prediction=False
-# Prediction Size
+# Number of Predictions
PredictionSize=10
+# Backspace behavior on prediction
+BackspaceBehaviorOnPrediction="Backspace when not using on-screen keyboard"
# Action when switching input method
SwitchInputMethodBehavior="Commit current preedit"
-# Select 2nd Candidate
+# Select Second Candidate
SecondCandidate=
-# Select 3rd Candidate
+# Select Third Candidate
ThirdCandidate=
# Use Keypad as Selection key
UseKeypadAsSelection=False
@@ -42,6 +46,8 @@ UseKeypadAsSelection=False
BackSpaceToUnselect=True
# Number of Sentences
Number of sentence=2
+# Number of Phrase Candidates
+WordCandidateLimit=15
# Prompt long word length when input length over (0 for disable)
LongWordLengthLimit=4
# Key to trigger quickphrase
@@ -127,6 +133,8 @@ C_CH=False
F_H=False
# l <-> n
L_N=False
+# l <-> r
+L_R=False
# s <-> sh
S_SH=False
# z <-> zh
diff --git a/home/xyz/.config/fcitx5/config b/home/xyz/.config/fcitx5/config
index 147e612e..64a62d09 100644
--- a/home/xyz/.config/fcitx5/config
+++ b/home/xyz/.config/fcitx5/config
@@ -15,6 +15,8 @@ EnumerateGroupBackwardKeys=
ActivateKeys=
# Deactivate Input Method
DeactivateKeys=
+# Time limit in milliseconds for triggering modifier key shortcuts
+ModifierOnlyKeyTimeout=250
[Hotkey/TriggerKeys]
0=Control+space
@@ -40,6 +42,8 @@ DeactivateKeys=
[Behavior]
# Active By Default
ActiveByDefault=False
+# Reset state on Focus In
+resetStateWhenFocusIn=No
# Share Input State
ShareInputState=No
# Show preedit in application
@@ -62,6 +66,12 @@ CustomXkbOption=
EnabledAddons=
# Preload input method to be used by default
PreloadInputMethod=True
+# Allow input method in the password field
+AllowInputMethodForPassword=False
+# Show preedit text when typing password
+ShowPreeditForPassword=False
+# Interval of saving user data in minutes
+AutoSavePeriod=30
[Behavior/DisabledAddons]
0=clipboard
diff --git a/home/xyz/.config/mimeapps.list b/home/xyz/.config/mimeapps.list
index c2badfd6..baa25ed9 100644
--- a/home/xyz/.config/mimeapps.list
+++ b/home/xyz/.config/mimeapps.list
@@ -7,15 +7,6 @@ image/jxl=nsxiv.desktop
image/png=nsxiv.desktop
inode/directory=file.desktop
text/plain=editor.desktop
-x-scheme-handler/callto=ZoomFirejail.desktop
-x-scheme-handler/tel=ZoomFirejail.desktop
-x-scheme-handler/tg=org.telegram.desktop.desktop
-x-scheme-handler/zoommtg=ZoomFirejail.desktop
-x-scheme-handler/zoomphonecall=ZoomFirejail.desktop
-x-scheme-handler/zoomus=ZoomFirejail.desktop
-x-scheme-handler/tonsite=org.telegram.desktop.desktop
-x-scheme-handler/zoomphonesms=ZoomFirejail.desktop
-x-scheme-handler/zoomcontactcentercall=ZoomFirejail.desktop
[Added Associations]
x-scheme-handler/tg=org.telegram.desktop.desktop;
diff --git a/home/xyz/.config/mpv/scripts/sponsorblock-minimal.lua b/home/xyz/.config/mpv/scripts/sponsorblock-minimal.lua
deleted file mode 120000
index cb3390f8..00000000
--- a/home/xyz/.config/mpv/scripts/sponsorblock-minimal.lua
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/mpv/sponsorblock-minimal.lua \ No newline at end of file
diff --git a/home/xyz/.config/myconf/pacman_Qqme b/home/xyz/.config/myconf/pacman_Qqme
index 0c0338ad..cbcc21b5 100644
--- a/home/xyz/.config/myconf/pacman_Qqme
+++ b/home/xyz/.config/myconf/pacman_Qqme
@@ -5,8 +5,8 @@ arc-gtk-theme
argos-translate
arkenfox-user.js
asap
-atool2-git
bash-complete-alias
+beyondallreason-appimage
bitlbee
calculix-ccx
calculix-doc
@@ -15,32 +15,38 @@ cht.sh-git
czkawka-cli-bin
czkawka-gui-bin
dashbinsh
+distccd-alarm-armv8
dnsleaktest
-drawio-desktop-bin
envycontrol
f3
fcitx5-pinyin-chinese-idiom
fcitx5-pinyin-custom-pinyin-dictionary
fcitx5-pinyin-moegirl
-fcitx5-pinyin-sougou
+fcitx5-pinyin-sougou-dict-git
freepats-legacy
git-tools-git
gmsh-bin
grub-hook
+gtk2fontsel
hardcode-fixer-git
hatt-bin
htop-vim
librespeed-cli-bin
+mimic-bpf-git
miniconda3
mpv-sponsorblock-minimal-git
neovim-plug
networkmanager-dispatcher-chrony
+opencv-docs
optimfrog-bin
osmin
paru-bin
pass-rotate-git
pipdeptree
plplot
+python-spacy-bin
+python-thinc-bin-8.3.2
+python-wasabi-git
qmmp-plugin-pack
qt5-styleplugins
qt6gtk2
@@ -59,7 +65,7 @@ task-spooler
tio
tldr-sh
ttf-adobe-kaiti
-ttf-gelasio-ib
+ttf-gelasio
typioca
units
urlview
@@ -67,5 +73,3 @@ ventoy-bin
weechat-matrix
xrectsel
yt-dlp-drop-in
-zoom
-zoom-firejail
diff --git a/home/xyz/.config/myconf/pacman_Qqne b/home/xyz/.config/myconf/pacman_Qqne
index ea477cd4..8f59f208 100644
--- a/home/xyz/.config/myconf/pacman_Qqne
+++ b/home/xyz/.config/myconf/pacman_Qqne
@@ -1,4 +1,3 @@
-7zip
alacritty
alsa-utils
aria2
@@ -9,6 +8,8 @@ base
base-devel
bash-completion
bcprov
+bluez-utils
+bpf
browserpass
browserpass-firefox
busybox
@@ -18,19 +19,18 @@ chrony
clang
clinfo
cloc
-cmark
-cpio
cuda
dash
devtools
dfu-util
+distcc
dmenu
dos2unix
dunst
duplicity
dwm_fly-git
-element-desktop
enca
+ethtool
evtest
exfatprogs
exiv2
@@ -46,7 +46,6 @@ fcitx5-qt
ffmpeg
fio
firefox
-firejail
freecad
fsh-git
fwupd
@@ -56,14 +55,15 @@ geoip
geoip-database-extra
gimp
git
+git-filter-repo
git-lfs
+gitolite
glib2-devel
glib2-docs
glmark2
go
grub
gsl
-gtk2fontsel
gtk4
gtk4-demos
gtk4-docs
@@ -84,6 +84,8 @@ isync
java-commons-lang
jdk-openjdk
jq
+kicad
+kicad-library
krita
ladspa
lf
@@ -104,7 +106,9 @@ libva-utils
libvdpau-va-gl
linux
linux-docs
-linux-firmware
+linux-firmware-intel
+linux-firmware-realtek
+linux-headers
llvm
lostfiles
lshw
@@ -136,6 +140,7 @@ npm
nss-mdns
nsxiv
ntfs-3g
+nvchecker
nvidia
nvidia-prime
nvidia-settings
@@ -189,7 +194,6 @@ speedtest-cli
splix
sqlitebrowser
strace
-stress
sysbench
systemd-resolvconf
tcpdump
@@ -212,7 +216,6 @@ ttf-caladea
ttf-carlito
ttf-liberation
udiskie
-unrar-free
unzip
usbutils
valgrind
@@ -239,6 +242,7 @@ xorg-xdpyinfo
xorg-xev
xorg-xinit
xorg-xrandr
+xorg-xset
xorg-xsetroot
xorg-xwininfo
xsel
@@ -248,5 +252,4 @@ zathura
zathura-pdf-mupdf
zathura-ps
zbar
-zip
zoxide
diff --git a/home/xyz/.config/myconf/sye b/home/xyz/.config/myconf/sye
index 5bdd3fe2..853cdcbe 100644
--- a/home/xyz/.config/myconf/sye
+++ b/home/xyz/.config/myconf/sye
@@ -1,6 +1,8 @@
UNIT FILE STATE PRESET
atd.service enabled disabled
+bluetooth.service enabled disabled
chronyd.service enabled disabled
+distccd-armv8.service enabled disabled
getty@.service enabled enabled
NetworkManager-dispatcher.service enabled disabled
NetworkManager-wait-online.service enabled disabled
@@ -9,6 +11,7 @@ nftables.service enabled disabled
nvidia-hibernate.service enabled disabled
nvidia-resume.service enabled disabled
nvidia-suspend.service enabled disabled
+sshd.service enabled disabled
swgp-go.service enabled disabled
systemd-resolved.service enabled enabled
bitlbee.socket enabled disabled
@@ -19,4 +22,4 @@ paccache.timer enabled disabled
pacman-filesdb-refresh.timer enabled disabled
units_currency.timer enabled disabled
-19 unit files listed.
+22 unit files listed.
diff --git a/home/xyz/.config/myconf/syue b/home/xyz/.config/myconf/syue
index 41742797..3bc02a65 100644
--- a/home/xyz/.config/myconf/syue
+++ b/home/xyz/.config/myconf/syue
@@ -1,6 +1,6 @@
-UNIT FILE STATE PRESET
-ssh-agent.service enabled enabled
-xdg-user-dirs-update.service enabled enabled
-p11-kit-server.socket enabled enabled
+UNIT FILE STATE PRESET
+ssh-agent.service enabled enabled
+xdg-user-dirs.service enabled enabled
+p11-kit-server.socket enabled enabled
3 unit files listed.
diff --git a/home/xyz/.config/myconf/upd_rsync_files b/home/xyz/.config/myconf/upd_rsync_files
index ebd32477..60e6626a 100644
--- a/home/xyz/.config/myconf/upd_rsync_files
+++ b/home/xyz/.config/myconf/upd_rsync_files
@@ -7,6 +7,7 @@
/home/xyz/.local/share/qBittorrent/BT_backup
/home/xyz/.local/share/sdcv_history
/home/xyz/.password-store
+/home/xyz/.ssh/id_rsa
/home/xyz/archive
/home/xyz/documents
/home/xyz/music
diff --git a/home/xyz/.config/neomutt/neomuttrc b/home/xyz/.config/neomutt/neomuttrc
index 8d81f2bb..afd5aa75 100644
--- a/home/xyz/.config/neomutt/neomuttrc
+++ b/home/xyz/.config/neomutt/neomuttrc
@@ -172,8 +172,11 @@ macro index,pager Mj ";<save-message>=Junk<enter>" "move mail to junk"
macro index,pager Ms ";<save-message>=Sent<enter>" "move mail to sent"
macro index,pager Mt ";<save-message>=Trash<enter>" "move mail to trash"
# here must specify full path of the file to source, else it will souce in the dir where neomutt is execute at
-macro index,pager ia '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>!<enter>'
-macro index,pager ib '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail2"<enter><change-folder>!<enter>'
+# use vim-like uppercase marks
+# Ca mail server
+macro index,pager \'C '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail"<enter><change-folder>!<enter>'
+# Ib mail server
+macro index,pager \'I '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/neomutt/mail2"<enter><change-folder>!<enter>'
# maybe useful for multiple accounts
#macro index c "<change-folder>?<change-dir><home>^K=<enter>"
diff --git a/home/xyz/.config/newsboat/config b/home/xyz/.config/newsboat/config
index 1e8ddf64..3bfadf8e 100644
--- a/home/xyz/.config/newsboat/config
+++ b/home/xyz/.config/newsboat/config
@@ -19,7 +19,10 @@ macro y set browser "echo %u | xsel -ib"; open-in-browser; set browser "$BROWSER
# maybe aur rss feed is broken; maybe arch linux feeds are updated very fast so I can't get the wanted news?
# not fully understand the rss feed
#ignore-article "https://aur.archlinux.org/rss/" "title !~\"youtube-dlp|yt-dlp\""
-ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" "title =~ \"^[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日(中文|香港)報紙頭條$\""
+# use \ to "Splitting long lines into multiple ones" (`man newsboat`)
+ignore-article "https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published" \
+"title =~ \"^([0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日((中文|香港)報紙頭條|香港天氣報告))|\
+((竹新|柏立)社[0-9]{4,}年[0-9]{1,2}月[0-9]{1,2}日新闻)$\""
ignore-article "https://github.blog/feed/" "title !~ \"game\""
@@ -42,4 +45,12 @@ color hint-separator black blue bold
color hint-description black blue
#color article white black
+# Need following two lines to write defunct RSS feeds log. There was a time
+# when exit newsboat, it ask me to press enter, maybe due to I removed a url
+# and there's remain cache, with following lines I won't be asked to press
+# enter.
+cleanup-on-quit yes
+# I couldn't find a way to use $XDG_STATE_HOME env. var.
+error-log ~/.local/state/newsboat/error.log
+
# vim: ft=sh
diff --git a/home/xyz/.config/newsboat/urls b/home/xyz/.config/newsboat/urls
index f2f0eaca..47b69395 100644
--- a/home/xyz/.config/newsboat/urls
+++ b/home/xyz/.config/newsboat/urls
@@ -40,6 +40,8 @@ https://www.iso.org/contents/data/standard/08/20/82075.detail.rss
#https://www.beyondallreason.info/news/rss.xml
#https://www.beyondallreason.info/microblogs/rss.xml
#https://git.kyun.host/naphtha.atom
+https://social.treehouse.systems/@danctnix.rss
+https://www.bandwagonhost.net/feed
---arch_Linux---
https://archlinux.org/feeds/news/
@@ -47,6 +49,7 @@ https://archlinux.org/feeds/news/
https://rfc.archlinux.page/index.xml
---news---
+https://www.laborfact.com/rss
# free license
#https://en.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&categories=Published
https://zh.wikinews.org/w/index.php?title=Special:NewsFeed&feed=atom&Category:published
@@ -67,6 +70,8 @@ https://news.itsfoss.com/latest/rss/
# I think stallman.org political notes are free licensed because this quote at butttom of the page https://stallman.org/archives/polnotes.html :
# > Verbatim copying and distribution of this entire page are permitted in any medium, provided this notice is preserved.
#https://stallman.org/rss/rss.xml
+# Sometimes it may have very useful info like https://linmob.net/gtk-418-the-pinephone-and-megapixels/
+https://linmob.net/feed.xml
---track_issues---
https://sourceforge.net/p/qmmp-dev/tickets/714/feed.atom
@@ -91,13 +96,11 @@ https://git.sr.ht/~mil/mepo/refs/rss.xml
# low priority, no need daily track, read/watch as recreation if have time and interested in it
#===low_priority_no_need_track_daily===
----computer_misc---
+#---computer_misc---
# computer misc, free license
#https://blog.opensource.org/feed/
#https://brandon.invergo.net/atom.xml
#https://daltondur.st/index.xml
-# Sometimes it may have very useful info like https://linmob.net/gtk-418-the-pinephone-and-megapixels/
-https://linmob.net/feed.xml
#https://momi.ca/feed.xml
#https://thelinuxcast.org/feed/feed.xml
#https://sfconservancy.org/feeds/omnibus
@@ -108,12 +111,13 @@ https://linmob.net/feed.xml
#https://www.paritybit.ca/feed.xml
#https://a3nm.net/blog/feed.xml
#https://myrtana.sk/allfeed.atom
+#https://clehaxze.tw/atom.xml
-#---videos---
+---videos---
# free license, free software related or author like free software
#https://peertube.kx.studio/feeds/videos.xml?videoChannelId=3
#https://odysee.com/$/rss/@thelinuxcast:4
-#https://videos.lukesmith.xyz/feeds/videos.atom?sort=-publishedAt&isLocal=true
+https://videos.lukesmith.xyz/feeds/videos.atom?sort=-publishedAt&isLocal=true
#https://odysee.com/$/rss/@bugswriter:8
#https://odysee.com/$/rss/@bW:9
#https://odysee.com/$/rss/@DenshiVideo:f
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index b5c7be08..cd1a4004 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -76,8 +76,12 @@ endfunction
" https://www.youtube.com/watch?v=dBBUOO1PRIU
augroup mycmd
autocmd!
- " disable auto line break (tc) and insert comment (cro)
- autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=t
+ " Disable auto line break (tc) and insert comment (cro). Also add m and M
+ " to wrap Chinese sentences when using gq, more see :h fo-table. I learned
+ " it from: https://www.reddit.com/r/vim/comments/5k7fxg/comment/dbmngin/.
+ " The url use formatoptions+=mM but I choose to add one flag at a time
+ " because it is suggested in :h add-options-flags.
+ autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=t formatoptions+=m formatoptions+=M
" auto rewrite as utf-8 if not when :w
" if use FileType *, nvim can't recognize some file extensions, ex: .csv
autocmd BufRead * let fenc_bef = Autocmd_set_fenc()
diff --git a/home/xyz/.config/qrcp/config.json b/home/xyz/.config/qrcp/config.json
index 171909ef..63955990 100644
--- a/home/xyz/.config/qrcp/config.json
+++ b/home/xyz/.config/qrcp/config.json
@@ -1,6 +1,6 @@
{
"fqdn": "",
- "interface": "enp3s0",
+ "interface": "wlp2s0",
"keepalive": false,
"output": "",
"path": "",
@@ -8,4 +8,4 @@
"secure": false,
"tls-cert": "",
"tls-key": ""
-} \ No newline at end of file
+}
diff --git a/home/xyz/.config/redshift/redshift.conf b/home/xyz/.config/redshift/redshift.conf
index d8f3fe44..da9ff5ed 100644
--- a/home/xyz/.config/redshift/redshift.conf
+++ b/home/xyz/.config/redshift/redshift.conf
@@ -57,8 +57,8 @@ adjustment-method=randr
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
-lat=37.34
-lon=-121.89
+lat=31.38
+lon=120.95
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
diff --git a/home/xyz/.config/sdcv_ordering b/home/xyz/.config/sdcv_ordering
index 85f847c0..ad60d82b 100644
--- a/home/xyz/.config/sdcv_ordering
+++ b/home/xyz/.config/sdcv_ordering
@@ -5,7 +5,7 @@ MDBG Chinese-English dictionary (www.mdbg.net)
朗道汉英字典5.0
WordNet
Moby Thesaurus II
-wikt-en-en-2024-10-05
+wikt-en-en-2025-10-05
Urban Dictionary P1 (En-En)
Urban Dictionary P2 (En-En)
Dictionnaire de l’Académie Française, 8ème édition (1935).
diff --git a/home/xyz/.local/bin/zoom b/home/xyz/.local/bin/zoom
deleted file mode 120000
index c81c2c75..00000000
--- a/home/xyz/.local/bin/zoom
+++ /dev/null
@@ -1 +0,0 @@
-/usr/bin/zoom-firejail \ No newline at end of file
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css
index 16bf50b2..1d45123d 100644
--- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css
+++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css
@@ -1,18 +1,43 @@
-@import url(firefox-csshacks/chrome/navbar_tabs_oneliner.css);
+/* need `user_pref("userchrome.navbar-tabs-oneliner.tabs-on-right.enabled",
+ * true);` in /home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js to make
+ * its tab on right instead of left, like old
+ * firefox-csshacks/chrome/deprecated/navbar_tabs_oneliner.css */
+@import url(firefox-csshacks/chrome/oneline_toolbar.css);
@import url(firefox-csshacks/chrome/urlbar_popup_full_width.css);
-/* On my laptop with linux, if only has more tool >> button and application menu hambugger button, need at least 733px for search bookmarks urls and title shown in one line, or 39vw when full screen on my xyzinsp laptop. Not sure why % is not working.
-I choose to use vw because after resize to a smaller window, the navigation bar will be too big if use px.
-I choose a lower vw to give more room to tabs. */
-#navigator-toolbox { --uc-navigationbar-width: 30vw !important; }
+/* In the past I use old
+ * firefox-csshacks/chrome/deprecated/navbar_tabs_oneliner.css, on my laptop
+ * with linux, if only has more tool >> button and application menu hambugger
+ * button, need at least 733px for --uc-navigationbar-width for search
+ * bookmarks urls and title shown in one line, or 39vw when full screen on my
+ * xyzinsp laptop. Not sure why % is not working.
+ *
+ * I choose to use vw because after resize to a smaller window, the navigation
+ * bar will be too big if use px.
+ *
+ * I choose a lower vw to give more room to tabs.
+ *
+ * Now I use new firefox-csshacks/chrome/oneline_toolbar.css,
+ * --uc-navigationbar-width not work any more, by reading the css source code I
+ * use grid-template-columns instead, and I use 3fr which seems mean 30% which
+ * is similar to vw */
+#navigator-toolbox { grid-template-columns: 3fr 7fr !important; }
/* Narror windows will cause url bar on top of extensions button, hamburger
* button, and tabs. It will also cause extensions button and hamburger button
* overlap each other. I don't care if url bar is too narror. I prefer url bar
* never on top of other items. I prefer extensions button and hamburger button
* never overlap. Set min-width to 0 for urlbar-container gives me the result I
- * want */
-#urlbar-container { min-width: 0 !important; }
+ * want.
+ *
+ * When using new firefox-csshacks/chrome/oneline_toolbar.css instead of old
+ * firefox-csshacks/chrome/legacy/navbar_tabs_oneliner.css, also need
+ * `flex-shrink: 1 !important;` instead of only `min-width: 0 !important;` for
+ * it to work */
+#urlbar-container{
+ min-width: 0 !important;
+ flex-shrink: 1 !important;
+}
/* hide history back, forward-button, and ^ alltabs-button */
#back-button, #forward-button, #alltabs-button { display: none !important; }
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
index fe0c8be6..edd8dd5d 100644
--- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
+++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
@@ -6,13 +6,14 @@ user_pref("_user.js.parrot", "custom overrides: starting");
// douyu pay, bilibili stream watch and user space, pixiv some images not show
// now default for version 115.1 so no need
//user_pref("network.http.referer.XOriginPolicy", 0);
-// in the past: baidu
+// in the past: baidu; now: zwfwbl.cscse.edu.cn
//user_pref("security.ssl.require_safe_negotiation", false);
// fixes and issues unrelated to arkenfox user.js and addons:
// disable ublock origin:
// baidu drive save to my drive not working
// baidu drive verify phone when delete file not working
+// alipay login sliding shape challenge, maybe also need to disable ETP and RFP
// disable enhanced tracking protection:
// google drive can't download
// douyu verification for change password
@@ -26,13 +27,15 @@ user_pref("_user.js.parrot", "custom overrides: starting");
// mail.qq.com
// arkenfox v128 disabled these previously enabled options, I want to enable them
-// set to false to fix: image upload from local, image check not robot, disable surfingkey alt-s hotkey, twitch login and follow, douyin login, douyin chat in live streaming room, google map highway name, protomaps China province name, joinhandshake.com maybe need to disable this once, adobe express
+// set to false to fix: image upload from local, image check not robot, disable surfingkey alt-s hotkey, twitch login and follow, douyin login, douyin chat in live streaming room, google map highway name, protomaps China province name, joinhandshake.com maybe need to disable this once, adobe express, some VPS web VNC keyboard shift modifier not working (e.g., I can't press shift+[ to get { and instead I get [, also for all other keys)
user_pref("privacy.resistFingerprinting", true);
user_pref("privacy.resistFingerprinting.letterboxing", true);
// this can be used to disable RFP by domain, see user.js and https://github.com/arkenfox/user.js/issues/1804#issuecomment-2331701765
//user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
// set to false to fix: labster, protomaps, starlink.com availability map, istheservicedown.com outage map, adobe express
user_pref("webgl.disabled", true);
+// pp maybe need this (disable OCSP) for its mobile network to work
+//user_pref("security.OCSP.enabled", 0);
// http://kb.mozillazine.org/Network.cookie.lifetimePolicy
// https://github.com/arkenfox/user.js/releases/tag/102.1
@@ -67,6 +70,19 @@ user_pref("media.autoplay.default", 5);
user_pref("gfx.webrender.all", true);
user_pref("media.ffmpeg.vaapi.enabled", true);
+// arkenfox user.js new verison 140 changed those from true to false, but I'm
+// used to the old behavior, so I changed them back. The first three settings
+// maybe obsolete in the future but I'm not sure, I just put them all here.
+// More see https://github.com/arkenfox/user.js/releases/tag/140.1 and
+// https://github.com/arkenfox/user.js/issues/1974.
+user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
+user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
+user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
+user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", true);
+user_pref("privacy.clearOnShutdown_v2.downloads", true);
+user_pref("privacy.clearSiteData.browsingHistoryAndDownloads", true);
+user_pref("privacy.clearHistory.browsingHistoryAndDownloads", true);
+
// old about:config and settings, for perfsCleaner.sh
// use extensions on more sites
user_pref("extensions.webextensions.restrictedDomains", "");
@@ -95,6 +111,14 @@ user_pref("browser.urlbar.suggest.topsites", false);
//user_pref("browser.startup.page", 1);
//user_pref("browser.startup.homepage", "javascript:");
+// no need on pinephone
+//
+// chrome/userChrome.css need this for
+// chrome/firefox-csshacks/chrome/oneline_toolbar.css to work like old
+// chrome/firefox-csshacks/chrome/deprecated/navbar_tabs_oneliner.css with tab
+// on right instead of left
+user_pref("userchrome.navbar-tabs-oneliner.tabs-on-right.enabled", true);
+
// I switched to pass, no need firefox password manager anymore
user_pref("signon.rememberSignons", false);
// no need credit card save and autofill
diff --git a/home/xyz/.ssh/config b/home/xyz/.ssh/config
index 90c96706..41a67680 100644
--- a/home/xyz/.ssh/config
+++ b/home/xyz/.ssh/config
@@ -6,14 +6,8 @@ AddKeysToAgent yes
# more see alacritty.toml config
SendEnv COLORTERM
-# tabs and empty only for readability, without also works, not sure about newline
-Host studio
- Hostname flylightning.xyz
- Port ssh-isp
- User xyz
-
Host pp
- Hostname xyzpp
+ Hostname xyzpp.local
User xyz
Host qw
@@ -39,10 +33,14 @@ Host ca
Hostname ca.flylightning.xyz
User xyz
-Host aa
- Hostname aawg
- User xyz
-
Host ib
Hostname ib.flylightning.xyz
User xyz
+ # ib VPS provider cancelled ipv6
+ #AddressFamily inet6
+
+Host ba
+ Hostname ba.flylightning.xyz
+ User xyz
+ # ba ipv4 has better optimized route
+ AddressFamily inet