Menu

#2344 Inclunding prefix in texstudio.desktop

open
nobody
desktop (1)
1
2018-01-07
2018-01-07
Gp
No

Hi,

I'm a bit surprised that texstudio.desktop does not contain the prefix (when it is installed in a located that is not /usr, using BUILD.sh script and the last commit).

Original .desktop file: (the prefix was /opt)

[Desktop Entry]
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
Encoding=UTF-8
Exec=texstudio %F
GenericName=LaTeX Editor
GenericName[fr]=Editeur LaTeX
Comment=LaTeX development environment
Comment[fr]=Environnement de développement LaTeX
Icon=texstudio
Keywords=LaTeX;TeX;editor;
MimeType=text/x-tex;
Name=TeXstudio
StartupNotify=false
Terminal=false
Type=Application

I suggest that it should be (differences are in bold):

[Desktop Entry]
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
Encoding=UTF-8
Exec=/opt/texstudio/bin/texstudio %F
GenericName=LaTeX Editor
GenericName[fr]=Editeur LaTeX
Comment=LaTeX development environment
Comment[fr]=Environnement de développement LaTeX
Icon=/opt/texstudio/share/icons/hicolor/scalable/apps/texstudio.svg
Keywords=LaTeX;TeX;editor;
MimeType=text/x-tex;
Name=TeXstudio
StartupNotify=false
Terminal=false
Type=Application

Please consider I m not a specialist of .desktop files, I’m not sure that should be the best solution.
Thanks,

Discussion


Log in to post a comment.