Results 1 to 8 of 8

Thread: problem creating desktop file from wine portable app

  1. #1
    Join Date
    Jan 2013
    Beans
    29

    Angry problem creating desktop file from wine portable app

    hello, I am fairly new to this, I am creating a wine desktop configuration file from apps(visual novels) and I am stuck with an app with spaces, i already did 2 but with this one i'm struggling, i got one working in my "Videos" folder, the text inside the desktop file is this:
    Code:
    [Desktop Entry]
    Version=1.01
    Name=president
    Exec=env WINEPREFIX="/home/froylan/.wine" wine Z:\\\\home\\\\froylan\\\\Videos\\\\President\\\\President\\\\osana.exe
    Terminal=false
    Icon=/home/froylan/Pictures/21.png
    Type=Application
    Categories=Games;
    StartupWMClass=osana.exe
    this one was working propperly but then when i did this one inside of ~/Videos/SecondReproduction/SecondReproduction/TSR Patch - English v0.99b/[English] The Second Reproduction.exe it didn't work so i changed the path to:
    ~/Pictures/Webcam/SecondReproduction/SecondReproduction/English/english.exe
    and it didn't work either, what i did was this:

    Code:
    [Desktop Entry]
    Version=1.01
    Name=The_Second_Reproduction
    Exec=env WINEPREFIX="/home/froylan/.wine" wine Z:\\\\home\\\\froylan\\\\Pictures\\\\Webcam\\\\SecondReproduction\\\\SecondReproduction\\\\English\\\\english.exe
    Terminal=false
    Icon=/home/froylan/Pictures/21.png
    Type=Application
    Categories=Games;
    StartupWMClass=english.exe
    Name[en_US]=second_reproduction
    but then i get this weird message
    Screenshot from 2013-01-02 23:56:58.png
    and then this:
    Screenshot from 2013-01-02 23:57:38.png
    Last edited by Froylan; January 3rd, 2013 at 07:09 AM. Reason: forgot to add experience level

  2. #2
    Join Date
    Dec 2012
    Beans
    28
    Distro
    Ubuntu

    Re: problem creating desktop file from wine portable app

    Please set
    Terminal=true
    and give me error messages from Terminal.

  3. #3
    Join Date
    Jan 2013
    Beans
    29

    Re: problem creating desktop file from wine portable app

    Quote Originally Posted by vasiliscnisrok View Post
    Please set
    Terminal=true
    and give me error messages from Terminal.
    it gave me this:
    Code:
     '/home/froylan/Desktop/second reproduction.desktop' 
    /home/froylan/Desktop/second reproduction.desktop: line 2: [Desktop: command not found
    and it repeated the steps of the screenshots.
    EDIT: I changed to a false version and it gave me error, and i chaged to the english patch version and it ended the same way.
    Last edited by Froylan; January 3rd, 2013 at 07:23 AM. Reason: forgot information

  4. #4
    Join Date
    Dec 2012
    Beans
    28
    Distro
    Ubuntu

    Re: problem creating desktop file from wine portable app

    1) rename /home/froylan/Desktop/second reproduction.desktop to /home/froylan/Desktop/second_reproduction.desktop

    2) set Exec
    Code:
    Exec=env WINEPREFIX="/home/froylan/.wine" wine "Z:\\home\\froylan\\Videos\\President\\President\\osana.exe"

  5. #5
    Join Date
    Jan 2013
    Beans
    29

    Re: problem creating desktop file from wine portable app

    Quote Originally Posted by vasiliscnisrok View Post
    1) rename /home/froylan/Desktop/second reproduction.desktop to /home/froylan/Desktop/second_reproduction.desktop

    2) set Exec
    Code:
    Exec=env WINEPREFIX="/home/froylan/.wine" wine "Z:\\home\\froylan\\Videos\\President\\President\\osana.exe"
    that will activate osana, not second reproduction
    EDIT:it did activate osana, not second reproduction.
    Last edited by Froylan; January 3rd, 2013 at 07:23 PM. Reason: missing after effect

  6. #6
    Join Date
    May 2009
    Location
    Alabama
    Beans
    25
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: problem creating desktop file from wine portable app

    if you navigate to the wine directory and Drag & Drop the .exe file to your desktop holding down Ctrl+Shift it will create a link to that file allowing you to run it from your desktop.

    You can also hold down Alt when you drop it to see more options and it may contain a WINE desktop option.

    I do not have WINE installed so I can't say exactly what will happen but that Link method may be all you need...unless you are trying to do more than just a desktop launcher.
    Twitter | Facebook | Myspace
    Visuex.com - my web-development company

  7. #7
    Join Date
    Dec 2012
    Beans
    28
    Distro
    Ubuntu

    Re: problem creating desktop file from wine portable app

    Quote Originally Posted by Froylan View Post
    that will activate osana, not second reproduction
    EDIT:it did activate osana, not second reproduction.
    sorry
    Code:
    Exec=env WINEPREFIX="/home/froylan/.wine" wine "Z:\\home\\froylan\\Pictures\\Webcam\\SecondReproduction\\SecondReproduction\\English\\english.exe"
    quote your path

  8. #8
    Join Date
    Jan 2013
    Beans
    29

    Re: problem creating desktop file from wine portable app

    meither of them worked, closing thread, i'd rather go and do the manual work

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •