No icon on launcher
Tofloor
poster avatar
paulorenatoxs
deepin
2017-08-31 05:51
Author
Hi everyone,

I have installed XCTU app and his icon don't show on deepin launcher. I try put the .desktop file at /home/user/.local/share/applications folderr as well as at the system wide applications folder. None of them make the XCTU icon show at lanucher.  Any tip? Thanks.
Reply Favorite View the author
All Replies
wtz
deepin
2017-08-31 16:58
#1
Could you please post the content of your .desktop file?
Reply View the author
paulorenatoxs
deepin
2017-09-01 02:11
#2
https://bbs.deepin.org/post/144873
Could you please post the content of your .desktop file?

[Desktop Entry]
Version=1.0
Name=XCTU
Comment=Configuration and Test Utiity
Categories=Application;System;
Exec=env UBUNTU_MENUPROXY=0 GTK2_RC_FILES=$GTK2_RC_FILES:/home/user/.app/Digi/XCTU-NG/.gtkrc-eclipse /home/user/.app/Digi/XCTU-NG/app
Terminal=false
Type=Application
Name[en_US]=XCTU
GenericName[en_US]=XCTU
Comment[en_US]=Configuration and Test Utiity
Icon=/home/user/.app/Digi/XCTU-NG/icon.xpm
Reply View the author
wtz
deepin
2017-09-01 04:14
#3
https://bbs.deepin.org/post/144873
[Desktop Entry]
Version=1.0
Name=XCTU

Run xdg-desktop-menu to install this .desktop file:
  1. xdg-desktop-menu install --novendor XXX.desktop
Copy the Code


Or, you can try to add a line:
  1. OnlyShowIn=Deepin
Copy the Code


Besides, I'm afraid that the field "Exec" does not accept such a complex command line.
Please try to put all the command (including the setting of environment variables) to a .sh script, then execute this script.

Reference:
https://specifications.freedeskt ... rt-spec-latest.html
Reply View the author
paulorenatoxs
deepin
2017-09-01 11:23
#4
https://bbs.deepin.org/post/144873
Run xdg-desktop-menu to install this .desktop file:

It seems the line Exec has something it was appropriate to deepin. I rewrite it to only point to app binary and it works perfectly. Thanks for the help.
Reply View the author
jingle
deepin
2017-09-01 17:51
#5
https://bbs.deepin.org/post/144873
It seems the line Exec has something it was appropriate to deepin. I rewrite it to only point to a ...

sudo apt-get install dde-qt5integration
Reply View the author
paulorenatoxs
deepin
2017-09-02 06:55
#6
https://bbs.deepin.org/post/144873
sudo apt-get install dde-qt5integration

It was already installed.
Reply View the author
justforlxz
deepin developers team
2017-09-04 17:43
#7
Try to remove env from exec, leaving only binary files.
Reply View the author
paulorenatoxs
deepin
2017-09-06 03:21
#8
https://bbs.deepin.org/post/144873
Try to remove env from exec, leaving only binary files.

Hi Kirigaya,

thanks for the help. I do what you suggest and it is working like a charm.
Reply View the author