LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2017, 12:49 AM   #1
tomislav91
Member
 
Registered: Apr 2012
Posts: 46

Rep: Reputation: Disabled
Why My .Desktop File Cant Open Wine App?


Hello guys, i am having an issue. I want to create launcher in my panel to open .exe file with wine.

Code:
[Desktop Entry]
Version=1.0
Type=Application
Name=TEst
Exec=gnome-terminal -e "wine /home/test123/myapp.exe"
Terminal=false

but what happened is that just my terminal blinks and thats all. When try to put command in terminal

Code:
wine /home/test123/myapp.exe
then it is opening application. Where is a problem?
I tried to put
Code:
wine /home/test123/myapp.exe > wine.error.log
but file after opening program is empty, no errors.
 
Old 07-12-2017, 01:59 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,563
Blog Entries: 19

Rep: Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445
Since it works from the command line, the problem must lie in your desktop file. I see that you want the app to run in a gnome terminal, yet you have specified Terminal=false. Try putting Terminal=true and see if that works better.
 
Old 07-12-2017, 02:06 AM   #3
tomislav91
Member
 
Registered: Apr 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
same problem, even with terminal=true.
 
Old 07-12-2017, 02:12 AM   #4
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
Maybe you need the full path to wine. I don't have this installed but (using thunderbird as an example)
Quote:
[tim@mink ~]$ which thunderbird
/usr/bin/thunderbird
I am guessing that I would need to type the full path to run t'bird from a script. So you may need something like
Quote:
/usr/bin/wine
 
Old 07-12-2017, 02:20 AM   #5
tomislav91
Member
 
Registered: Apr 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
again the same problem...
 
Old 07-12-2017, 03:04 AM   #6
tomislav91
Member
 
Registered: Apr 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
i somehow manage to succeed, but terminal is allways staying in background. Can I somehow hide it or move it somewhere around? Users cant see terminal...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 2nd ask(!)... desktop link to open shell /and/ text app ?? stu7 Linux - Software 7 10-09-2011 11:31 AM
App intallation fails in Wine: Check your pif file Arjuna Linux - Software 2 12-07-2006 01:20 AM
open app in different desktop display Furlinastis Slackware 6 10-01-2005 10:03 PM
Open an app in the same virtual desktop always Celettu Linux - Newbie 4 08-24-2004 01:58 PM
Restrict wine app to single virtual desktop ? td_miles Fedora 3 08-06-2004 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration