cake_wallet icon indicating copy to clipboard operation
cake_wallet copied to clipboard

App not Opening. AUR, Flatpak, Tar

Open hanami117 opened this issue 4 months ago • 4 comments

Describe the bug No matter where I install it from, the flatpak release, the AUR, or the tar.gz. It won't open via icon, and if ran within terminal I see this:

~/Downloads                                                                                                     21:27:42 
➜ ./Cake_Wallet_v5.3.0_Linux/cake_wallet

** (cake_wallet:40102): CRITICAL **: 21:27:47.093: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:40102): CRITICAL **: 21:27:47.094: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:40102): CRITICAL **: 21:27:47.094: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:40102): CRITICAL **: 21:27:47.095: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:40102): CRITICAL **: 21:27:47.095: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

To Reproduce Steps to reproduce the behavior:

  1. Install app on Arch Linux Wayland KDE
  2. Click on the Icon
  3. Not opening 2.1 Run in terminal 3.1 See error 4.1 The app GUI opens, but then it has some issues like not opening URLS to buy XMR.

Expected behavior App opens via icon and everything works.

Platform:

  • OS: Arch Linux latest
  • Device: Desktop
  • Cake Wallet Version: Latest Release

If I need to provide anything, tell me.

hanami117 avatar Sep 02 '25 19:09 hanami117

Hi @hanami117 , This error should not stop the app from opening, it is trying to ask the system for theme settings (like dark mode, accent colors, or font sizes) to make the app's appearance match the user's desktop. It uses a system called the "XDG Desktop Portal" to do this. The error Error.NotFound: Requested setting not found simply means the portal couldn't find a specific setting it was looking for.

The app will likely fall back to its default theme and should still work perfectly fine.

but we can follow some steps to eliminate any probabilities

# For Debian/Ubuntu/Pop!_OS
sudo apt install xdg-desktop-portal-gtk

# For Fedora
sudo dnf install xdg-desktop-portal-gtk

and try updating your system packages

# For Debian/Ubuntu
sudo apt update && sudo apt upgrade

# For Fedora
sudo dnf upgrade --refresh

if both didn't work, please share more logs when you run the app

OmarHatem28 avatar Sep 02 '25 22:09 OmarHatem28

I am on Arch, and KDE. I already installed xdg-desktop-portal-wrl, xdg-desktop-portal, xdg-desktop-portal-kde I also updated system to latest packages.

I will specify that app works only when called via terminal, but for example wont let me buy

Image

A longer log, from start to button press

~/Downloads                                                                                       00:56:46 took 1m 21.9s 
➜ flatpak run com.cakewallet.CakeWallet                                                     

** (cake_wallet:2): CRITICAL **: 00:57:53.875: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:2): CRITICAL **: 00:57:53.876: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:2): CRITICAL **: 00:57:53.876: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:2): CRITICAL **: 00:57:53.877: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (cake_wallet:2): CRITICAL **: 00:57:53.877: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
flutter: [INFO] cw_monero/api/wallet_manager.dart#null:null wmPtr: ptr: Instance of 'MoneroWalletManager'
flutter: [INFO] cw_monero/monero_wallet.dart#null:null MoneroWalletBase: bootstrapped: false
flutter: [INFO] cw_monero/monero_wallet.dart#null:null MoneroWalletBase:      enabled: false
flutter: [INFO] cw_monero/monero_wallet.dart#null:null MoneroWalletBase:         port: -1
flutter: [INFO] cw_monero/monero_wallet.dart#null:null MoneroWalletBase:      started: false
flutter: [INFO] cw_monero/api/wallet.dart#null:null setupNodeSync: {
  wptr!,
  daemonAddress: http://xmr-node.cakewallet.com:18081,
  useSsl: true,
  proxyAddress:  ?? '',
  daemonUsername: null ?? '',
  daemonPassword: null ?? ''
}

flutter: [INFO] cw_monero/api/wallet.dart#null:null setupNodeSync: init: start
flutter: [INFO] cw_monero/api/wallet.dart#null:null setupNodeSync: init: end
flutter: [INFO] cw_monero/monero_wallet.dart#null:null MoneroWalletBase: onNewBlock: 3491575, 0, 0.0
flutter: [INFO] cake_wallet/buy/moonpay/moonpay_provider.dart#null:null MoonPayProvider: MoonPay does not support fiat: USD
flutter: [INFO] cake_wallet/buy/moonpay/moonpay_provider.dart#null:null MoonPayProvider: Moon Pay: Error fetching buy quote: 
flutter: [INFO] cake_wallet/buy/moonpay/moonpay_provider.dart#null:null MoonPayProvider: MoonPay does not support fiat: EUR
flutter: [INFO] cake_wallet/buy/moonpay/moonpay_provider.dart#null:null MoonPayProvider: Moon Pay: Error fetching buy quote: 
flutter: [INFO] cake_wallet/buy/moonpay/moonpay_provider.dart#null:null MoonPayProvider: Moon Pay: Error fetching buy quote: 

I repeat that clicking the app icon in KDE instantly crashes.

hanami117 avatar Sep 02 '25 22:09 hanami117

ok thanks for the extra info, do you have a default web browser? because this error message is when we are trying to launch the DFX website so you can continue the purchase on their website, and if any more info they need or so.

So, please make sure you have a default web browser set and try again

OmarHatem28 avatar Sep 03 '25 00:09 OmarHatem28

Yes I have it and it's Brave. I set Firefox just as a test with no luck. But biggest issue is app not opening unless called by terminal

hanami117 avatar Sep 03 '25 09:09 hanami117