creating wine shortcuts












9















While attempting to create a desktop shortcut for an app that uses wine I came up with this error:



Failed to execute child process "/home/fiver/.wine/drive_c/Program" (No such file or directory)


I have followed all the instrutions at jaypeeonline.net










share|improve this question

























  • possible duplicate of How to create a shortcut to start a Windows application with Wine?

    – precise
    Mar 24 '14 at 13:07
















9















While attempting to create a desktop shortcut for an app that uses wine I came up with this error:



Failed to execute child process "/home/fiver/.wine/drive_c/Program" (No such file or directory)


I have followed all the instrutions at jaypeeonline.net










share|improve this question

























  • possible duplicate of How to create a shortcut to start a Windows application with Wine?

    – precise
    Mar 24 '14 at 13:07














9












9








9


4






While attempting to create a desktop shortcut for an app that uses wine I came up with this error:



Failed to execute child process "/home/fiver/.wine/drive_c/Program" (No such file or directory)


I have followed all the instrutions at jaypeeonline.net










share|improve this question
















While attempting to create a desktop shortcut for an app that uses wine I came up with this error:



Failed to execute child process "/home/fiver/.wine/drive_c/Program" (No such file or directory)


I have followed all the instrutions at jaypeeonline.net







shortcuts






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 21 '14 at 22:26









Florian Diesch

65.3k16162180




65.3k16162180










asked Mar 21 '14 at 22:24









Kalamalka KidKalamalka Kid

1,56892351




1,56892351













  • possible duplicate of How to create a shortcut to start a Windows application with Wine?

    – precise
    Mar 24 '14 at 13:07



















  • possible duplicate of How to create a shortcut to start a Windows application with Wine?

    – precise
    Mar 24 '14 at 13:07

















possible duplicate of How to create a shortcut to start a Windows application with Wine?

– precise
Mar 24 '14 at 13:07





possible duplicate of How to create a shortcut to start a Windows application with Wine?

– precise
Mar 24 '14 at 13:07










3 Answers
3






active

oldest

votes


















10














You can create by hand a desktop shortcut for your applications installed with wine by following these steps:





  1. Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop



    In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.




    [Desktop Entry]
    Name=Internet Explorer
    Exec=wine "C:Program FilesInternet Exploreriexplore.exe"
    Icon=/path/to/iconfile
    Type=Application
    Categories=Wine;



    Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:



    wine "C:path to theexecutable file"


    (for CLI application) like say



    wineconsole "C:path to theexecutable file"


    (for GUI applications)



    wine "C:Program FilesInternet Exploreriexplore.exe"


    (enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)



    Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.



    On the left is a shortcut with icon specified, for the one on right, not.iconField




  2. Turn on the file's execute bit on.



    Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.



    selecting property from right-click context menurightClickTheFile



    setting execute permissionexecutableProperty



    From terminal, you can do this with:



    chmod +x $USER/Desktop/inetexplorer.desktop


    where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.








share|improve this answer





















  • 1





    How do you leverage the icon contained within the executable?

    – Jonathan Neufeld
    Dec 1 '17 at 18:57



















4














I suggest you to use PlayOnLinux, in combination with wine, which offers a clean and user-friendly interface, that let you install and manage windows software and games.



enter image description here




PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.




Here is a non-exhaustive list of the interesting points to know:




  • You don't have to own a Windows® license to use PlayOnLinux.

  • PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.

  • PlayOnLinux is free software.

  • PlayOnLinux uses Bash and Python.


Nevertheless, PlayOnLinux has some bugs, as every piece of software:




  • Occasional performance decrease (image may be less fluid and graphics less detailed).

  • Not all games are supported. Nevertheless, you can use our manual installation module.


Installation:




  1. Simply use Software-Center to install it,

  2. or refer to their HP installation info.




Here is another solution, that uses your Ubuntu OS based system standards.



enter image description here




  1. Open Main Menu Application and select New Item button,


  2. which will open a Create Launcher window, from where you can use the Browse button, that let you select the path to the .exe (executable) windows application/game.




    • You can also name the new shortcut, add a description and icon to it from there.








