Telegram Group & Telegram Channel
xdg-desktop-portal 1.17.x 配合 xdg-desktop-portal-kde 5.27.8 时遇到了使用 portal 的 GTK 程序无法正确应用 KDE 主题的问题。降级任意一个都可以解决,很奇怪。网络上也没找到任何 bug report 或者 workaround。

排查后发现 x-d-p-kde 5.27.8 为了适应 x-d-g 1.17 的新功能,附带了 /usr/share/xdg-desktop-portal/kde-portals.conf ,使得 x-d-g 使用了新的 org.freedesktop.impl.portal.Settings 后端选择逻辑。这导致 x-d-p 选择 x-d-p-kde 作为其后端;而旧的逻辑是,所有后端都被一起选中作为后端,这似乎是由于有些后端的 Setting API 实现常常有问题(很显然,x-d-p-kde 似乎是其中一个)。新的逻辑在 https://github.com/flatpak/xdg-desktop-portal/pull/1018 被引入。

如果你也遇到了一样的问题,在上游修复之前,可以新建 ~/.config/xdg-desktop-portal/portals.conf 写入
[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk



tg-me.com/PlanetRong/4303
Create:
Last Update:

xdg-desktop-portal 1.17.x 配合 xdg-desktop-portal-kde 5.27.8 时遇到了使用 portal 的 GTK 程序无法正确应用 KDE 主题的问题。降级任意一个都可以解决,很奇怪。网络上也没找到任何 bug report 或者 workaround。

排查后发现 x-d-p-kde 5.27.8 为了适应 x-d-g 1.17 的新功能,附带了 /usr/share/xdg-desktop-portal/kde-portals.conf ,使得 x-d-g 使用了新的 org.freedesktop.impl.portal.Settings 后端选择逻辑。这导致 x-d-p 选择 x-d-p-kde 作为其后端;而旧的逻辑是,所有后端都被一起选中作为后端,这似乎是由于有些后端的 Setting API 实现常常有问题(很显然,x-d-p-kde 似乎是其中一个)。新的逻辑在 https://github.com/flatpak/xdg-desktop-portal/pull/1018 被引入。

如果你也遇到了一样的问题,在上游修复之前,可以新建 ~/.config/xdg-desktop-portal/portals.conf 写入

[preferred]
default=kde
org.freedesktop.impl.portal.Settings=kde;gtk

BY Rong布星球 🧶


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/PlanetRong/4303

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

How to Invest in Bitcoin?

Like a stock, you can buy and hold Bitcoin as an investment. You can even now do so in special retirement accounts called Bitcoin IRAs. No matter where you choose to hold your Bitcoin, people’s philosophies on how to invest it vary: Some buy and hold long term, some buy and aim to sell after a price rally, and others bet on its price decreasing. Bitcoin’s price over time has experienced big price swings, going as low as $5,165 and as high as $28,990 in 2020 alone. “I think in some places, people might be using Bitcoin to pay for things, but the truth is that it’s an asset that looks like it’s going to be increasing in value relatively quickly for some time,” Marquez says. “So why would you sell something that’s going to be worth so much more next year than it is today? The majority of people that hold it are long-term investors.”

telegram from us


Telegram Rong布星球 🧶
FROM USA