emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.

Home Page:https://mqttx.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] App Logo Not Displayed After Installing `.deb` Package on Ubuntu

ysfscream opened this issue · comments

What did I do

Issue Description:
After installing a .deb package on my Ubuntu system, the application runs as expected, but its logo icon does not appear in the application menu.

Steps to Reproduce:

  1. Downloaded the .deb file from [Official Software Website/Other Source].
  2. Installed the package using sudo dpkg -i package-name.deb command.
  3. Alternatively, attempt installation with sudo apt install ./package-name.deb.
  4. After installation, search for the application in the app menu. The software launches correctly but does not display the expected logo icon; only a default icon is shown.
image image

Expected Behavior:
After installation, the application menu should display the software's logo icon for easy identification and launching.

What happened

Actual Behavior:
The software does not display its logo icon in the application menu, showing a default icon instead.

Environment

image

Hi @ni00

I hope this message finds you well. I'm encountering an issue with a .deb package on Ubuntu. The software installs fine, but its logo doesn't show the App Logo in the app menu. I'm unfamiliar with Linux, so I'm hoping you could help verify this issue and, if possible, help fix it. It would also be great if you could test this on similar Linux distros like Debian to see if it's a broader issue.

Thanks for your help!

@ysfscream Okay, I will test this issue this week and try to solve it.

I have replicated this issue using the deb package to install mqttx on Ubuntu and Linux mint, indicating that it is not a desktop environment issue (Unity, mint), but rather an issue with the mqttx deb package itself. I tried two ways to fix it, one was to change the size of app.png to 256 * 256, but it was ineffective. The second is to change the icon path parameter in the options of the new Window, but it is still invalid. I will test if there are any other repair methods during my free time.

@ni00 Thank you for your hard work on this issue. I appreciate your efforts in replicating and attempting to fix it, though it seems tricky. Please don't feel rushed—take your time. We're grateful for any contributions, but there's no pressure at all. Feel free to pick it up when convenient and update if you make progress. Wishing you all the best!