Results 1 to 7 of 7

Thread: WINE launching programs from the Desktop

  1. #1

    Default WINE launching programs from the Desktop

    I am having an issue with the latest stable version of opensuse when trying to launch wine applications from the desktop, or even creating shortcuts to them. When I launch them from the Wine - Windows explorer, the programs work just fine, but for some reason clicking on the link from the desktop for the application simply sits there clocking and eventually gives up. Any help on this would be appreciated.

    Thank you in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: WINE launching programs from the Desktop

    If you create the launcher on the Desktop yourself. It can be very tricky get the path correct
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: WINE launching programs from the Desktop

    Quote Originally Posted by caf4926 View Post
    If you create the launcher on the Desktop yourself. It can be very tricky get the path correct
    Granted yes, and thank you for the quick reply. What I am looking for is a bit of assistance getting wine to launch a windows application from the desktop, if I could trouble someone? Would someone be able to provide a simple example by chance? Thank you again in advance.

  4. #4
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: WINE launching programs from the Desktop

    @you forgot to mention the desktop you use
    For example on GNOME i can do this HowTo: Create Wine Application Shortcuts on Ubuntu using "alacarte"
    But in KDE the approach might slightly be different
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: WINE launching programs from the Desktop

    I have a application

    Here are the settings

    Command:
    Code:
    env WINEPREFIX="/home/kernelcruncher/.wine" wine C:\\APPLICATION_NAME\\application.exe
    Working Path:
    Code:
    /home/kernelcruncher/.wine/dosdevices/c:/APPLICATION_NAME/
    The actual Icon is:
    Code:
    [Desktop Entry]
    Comment[en_GB]=APPLICATION_NAME
    Comment=APPLICATION_NAME
    Exec=env WINEPREFIX="/home/kernelcruncher/.wine" wine C:\\\\APPLICATION_NAME\\\\application.exe
    GenericName[en_GB]=
    GenericName=
    Icon=/home/kernelcruncher/.local/share/icons/hicolor/32x32/apps/D391_application.0.png
    MimeType=
    Name=Application
    Path=/home/kernelcruncher/.wine/dosdevices/c:/APPLICATION_NAME/
    StartupNotify=true
    Terminal=false
    TerminalOptions=
    Type=Application
    X-DBUS-ServiceName=
    X-DBUS-StartupType=
    X-KDE-SubstituteUID=false
    X-KDE-Username=
    Obviously you need to check and modify according to your user path and the APPLICATION
    Where you see APPLICATION you need the Application you are working with
    Last edited by caf4926; 02-Feb-2013 at 21:37.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6
    Join Date
    Feb 2010
    Location
    Scottsdale, AZ
    Posts
    190

    Default Re: WINE launching programs from the Desktop

    I think if you put the wine executable in quotes, you can use regular path name syntax, i.e., in your case:

    Code:
    Exec=env WINEPREFIX="/home/kernelcruncher/.wine" wine "C:APPLICATION_NAME\\\\application.exe
    becomes
    Code:
    Exec=wine "/home/kernelcruncher/.wine/drive_c/APPLICATION_NAME/application.exe"

  7. #7
    josephkk NNTP User

    Default Re: WINE launching programs from the Desktop

    On Sat, 02 Feb 2013 22:26:01 GMT, debarber
    <debarber@no-mx.forums.opensuse.org> wrote:

    >
    >caf4926;2524120 Wrote:
    >> If you create the launcher on the Desktop yourself. It can be very
    >> tricky get the path correct

    >Granted yes, and thank you for the quick reply. What I am looking for
    >is a bit of assistance getting wine to launch a windows application from
    >the desktop, if I could trouble someone? Would someone be able to
    >provide a simple example by chance? Thank you again in advance.


    I have firefox that works correctly. Looking at properties->application
    tab for command i have:

    env WINEPREFIX="/home/joseph2k/.wine" wine "CProgram Files\Mozilla
    Firefox\firefox.exe"

    For work path i have:

    /home/joseph2k/.wine/dosdevices/c:/Program Files/Mozilla Firefox

    You could try to use this as a template for your application.


    ?-)

Posting Permissions

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