V
V
Vitaly2015-06-24 20:36:16
linux
Vitaly, 2015-06-24 20:36:16

How to write a program in linux?

Hello, perhaps my question is quite simple, but I don’t understand how to explain to the system that I installed the program via sh. The problem is that I don't see the shortcut for this program and I don't get updates.
Case Study:
I ​​downloaded the Komodo-Edit-9.1.0-15798-linux-x86_64 editor, unpacked it and installed it in the /opt folder.
Everything is fine, but in the menu, I work under Mint, I do not see a shortcut to this program, as if I installed it through a deb package.
How can I fix this situation?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kop3t3, 2015-06-26
@allposts_vitali

Regarding the icon in the menu:
create a shortcut file in ~/.local/share/applications with the extension .desktop (eg feuerfox.desktop) and approximately the following content:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Name=Firefox developer edition
Exec=/opt/firefox/firefox %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/firefox/browser/icons/mozicon128.png
Categories=GNOME;GTK;Network;WebBrowser;
StartupNotify=true

Regarding updates:
They are rolled by the installer of the program itself (as is the case with Firefox Developer and Qt) or downloaded and unpacked manually (or by a script).
In the end, you can build deb packages yourself and file your own repository (especially if there are a lot of computers)

A
akarin, 2015-06-24
@akarin

What is your DE? There, most likely, the path is written somewhere in the xml files.

E
Ergil Osin, 2015-06-24
@Ernillew

standards.freedesktop.org/menu-spec/menu-spec-1.0.html
https://access.redhat.com/documentation/en-US/Red_...
to help you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question