share|improve this answer

































    1














    You have to escape the white spaces using backslashes (). Try to specify the command like this:



    ".../Program Files/Adobe/Adobe Photoshop CS2/..."


    Note the before spaces.






    share|improve this answer



















    • 3





      Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

      – mid_kid
      Mar 22 '14 at 13:57













    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f437555%2fcreating-wine-shortcuts%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    10














    You can create by hand a desktop shortcut for your applications installed with wine by following these steps:





    1. Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop



      In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.




      [Desktop Entry]
      Name=Internet Explorer
      Exec=wine "C:Program FilesInternet Exploreriexplore.exe"
      Icon=/path/to/iconfile
      Type=Application
      Categories=Wine;



      Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:



      wine "C:path to theexecutable file"


      (for CLI application) like say



      wineconsole "C:path to theexecutable file"


      (for GUI applications)



      wine "C:Program FilesInternet Exploreriexplore.exe"


      (enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)



      Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.



      On the left is a shortcut with icon specified, for the one on right, not.iconField




    2. Turn on the file's execute bit on.



      Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.



      selecting property from right-click context menurightClickTheFile



      setting execute permissionexecutableProperty



      From terminal, you can do this with:



      chmod +x $USER/Desktop/inetexplorer.desktop


      where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.








    share|improve this answer





















    • 1





      How do you leverage the icon contained within the executable?

      – Jonathan Neufeld
      Dec 1 '17 at 18:57
















    10














    You can create by hand a desktop shortcut for your applications installed with wine by following these steps:





    1. Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop



      In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.




      [Desktop Entry]
      Name=Internet Explorer
      Exec=wine "C:Program FilesInternet Exploreriexplore.exe"
      Icon=/path/to/iconfile
      Type=Application
      Categories=Wine;



      Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:



      wine "C:path to theexecutable file"


      (for CLI application) like say



      wineconsole "C:path to theexecutable file"


      (for GUI applications)



      wine "C:Program FilesInternet Exploreriexplore.exe"


      (enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)



      Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.



      On the left is a shortcut with icon specified, for the one on right, not.iconField




    2. Turn on the file's execute bit on.



      Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.



      selecting property from right-click context menurightClickTheFile



      setting execute permissionexecutableProperty



      From terminal, you can do this with:



      chmod +x $USER/Desktop/inetexplorer.desktop


      where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.








    share|improve this answer





















    • 1





      How do you leverage the icon contained within the executable?

      – Jonathan Neufeld
      Dec 1 '17 at 18:57














    10












    10








    10







    You can create by hand a desktop shortcut for your applications installed with wine by following these steps:





    1. Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop



      In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.




      [Desktop Entry]
      Name=Internet Explorer
      Exec=wine "C:Program FilesInternet Exploreriexplore.exe"
      Icon=/path/to/iconfile
      Type=Application
      Categories=Wine;



      Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:



      wine "C:path to theexecutable file"


      (for CLI application) like say



      wineconsole "C:path to theexecutable file"


      (for GUI applications)



      wine "C:Program FilesInternet Exploreriexplore.exe"


      (enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)



      Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.



      On the left is a shortcut with icon specified, for the one on right, not.iconField




    2. Turn on the file's execute bit on.



      Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.



      selecting property from right-click context menurightClickTheFile



      setting execute permissionexecutableProperty



      From terminal, you can do this with:



      chmod +x $USER/Desktop/inetexplorer.desktop


      where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.








    share|improve this answer















    You can create by hand a desktop shortcut for your applications installed with wine by following these steps:





    1. Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop



      In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.




      [Desktop Entry]
      Name=Internet Explorer
      Exec=wine "C:Program FilesInternet Exploreriexplore.exe"
      Icon=/path/to/iconfile
      Type=Application
      Categories=Wine;



      Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:



      wine "C:path to theexecutable file"


      (for CLI application) like say



      wineconsole "C:path to theexecutable file"


      (for GUI applications)



      wine "C:Program FilesInternet Exploreriexplore.exe"


      (enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)



      Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.



      On the left is a shortcut with icon specified, for the one on right, not.iconField




    2. Turn on the file's execute bit on.



      Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.



      selecting property from right-click context menurightClickTheFile



      setting execute permissionexecutableProperty



      From terminal, you can do this with:



      chmod +x $USER/Desktop/inetexplorer.desktop


      where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.









    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 21 '18 at 1:02









    Marcelo Soares

    34




    34










    answered Mar 22 '14 at 15:25









    preciseprecise

    10.7k65179




    10.7k65179








    • 1





      How do you leverage the icon contained within the executable?

      – Jonathan Neufeld
      Dec 1 '17 at 18:57














    • 1





      How do you leverage the icon contained within the executable?

      – Jonathan Neufeld
      Dec 1 '17 at 18:57








    1




    1





    How do you leverage the icon contained within the executable?

    – Jonathan Neufeld
    Dec 1 '17 at 18:57





    How do you leverage the icon contained within the executable?

    – Jonathan Neufeld
    Dec 1 '17 at 18:57













    4














    I suggest you to use PlayOnLinux, in combination with wine, which offers a clean and user-friendly interface, that let you install and manage windows software and games.



    enter image description here




    PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
    Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.




    Here is a non-exhaustive list of the interesting points to know:




    • You don't have to own a Windows® license to use PlayOnLinux.

    • PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.

    • PlayOnLinux is free software.

    • PlayOnLinux uses Bash and Python.


    Nevertheless, PlayOnLinux has some bugs, as every piece of software:




    • Occasional performance decrease (image may be less fluid and graphics less detailed).

    • Not all games are supported. Nevertheless, you can use our manual installation module.


    Installation:




    1. Simply use Software-Center to install it,

    2. or refer to their HP installation info.




    Here is another solution, that uses your Ubuntu OS based system standards.



    enter image description here




    1. Open Main Menu Application and select New Item button,


    2. which will open a Create Launcher window, from where you can use the Browse button, that let you select the path to the .exe (executable) windows application/game.




      • You can also name the new shortcut, add a description and icon to it from there.








    share|improve this answer






























      4














      I suggest you to use PlayOnLinux, in combination with wine, which offers a clean and user-friendly interface, that let you install and manage windows software and games.



      enter image description here




      PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
      Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.




      Here is a non-exhaustive list of the interesting points to know:




      • You don't have to own a Windows® license to use PlayOnLinux.

      • PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.

      • PlayOnLinux is free software.

      • PlayOnLinux uses Bash and Python.


      Nevertheless, PlayOnLinux has some bugs, as every piece of software:




      • Occasional performance decrease (image may be less fluid and graphics less detailed).

      • Not all games are supported. Nevertheless, you can use our manual installation module.


      Installation:




      1. Simply use Software-Center to install it,

      2. or refer to their HP installation info.




      Here is another solution, that uses your Ubuntu OS based system standards.



      enter image description here




      1. Open Main Menu Application and select New Item button,


      2. which will open a Create Launcher window, from where you can use the Browse button, that let you select the path to the .exe (executable) windows application/game.




        • You can also name the new shortcut, add a description and icon to it from there.








      share|improve this answer




























        4












        4








        4







        I suggest you to use PlayOnLinux, in combination with wine, which offers a clean and user-friendly interface, that let you install and manage windows software and games.



        enter image description here




        PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
        Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.




        Here is a non-exhaustive list of the interesting points to know:




        • You don't have to own a Windows® license to use PlayOnLinux.

        • PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.

        • PlayOnLinux is free software.

        • PlayOnLinux uses Bash and Python.


        Nevertheless, PlayOnLinux has some bugs, as every piece of software:




        • Occasional performance decrease (image may be less fluid and graphics less detailed).

        • Not all games are supported. Nevertheless, you can use our manual installation module.


        Installation:




        1. Simply use Software-Center to install it,

        2. or refer to their HP installation info.




        Here is another solution, that uses your Ubuntu OS based system standards.



        enter image description here




        1. Open Main Menu Application and select New Item button,


        2. which will open a Create Launcher window, from where you can use the Browse button, that let you select the path to the .exe (executable) windows application/game.




          • You can also name the new shortcut, add a description and icon to it from there.








        share|improve this answer















        I suggest you to use PlayOnLinux, in combination with wine, which offers a clean and user-friendly interface, that let you install and manage windows software and games.



        enter image description here




        PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
        Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.




        Here is a non-exhaustive list of the interesting points to know:




        • You don't have to own a Windows® license to use PlayOnLinux.

        • PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.

        • PlayOnLinux is free software.

        • PlayOnLinux uses Bash and Python.


        Nevertheless, PlayOnLinux has some bugs, as every piece of software:




        • Occasional performance decrease (image may be less fluid and graphics less detailed).

        • Not all games are supported. Nevertheless, you can use our manual installation module.


        Installation:




        1. Simply use Software-Center to install it,

        2. or refer to their HP installation info.




        Here is another solution, that uses your Ubuntu OS based system standards.



        enter image description here




        1. Open Main Menu Application and select New Item button,


        2. which will open a Create Launcher window, from where you can use the Browse button, that let you select the path to the .exe (executable) windows application/game.




          • You can also name the new shortcut, add a description and icon to it from there.









        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 22 '14 at 19:31

























        answered Mar 22 '14 at 15:16









        v2rv2r

        6,391113948




        6,391113948























            1














            You have to escape the white spaces using backslashes (). Try to specify the command like this:



            ".../Program Files/Adobe/Adobe Photoshop CS2/..."


            Note the before spaces.






            share|improve this answer



















            • 3





              Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

              – mid_kid
              Mar 22 '14 at 13:57


















            1














            You have to escape the white spaces using backslashes (). Try to specify the command like this:



            ".../Program Files/Adobe/Adobe Photoshop CS2/..."


            Note the before spaces.






            share|improve this answer



















            • 3





              Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

              – mid_kid
              Mar 22 '14 at 13:57
















            1












            1








            1







            You have to escape the white spaces using backslashes (). Try to specify the command like this:



            ".../Program Files/Adobe/Adobe Photoshop CS2/..."


            Note the before spaces.






            share|improve this answer













            You have to escape the white spaces using backslashes (). Try to specify the command like this:



            ".../Program Files/Adobe/Adobe Photoshop CS2/..."


            Note the before spaces.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 22 '14 at 13:41









            Eric CarvalhoEric Carvalho

            41.8k17115147




            41.8k17115147








            • 3





              Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

              – mid_kid
              Mar 22 '14 at 13:57
















            • 3





              Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

              – mid_kid
              Mar 22 '14 at 13:57










            3




            3





            Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

            – mid_kid
            Mar 22 '14 at 13:57







            Or, you can use quotation, which is pretty much more readable. wine '/home/user/.wine/drive_c/Program Files/Some Program with many spaces/program.exe'

            – mid_kid
            Mar 22 '14 at 13:57




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f437555%2fcreating-wine-shortcuts%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?