P
P
prostranstvovremya2019-03-16 01:12:10
ubuntu
prostranstvovremya, 2019-03-16 01:12:10

Why is the program launched directly from the terminal, but gives an error on the shortcut?

Hello.
I love the EyeLeo program very much and decided to "drag" it to my Ubuntu.
When launched from the folder where the program is installed, a normal launch occurs, as in the first screen.
When I start using the text shortcut I created on the desktop, an error occurs, the second screenshot.
What is the problem and how to fix it?
5c8ca5f0eb018584163664.jpeg5c8ca5f99fc73052255596.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Softer, 2019-03-16
@Softer

cd /path/to/dir
wine prog.exe

S
Sergei Nazarenko, 2019-03-16
@nazares

the .desktop file on the desktop should contain something like this

[Desktop Entry]
Name=Name_games напишите имя отображаемое под ярлыком
Exec=wine game.exe напишите команду запуска вашего приложения
Type=Application тип ярлыка
StartupNotify=true оповещение запуска
Path=$HOME/.wine..../Program Files/Game вписать полный путь к рабочей директории приложения
Icon=$HOME/.wine..../Program Files/Game/game.png указать путь до иконки

not just wine /home/max/ etc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question