不知道什么时候开始,firefox启动要十几秒才能打开,是什么原因呢,打开任务管理器也是要好久,但是打开opera 浏览器就很快,是什么问题?
It is most likely the xdg-desktop-portal-gnome.
You need to replace it with the package valid for your enviroment
Many applications (firefox, thunderbird, telegram, etc) slow to start on desktops other than Gnome
There is a bug with xdg-desktop-portal-gnome (more details here ).
Remove
sudo pacman -Rdd xdg-desktop-portal-gnome
Workaround for KDE
sudo pacman -S xdg-desktop-portal-kde
Workaround for gtk-based desktops (including Xfce)
sudo pacman -S xdg-desktop-portal-gtk
Workaround for KDE
sudo pacman -S xdg-desktop-portal-kde
Workaround for Lxqt
sudo pacman -S xdg-desktop-portal-lxqt
Workaround for desktops using hyprland
>sudo pacman -S xdg-desktop-portal-hyprland
Workaround for desktops using wlroots
sudo pacman -S xdg-desktop-portal-wlr
2 Likes
可以了,感谢
用这个方法也可以解决Thunar 文件管理器里右键里自定义动作点击后启动很慢的问题