This commit is contained in:
2025-07-29 01:29:28 +02:00
parent 299e5aa5de
commit 6d49a475b1
19 changed files with 673 additions and 585 deletions

View File

@@ -0,0 +1,15 @@
WM 下 Dolphin 的前景色可能会很奇怪,在 .config/dolphinrc 中添加以下内容可以解决:
```conf
[UiSettigs]
ColorScheme=<name>
```
例如<s>大家都喜欢的</s>猫布奇-抹茶-蓝
```conf
[UiSettigs]
ColorScheme=Catppuccin Mocha Blue
```
colorscheme 名(大概)可以在 `~/.local/share/color-schemes/`下的文件中查看。

View File

View File

View File

@@ -3,8 +3,8 @@ things I have installed:
full KDE Plasma 6 setup # not essential for sure
which can provide:
SDDM theme # Breeze is enough
kcalc/kalc # calculator(s)
kcolorchooser # works smoothly on hyprland
kcalc/kalc # calculator(s), what's the difference?
kcolorchooser # or hyprpicker
pipewire & friends
...
@@ -14,31 +14,28 @@ hyprpaper
hypridle
hyprlock
hyprshot
hyprlicker # kcolorchooser also works though
hyprpicker
hyprland-plugin-hyprexpo # scale workspaces and put them in a grid
# xdg-desktop-portal*
xdg-desktop-portal
xdg-desktop-portal-kde # Dolphin as file picker (change value of widget.use-xdg-desktop-portal.file-picker in about:config if not working correctly in firefox)
xdg-desktop-portal-kde # Dolphin as file picker (for firefox, change value of widget.use-xdg-desktop-portal.file-picker in about:config if not working correctly)
xdg-desktop-portal-hyprland # not working with my Intel iGPU, but fine with NVIDIA dGPU
# terminal emulator(s)
kitty # normal terminal
ghostty # floating terminal, for btop for example#
ghostty # floating terminal, for btop for example
# under surface
mako # notification daemon
gnome-keyring # --password-store=gnome-libsecret
mako # notification daemon
gnome-keyring # --password-store=gnome-libsecret
wl-clipboard
cliphist # clipboard history
network-manager-applet # nm-applet
slurp # region selector
wf-recorder # screen recorder
cliphist # clipboard history
slurp # region selector
wf-recorder # screen recorder
brightnessctl
playerctl
pamixer
qt5ct
qt6ct
# GUI
waybar
@@ -46,12 +43,13 @@ eww
wlogout
rofi(-wayland)
mpv
blueman # bluetooth GUI & applet
network-manager-applet # nm-applet
blueman # bluetooth GUI & applet
pavucontrol
gnome-text-editor # or kwrite, just notepad replacement
btop # system monitor
activate-linux # :/
polkit-gnome # polkit authentication agent
gnome-text-editor # or kwrite, just notepad replacement
btop # system monitor
activate-linux # :/
polkit-gnome # polkit authentication agent
# fonts & themes
maplemono-nf-cn / ttf-maplemono-nf-cn-unhinted (archlinuxcn)
@@ -62,6 +60,9 @@ spicetify # spotify tweaks
spicetify-maketplace # spotify themes
nwg-look # theme of GTK apps
catppuccin-gtk-theme-mocha # theme of GTK apps
kvantum
qt5ct
qt6ct
# utils
bc

View File

@@ -0,0 +1,29 @@
虽然不是很确定发生了什么,但总归记录一下
问题:
休眠后立即唤醒
环境:
hyprland (kde 下无此问题)
hybrid (独显直连没有测试)
结论:
罗技 Bolt 接收器导致的
解决1
修改 /proc/acpi/wakeup 禁用 usb 唤醒
修改什么?问 LLM 吧,现在的我也不知道 :)
解决2
安装 solaar 并启动
步骤:
创建 plugdev 用户组:
sudo groupadd plugdev
sudo usermod $(whoami) -aG plugdev
安装 solaar
启用驱动:
sudo modprobe hid_logitech_dj
重载 udev 规则:
sudo udevadm control --reload-rules
插拔 Bolt 接收器
启动!

View File

View File

@@ -0,0 +1,35 @@
当安装了其他 notification manager 时plasma 在启动时可能会选择错误的 notification manager 导致通知中心无法正常工作 <s>(虽然平时也并不怎么在意这玩意,用什么 daemon 都无所谓,只要有通知看就行)</s>
如何知道是否是这种情况呢?以 mako 为例:
1. 先知道 mako 是什么时候被启动的 (或者自己推算时间)
```sh
journalctl --user -u mako.service --no-pager -g 'Starting'
```
2. 查看先后的日志:
```sh
journalctl --user --since '2025-07-29 00:43:16' --until '2025-07-29 00:43:18'
```
3. 如果发现类似以下内容:
```
...
Jul 29 00:43:17 Artemisia systemd[1080]: Starting Lightweight Wayland notification daemon...
Jul 29 00:43:17 Artemisia systemd[1080]: Started Lightweight Wayland notification daemon.
...
Jul 29 00:43:17 Artemisia plasmashell[1599]: org.kde.plasma.notificationmanager: Failed to register Notification service on DBus
...
```
那就是这种情况了。
解决方法也很简单,启动时屏蔽掉错误的服务,例如:
```sh
systemctl --user mask mako.service
```
或者将 plasmashell 的 notificationmanager 优先级提高:
```sh
mkdir -p ~/.local/share/dbus-1/services/
ln -s /usr/share/dbus-1/services/org.kde.plasma.Notifications.service ~/.local/share/dbus-1/services/org.kde.plasma.Notifications.service
```

View File

@@ -1,4 +1,4 @@
在 btrfs 分区下使用 swapfile 创建虚拟内存:
在 btrfs 分区下使用 swapfile 创建虚拟内存 (复杂方法)
1. 创建 swap 子卷 (假定已经挂载到 /mnt)
@@ -12,7 +12,7 @@ btrfs subvolume create /mnt/@swap
touch /mnt/@swap/swapfile
```
3. 设置 COW 禁用属性
3. 禁用 COW
```bash
chattr +C /mnt/@swap/swapfile
@@ -44,9 +44,7 @@ swapon --show
7. 修改 `/etc/fstab` 以自动挂载 swap 文件:
```conf
# Btrfs @swap subvolume
UUID={btrfs-uuid} /swap btrfs subvol=@swap,defaults,noatime 0 0
UUID={btrfs-uuid} /swap btrfs rw,noatime,ssd,discard=async,space_cache=v2,subvol=/@swap 0 0
# Swap file
/swap/swapfile none swap sw 0 0
```

View File

@@ -0,0 +1,6 @@
安卓 13
搜索 Assistant点进 General禁用
搜索 Default Apps将 Digital assistant app 设置为 None
这样按 super 键就不会弹出 Google Assistant 了