页次: 1
wm为hyprland,搭配waybar
1:networkmanager不能自动连接网络,nmctl看了眼,发现所有的密码都是空的,应该是秘钥库没有关联?同时有kwallet和gnome-keyring,没有尝试iwd
1.5:怀疑还是秘钥库的问题,edge账户正常登录同步正常但是密码数量为0
2:kvantum对kde应用不生效,比如dolphin,kate(未尝试qt5ct),而且kate和waybar打开速度极慢
3:wofi不知道怎么设置主题,rofi同样的命令打不开,man了下也没弄清楚
4:笔记本的快捷键失效无法调整亮度和声音
最近编辑记录 Nirlvy (2022-12-08 21:43:18)
离线
2. 怀疑有环境变量(XDG_*、WAYLAND_DISPLAY)没有正确设置。你可能需要手动将它们导入 systemd 和 dbus 中去。命令:dbus-update-activation-environment --systemd 环境变量名们
3. 自己看文档。rofi 是 X11 下用的,理论上应该也能用但谁知道哪里出问题了呢。另外也可以考虑 xfce4-appfinder(虽然它打不开需要使用 xwayland 的程序)
4. 自己映射
离线
3我没表述清楚,我的错,rofi安装会创建一个调整主题的.desktop,翻了下文件的exec,同样的命令对wofi提示不存在
离线
哦,那就是 wofi 没有提供了。
离线
发现为了在hyprland中设置qt主题,使用export QT_QPA_PLATFORMTHEME=qt5ct来控制,会导致obs中屏幕采集pipewire选择消失,安装了xdg-desktop-portal-wlr启用也不可以
离线
还有fcitx在wofi中无法输入中文,提示浮动窗口没有父项,此外,fcitx的候选框会有时显示有时消失
离线
wofi 是用 gtk 重写了么?不过看来有地方没搞对。可以去 fcitx5 那边问问先。
离线
hyprland 录屏的话,可以用 wlrobs 这个包,走 wlroots 自己的协议。
离线
好谢谢仙子
离线
翻了下wiki发现有官方解决方案(
新的问题:
1:执行某些操作时,比如打开timeshift,需要请求root权限,在kde的时候会弹窗显示请求输入,在hyprland下没有,查看日志
12月 06 22:08:12 NullPointerException polkit-agent-helper-1[53189]: pam_systemd_home(polkit-1:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
12月 06 22:08:12 NullPointerException dbus-daemon[789]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
12月 06 22:08:12 NullPointerException dbus-daemon[789]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.91' (uid=0 pid=53189 comm="/usr/lib/polkit-1/polkit-agent-helper-1 nirlvy")
12月 06 22:08:12 NullPointerException polkitd[1075]: Registered Authentication Agent for unix-process:53170:372523 (system bus name :1.90 [pkexec timeshift-gtk], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
12月 06 22:30:52 NullPointerException swaylock[75178]: pam_systemd_home(swaylock:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
12月 06 22:30:52 NullPointerException dbus-daemon[789]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
12月 06 22:30:52 NullPointerException dbus-daemon[789]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.106' (uid=1000 pid=75178 comm="swaylock")
这是缺少什么吗?
2:关于mpd
这是配置文件
db_file "~/.config/mpd/mpd.db"
log_file "syslog"
music_directory "/run/media/nirlvy/Document/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file "/tmp/mpd.pid"
state_file "~/.config/mpd/mpd.state"
sticker_file "~/.config/mpd/sticker.sql"
bind_to_address "127.0.0.1"
port "6700"
restore_paused "yes"
auto_update "yes"
filesystem_charset "UTF-8"
save_absolute_paths_in_playlists "yes"
log_level "notice"
state_file_interval "30"
replaygain "off"
audio_output {
type "alsa"
name "ALSA [Bit-perfect]"
device "hw:1,0"
auto_channels "no"
auto_format "no"
auto_resample "no"
dop "yes"
mixer_type "none"
replay_gain_handler "none"
buffer_time "100000"
}
audio_output {
type "pulse"
name "PulseAudio"
buffer_time "100000"
}
audio_output {
type "fifo"
name "Visualizer"
format "44100:16:2"
path "/tmp/mpd.fifo"
}
input {
enabled "no"
plugin "qobuz"
}
input {
enabled "no"
plugin "tidal"
}
decoder {
enabled "no"
plugin "wildmidi"
}
decoder {
enabled "no"
plugin "hybrid_dsd"
}
在cantata里显示正常但是
╭─ ~ ····················································································· ✔ 22:34:26
╰─ mpc stats
Artists: 0
Albums: 0
Songs: 0
Play Time: 0 days, 0:00:00
Uptime: 0 days, 1:28:17
DB Updated: Thu Jan 1 08:00:00 1970
DB Play Time: 0 days, 0:00:00
╭─ ~ ····················································································· ✔ 22:34:30
╰─ mpc update
MPD error: No database
总共1700多首
离线
离线
mpd配置文件把~换成绝对路径/home/xxx/.config/mpd/mpd.db这样。
离线
mpd配置文件把~换成绝对路径/home/xxx/.config/mpd/mpd.db这样。
其实后来发现原因是应该只开用户级别的服务就行,开系统级的不会读取~/.config目录下的,折腾了好久才发现,不过就是有些歌完全没识别到便签。。。歌名专辑歌手全是空白但是能播放。。。
离线
页次: 1