SalentOS Official Community

THE PURE OPENBOX EXPERIENCE!

You are not logged in.

#1 2018-02-24 07:15:45

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

More on Wine

Hi. Continuing my search for help with Wine.  Using latest Salent OS, fully updated.

I have a Wine app located at /home/jeff/.wine/drive_c/Program Files/Watchtower/Watchtower Library 2014/E/wtlibrary.exe

I want to add a link to the dock at the bottom of the screen to launch this application.  Can someone tell me how this can be done?  I've used menulibre to add an entry to the menu, but it doesn't show up in the styler when I try to add the application too the dock.

Any help will be appreciated.

Offline

#2 2018-02-24 11:17:50

bobol
Moderator
Registered: 2015-04-26
Posts: 338

Re: More on Wine

Hi jeff, I don't use wine so i don't know if this is a valid solution for You.
Simple create a new file .desktop in /usr/share/application with administrator permissions
- in Name line indicate the name you want to see in the launcher (es. Name=Watchtower)
- in Exec line indicate entire paths of exe file ( es. Exec=/home/jeff/.wine/drive_c/Program Files/Watchtower/Watchtower Library 2014/E/wtlibrary.exe
- in Icon line indicate path of icon you want to see

Now you can add your launcher in Tint2 dock using SalentosStyler

Here you can find more accurate instructions to do it.

wink


Utilizzo Solo Software Open Source

Offline

#3 2018-02-24 21:06:15

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

Re: More on Wine

Thanks for the info.  The problem is that, doing all of this, and then adding the icon to the dock, clicking on the icon does nothing.  Something is going on here, I don't know what.

Offline

#4 2018-02-24 23:15:39

bobol
Moderator
Registered: 2015-04-26
Posts: 338

Re: More on Wine

may be you need a little script file to launch Wine before and then the file .exe
by the way try to clic right mouse on file.exe and in property, choice "Wine" in "Open with" option ant than retry to double clic on your new launcher


Utilizzo Solo Software Open Source

Offline

#5 2018-02-25 02:06:26

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

Re: More on Wine

Thanks.  I'll give it a go.

Offline

#6 2018-07-05 01:32:04

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

Re: More on Wine

Okay, busy as hell, and finally getting back to this.

First, using the method of manually adding a .desktop file and then adding it using the styler produces the same result -- icon is on the dock, but clicking on it does nothing.  Clicking on the file directly in file manager opens the app just fine.  So something nutty is going on.

If there are any other hints, I'd love to know them.  I love Salent, and this is making me tear my hair out.

Offline

#7 2018-07-05 17:13:03

bobol
Moderator
Registered: 2015-04-26
Posts: 338

Re: More on Wine

I @jeffneedle
please post here your file .desktop


Utilizzo Solo Software Open Source

Offline

#8 2018-07-05 19:55:10

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

Re: More on Wine

Here it is.  Thanks again.

[Desktop Entry]
Version=1.0
Name=Watchtower Library
GenericName=Watchtower
Comment=Watchtower Library
Exec=/home/jeff/.wine/drive_c/Program Files/Watchtower/Watchtower Library 2014/E/wtlibrary.exe
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/jeff/Downloads/wt.jpg
Categories=Education
MimeType=text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https;

Offline

#9 2018-07-07 08:22:15

bobol
Moderator
Registered: 2015-04-26
Posts: 338

Re: More on Wine

Where the file .desktop is saved in? Then check In property file if the permission to execute it like a program is active
Also try to change the name of file and directory with underscore instead of blank space


Utilizzo Solo Software Open Source

Offline

#10 2018-07-08 16:48:03

jeffneedle
NEWLY_REGISTERED
Registered: 2015-04-08
Posts: 20

Re: More on Wine

Well, it seems that the launcher is truncating after a certain point.  And I have the file under /usr/share/Applications, with the other launchers.  Here is the error I get  when clicking on the file: Failed to execute child process "/home/jeff/.wine/drive_c/Program" (No such file or directory).

Something really strange.

Offline

Board footer

Powered by FluxBB