aionnetwork / Desktop-Wallet

⛔️ DEPRECATED A native Desktop Wallet client for AION on Windows/Mac/Linux
35 stars 24 forks source link

Desktop Wallet doesn't start properly on a Wayland session (Fedora/Ubuntu) #266

Open deprecated-dot opened 3 years ago

deprecated-dot commented 3 years ago

As the title suggests, the Desktop Wallet won't launch correctly while under a Wayland session. However, it's trivial to "patch" it, so I'm providing the details here for anyone that might run into the same problem:

At the bottom of the aion_ui.sh script, where it reads:

-Dlocal.storage.dir="${STORAGE_DIR}" -Xms300m -Xmx500m org.aion.wallet.WalletApplication

Change it to:

-Djdk.gtk.version=2 -Dlocal.storage.dir="${STORAGE_DIR}" -Xms300m -Xmx500m org.aion.wallet.WalletApplication

Following this edit, it starts perfectly every time under a Wayland session in Fedora and Ubuntu. I hope this helps!