Install Omarchy in 1 partition, not using entire disk

Omarchy 默认安装占用整块硬盘,而我现在使用多系统引导,和需求稍微有点差距。

改造步骤。

  1. 新硬盘,安装Omarchy. 进系统 tar备份全盘。
  2. 硬盘划一块分区, tar解压到分区。
  3. 利用现有的BIOS/EFI, 引导新Omarchy.
  4. 因为Omarchy默认启用LUKS加密, 所以先找ARCH的initramfs 来引导进Omarchy新系统,再mkinitcpio新的未加密的initramfs
    mkinitcpio -k 6.16.8-arch3-1 -g /boot/initramfs-linux.img.2
  5. 重启使用新的未加密initramfs引导系统。
  6. 收尾工作,卸载limine 禁用udisk加密。 重启引导

得到完美的分区版本Omarchy, 加入现有引导。

sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

fedora 42, using pipewire on hyprland. no music output.

[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 4<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: SOF firmware and/or topology file not found.<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Supported default profiles<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: - ipc type 0 (Requested):<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-4ch.tplg<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Optionally it can be manually downloaded from:<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: https://github.com/thesofproject/sof-bin/<br>[Sun Apr 13 18:10:26 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

Solution:

dnf install alsa-sof-firmware

now it works.

[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 4<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-tgl.ri<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-4ch.tplg<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864<br>[Sun Apr 13 18:17:13 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1<br>[Sun Apr 13 18:17:14 2025] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1

xfce4-terminal doesnt update cwd on new tab @fedora41

时间持续比较长了,在Fedora 41 xfce环境下,xfce4-terminal新建tab页不会使用和前序一样的working directory,而是会自动使用默认的路径。

以为是xfce .config的问题,毕竟已经持续刷新了很多年的版本,只好把.config删了重建环境,也没用。

为了发现根因, 把xfce4-terminal换成了terminator, 然后再切新标签,就碰巧发现问题了。

gi.repository.GLib.GError: g_convert_error: The hostname of the URI file://suse.407/home/suse/Desktop” is invalid (4)<br>Traceback (most recent call last):<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 980, in on_keypress<br>    getattr(self, "key_" + mapping)()<br>    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 2069, in key_new_tab<br>    self.get_toplevel().tab_new(self)<br>    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/window.py", line 269, in tab_new<br>    cwd = widget.get_cwd()<br>  File "/usr/lib/python3.13/site-packages/terminatorlib/terminal.py", line 260, in get_cwd<br>    return(GLib.filename_from_uri(vte_cwd)[0])<br>           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^<br>gi.repository.GLib.GError: g_convert_error: The hostname of the URI “file://suse.407/home/suse/Desktop” is invalid (4)<br>

然后就找到问题了
g_filename_from_uri rejects valid host names according to RFC 1123

https://gitlab.gnome.org/GNOME/glib/-/issues/3523

所以问题就是在主机名, 我的这台电脑多年用的数字名称,也不用等修复问题了, 把这个主机名一改就好, 豁然开朗。

W/R, change hostname from ‘suse.407’ to ‘suse.s407’