From 7b9b6e6e8b8f8dec960e07b8061580f505b02fa8 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Mon, 10 Jul 2023 22:03:50 +0800 Subject: [PATCH] review: wayland fedora_contrib, collections --- gmi/collections.gmi | 1 + org/fedora_contrib.org | 14 ++++---------- org/internet_collections.org | 6 ++++-- org/pgp_canokey.org | 1 + org/wayland.org | 10 ++++------ 5 files changed, 14 insertions(+), 18 deletions(-) diff --git a/gmi/collections.gmi b/gmi/collections.gmi index ccd37e6..5e94cc2 100644 --- a/gmi/collections.gmi +++ b/gmi/collections.gmi @@ -52,3 +52,4 @@ undergoes frequent maintenance, PDA? author of offpunk => gemini://gemini.thegonz.net + Things => gemini://cdg.thegonz.net/ ++ Collaborative Directory of Geminispace +=> gopher://bitreich.org/ + bitreich diff --git a/org/fedora_contrib.org b/org/fedora_contrib.org index 1ba9390..b752146 100644 --- a/org/fedora_contrib.org +++ b/org/fedora_contrib.org @@ -3,16 +3,10 @@ #+DATE: <2023-04-01 六> * The story -[[https://github.com/dom-kital][Someone]] in the [[https://cossig.org][COSSIG]] said Slackware is good, so I took a look. -I noticed in the [[http://www.slackbook.org/html/book.html#VI][book]] that the vi(1) in Slackware is elvis, it is amazing. -Then this monthly holiday, I installed a Slackware VM. In the installation process, -I found that the nvi in Slackware supports UTF-8! WTF! -The nvi in OpenBSD and NixOS don't support UTF-8, why the Slack build have? -So I looked at the [[https://mirrors.slackware.com/slackware/slackware/source/a/nvi/][source]], +it have 30 patches applied on nvi-1.81.6+ it is configured with =--enable-widechar= -So I wanted to add a UTF-8 nvi in my nur, so I copied the NixOS build script, -and found it has patches from a fedora repo! -Then I checked that [[https://src.fedoraproject.org/rpms/nvi][repo]], it have the exact same patch series as Slackware, -BUTT orphaned since f33... +nvi installed on fedora using =nix-env= can't dieplay widechar, but fedora native build can. +And the nix build is using patches from f33 repo, so I want to bring nvi back to Fedora. +(2023.7) I tried hours to figure out how to build nvi that can display widechar using nix, but failed each time. +It's actually because nix uses C locale by default ([[./usenet_and_cli_browsers.org][mentioned with offpunk]]). * Why retired, nvi is a good software, isn't it? The reason why it is orphaned and retired is "Failed to build from source". diff --git a/org/internet_collections.org b/org/internet_collections.org index 915b6a9..c699aca 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -156,8 +156,8 @@ funny byte memmove(pDecoded + i + 1, pDecoded + i, #+END_SRC -*** [[https://xeiaso.net/blog/rip-twitter][Goodbye Twitter, Hello Fediverse!]] *** [[https://xeiaso.net/blog/🥺][🥺]] +*** [[https://xeiaso.net/blog/HVE-BC1750-0001][HVE-BC1750-0001: Deceptive Information Disclosure Vulnerability in Human Interaction Protocols]] ** [[https://lantian.pub/][蓝天]] 大佬! *** [[https://lantian.pub/article/chat/how-i-nuked-my-btrfs-partition.lantian/][我把硬盘换到了新电脑上,这是 Btrfs 上的数据发生的变化]] @@ -306,7 +306,8 @@ EvanMeek / B站: 美味的樱桃菌 看不懂, 先收藏着 *** [[https://www.zhihu.com/column/c_1313110231912726528][倔强的程序员]] 编! 译! 原! 理! -*** [[https://www.zhihu.com/column/c_185117725][专栏: 技术考古]] :wow:plan9: +*** [[https://www.zhihu.com/column/c_185117725][技术考古]] :wow:plan9: +古老的技术,闪耀的光芒 **** [[https://web.archive.org/web/20220423091317/https://zhuanlan.zhihu.com/p/502733643][archive: 那些古老又优美的 GUI]] :smth: ***** [[https://guidebookgallery.org][GUI Gallery]] *** [[https://www.zhihu.com/column/roartalk][专栏: 嘶吼RoarTalk]] :hack: @@ -589,3 +590,4 @@ BSD asm ** [[https://github.com/torvalds/linux/pull/17][torvalds: I don't do github pull requests]] ** [[https://cohost.org/blackle/post/42994-div-style-pointer][CSS 的机械装置 (from ruanyifeng 252)]] ** [[https://oldcompcz.github.io/jgs/][jgs ASCII art]] +** TODO [[http://retrobase.cn][retrobase 识旧知新]] diff --git a/org/pgp_canokey.org b/org/pgp_canokey.org index 7b31caa..7615641 100644 --- a/org/pgp_canokey.org +++ b/org/pgp_canokey.org @@ -352,3 +352,4 @@ the author of age begin 644 gpg-crash.tar.gz is uuencoding #+END_COMMENT +*** [[https://news.ycombinator.com/item?id=9104188][HN: GPG and Me]] diff --git a/org/wayland.org b/org/wayland.org index 0eff32a..356684f 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -35,7 +35,8 @@ I'm using *~elarun~*, a oxygen-like smooth crystal theme, materia-kde is also a *** Fedora 37 don't work sddm don't work on fedora37, so switch to gdm *** environment variable missing? -trick: add =Exec=zsh -c sway= in =/usr/share/wayland-sessions/sway.desktop= +trick: add =Exec=oksh -lc sway= in =/usr/share/wayland-sessions/sway.desktop= +[[https://github.com/dongdigua/configs/commit/7cb715199e58c9a1569861f14d3beec91553375b][ksh yes]] ** obs don't remove the =include= line in sway/config, and it will be fine ** cursor theme not working @@ -49,11 +50,8 @@ use libinput-gestures **** [[https://www.reddit.com/r/swaywm/comments/px5vmw/how_are_you_configuring_touchpad_gestures/]] **** [[https://www.reddit.com/r/swaywm/comments/em0jnx/can_sway_handle_threefour_finger_touchpad_gestures/]] ** TODO [[https://github.com/WayfireWM/wayfire/issues/1329][Wayfire crashes when closing foot terminal]] -** emacs tool-bar not working(cannot toggle and icon theme missing) -*** cannot toggle: disable custon =default-frame-alist=, or just use floating mode -*** icon theme missing: pgtk -and I can also have translarency, -it looked unreal after several months of solid background +** emacs tool-bar not working and icon theme missing +pgtk ** [[https://www.reddit.com/r/swaywm/comments/scz5k6/option_create_on_workspace_prev_on_outputnext_on/][Option --create on workspace prev_on_output|next_on_output?]] this feature is not compatible with i3, so sway didn't accept the pr *** [[https://www.reddit.com/r/swaywm/comments/mmfwnu/sway_command_workspace_next/][shell script solution]]