Announcement

Collapse
No announcement yet.

Create K menu WINE app shortcut

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Create K menu WINE app shortcut

    No WINE menu has appeared on the K menu , so have spent the whole morning trying to create a file such as described here:

    http://frankscorner.org/index.php?p=quickstart

    It might be a good idea to create a file that launches Word. It could look like this:

    #/bin/sh
    cd ~/.wine/drive_c/Program Files/Microsoft\ Office/Office
    wine winword.exe

    Save this as word.sh in ~/bin and make it executable by typing chmod +x word.sh
    You can now start Word by typing word.sh



    But keep getting no such file or directory messages.

    Have tried various combinations of using \ or / or \\ but just cant get the syntax correct

    WINE is installed, and I could run the program from Konsole, but again just cant remember what the correct syntax should be.

    Browsing to the directory in Konqueror and clicking the file launches the app correctly

    Have been trying right click of the desktop and Create new @link to application, but cant get the syntax correct.
    Have tried various combinations of
    wine drive_c\\Program_Files\\Skymark_Technologies\\Alof t_Commercial\\aloft.exe

    /home/neil/.wine/drive_c/Program Files/Skymark Technologies/Aloft Commercial/aloft.exe

    but just don't know if to use back or forward slashes, double back slashes, underscores or what

    Anyone help me with this. and yes, I have checked FAQ's WINE HQ etc etc but nothing that seems to help

    #2
    Re: Create K menu WINE app shortcut

    The Problem: Linux directory trees use forward slashes (/).
    MS directory trees use backslashes (\).
    At Linux terminals, the backslash is an "escape character" - it says, "The character that follows this is not to be treated normally". For example, spaces normally separate command-line arguments, so to include a space in an argument, you escape it with \ before.

    You're accessing a file (in this case a Win32 executable) over a Linux filesystem, so you should use forward-slashes (/) for separating directories. Where the name of a directory contains a space, you must escape that space with a preceding backslash.

    Hence, you should type

    /home/neil/.wine/drive_c/Program\ Files/Skymark\ Technologies/Aloft\ Commercial/aloft.exe

    Stupid Windows for using spaces in directory names...

    Comment


      #3
      Re: Create K menu WINE app shortcut

      Thanks, an explanation for dummies. why cant google find answers like that...I suppose if you ask the correct question it will, but if you are a newbie, you dont' even know what to ask.

      I am sure I saw something about using double slashes, cant remember if they were forward or backwards though. When would they be used? Possibly when trying to start with wine from a konsole window?

      Now the difficult bit, see if I can make it work


      Cheers

      Comment


        #4
        Re: Create K menu WINE app shortcut

        the command/path for my wine app shortcuts are the same as when i run them from konsole. i.e. wine /path/to/app.exe.

        although i recently reinstalled with feisty this time and installed wine 0.9.35 and installed 7-zip. the shortcut is this:
        env WINEPREFIX="/home/disturbedite/.wine" wine "C:\Program Files\7-Zip\7zFM.exe"

        so there is more than one way to create/run a wine app.
        <br />

        Comment


          #5
          Re: Create K menu WINE app shortcut

          What Icon do you end up with? a generic one or the one that you would get if running in windows

          Comment


            #6
            Re: Create K menu WINE app shortcut

            @ Neil P
            sorry for the late reply...but i do get the actual windows icon. wine is capable of generating shortcuts correctly, but i think it does have some issues with creating shortcuts in some circumstances. sorry i can't be more descriptive...
            <br />

            Comment


              #7
              Re: Create K menu WINE app shortcut

              Just got a new machine (P4 1.9Ghz, 1 gig RAM) that I found at the local dump!
              So for now the problem has sort of gone away....trying to get this machine to work now, so a missing icon has sort of lost its significance.

              From what I have seen in the last few months using Kubuntu, I think I will keep Kubuntu/linux as play/music listening experimental machine.

              To try and get everything I currently use in Windoze to work happily in Linux, or find and learn Linux replacements is just going to take too long. It will take months of solid work to get it all working,and then teach the girlfriend how to use it could take even longer I just dont have the time.

              Maybe in a year or so, when I have a better grip of linux I may give it another go to make Kubuntu my main OS, but for now I am going to have to keep MS



              Comment


                #8
                Re: Create K menu WINE app shortcut

                Have ever tried going the vmware path? Try this and see if you like it:
                http://www.howtoforge.com/vmware_con..._windows_linux

                Enjoy

                Comment


                  #9
                  Re: Create K menu WINE app shortcut

                  Have heard of it, but have not looked at it all. May givre it a go.
                  cheers for the link, looks easy....but so does anything till the problems start appearing

                  Cheers

                  Comment


                    #10
                    Re: Create K menu WINE app shortcut

                    Interesting. I didn't know you could take an existing Windows environment and make it run under VMware...

                    Anyway, VMware, unlike Wine, emulates the entire operating system. If you want to run the guest OS at a decent speed, you're going to need a decent processor (dual cores are a huge plus) and quite a bit of RAM.
                    For external use only.

                    Comment


                      #11
                      Re: Create K menu WINE app shortcut

                      1.9gig plus 1 gig ram? is that anywhere near enough? or would i need to upgrade?

                      Comment


                        #12
                        Re: Create K menu WINE app shortcut

                        Windows is a real resource hog, but I can run it manageably through VMWare with a 2GHz processor and a shade less than 1GB of RAM.

                        (In fact, I have it set up that I can boot the same installation of Windows either when my physical PC boots (for games) or through VMware, thus staying within the EULA. Ick.)

                        Comment


                          #13
                          Re: Create K menu WINE app shortcut

                          I have a 2.6 GHz dual-core processor and 1 GB RAM, and Windows Vista (VMware) can have about one-second delays for some operations. It really helps to turn off all the visual effects and things. I haven't tried any other Windows OSes under VMware here, though. They might run a little better.
                          For external use only.

                          Comment

                          Working...
                          X