Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8359  / 3 Years ago, fri, june 18, 2021, 9:12:43

I have sccceded in making launchers with python scripts,php scripts,etc as launchers.



Now I want to make a binary file as a launcher. It is not an installable binary file. It is actually the binary file for WorldOfGoo. The filename is WorldOfGoo.bin32. On runing this file from terminal by the command ./WorldOfGoo.bin32 the game starts.



when i added the path to this file in the Exec field in the [Desktop Entry], like this




/path/to/folder/and/then/WorldOfGoo.bin32 *




and when I clicked on the desktop file,it says "Permission Denied"



How do i get a binary file to work in a .desktop file?


More From » 12.04

 Answers
7

Here's an example - it starts xnview.sh:



[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=/home/pierre/Desktop/XnViewMP/xnview.sh
Icon=/home/pierre/Desktop/XnViewMP/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP


Edit:



If You have a nasty complex command to be run - put it all in script and run the script. For example if You have to cd there first, and run the script from there make a script:



#!/bin/bash

cd /to/YourDir
./YourBinaryFile

[#37398] Saturday, June 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hergy

Total Points: 64
Total Questions: 115
Total Answers: 109

Location: Saint Helena
Member since Tue, Nov 3, 2020
4 Years ago
;