This is a desktop launcher for SQL Operations Studio (https://github.com/Microsoft/sqlopsstudio).
Assuming the application is unpacket to $HOME/src/sqlops-linux-x64, then:
- create the desktop launcher with:
touch ~/.local/share/applications/sqlopsstudio.desktop; - the desktop launcher should contain:
[Desktop Entry]
Type=Application
Name=SQL Operations Studio
Exec=/home/<USERNAME_HERE>/src/sqlops-linux-x64/bin/sqlops
Icon=/home/<USERNAME_HERE>/src/sqlops-linux-x64/resources/app/resources/linux/code.png
Categories=Development
Environment variables like $HOME or bash shortcuts like ~ do not seem to work within the paths,
so you have to tweak the file with your username otherwise put those files like the icon and the command
in the expected places like $HOME/.icons or $HOME/.local/share/icons or /usr/share/ or /usr/local/share etc;
- restart the LXDE panel with:
lxpanelctl restart.
Search for an existing example (where you can copy the categories):
find / -name "*.desktop" -type f 2>&1 | grep -v denied | grep firefox
/usr/share/xfce4/helpers/firefox.desktop
/usr/share/applications/firefox.desktopMore documentation: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles
The local desktop launchers go in a place like:
touch ~/.local/share/applications/firefox.desktopThis is the content of the launcher for firefox:
[Desktop Entry]
Version=1.0
Name=Firefox
Exec=firefox --private-window %u
Icon=firefox
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;WebBrowser;
touch ~/.local/share/applications/chromium-browser.desktopThen add this content:
[Desktop Entry]
Version=1.0
Name=Chromium
Exec=chromium-browser --incognito --new-window %U
Icon=chromium-browser
Terminal=false
Type=Application
Categories=Network;WebBrowser;