Announcement

Collapse
No announcement yet.

Trying to get Ultralingua 6 to run under WINE

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

    Trying to get Ultralingua 6 to run under WINE

    I know for 100 percent certain that Ultralingua 6 will run under WINE, but I'm having a frustrating time getting it to integrate and run on my new install of Kubuntu 19.04. I ran this thing under Ubuntu 8.04, Kubuntus 12.x through 16.x, and (most recently) under Linux Mint 18.x/KDE. Ultralingua 6 ran as well under these distros and WINE as it ran under Windows. (I could never get Ultralingua 7 to run on any of them, but that's another story.)

    So my desktop which had Linux Mint/KDE 18.3 took a dive. Instead of pulling out my hair troubleshooting the distro that Mint has decided to abandon, I decided to return to Kubuntu. Of course, I installed WINE and WineTricks. This Windows-based application, Ultralingua 6, is a foreign language dictionary with lots of languages like German, French, Spanish, and some others. But it's a portable version that I got ages ago. In previous distros, I would just put it on a WINE-Windows path, in this case:
    /home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe

    There is no setup.exe file to run. But in previous distros, I would go to that link in Dolphin and double click on the executable and it would pull it up with WINE and basically prep it. Then I would do a manual install of its path and icon into the KDE editor. Here's a screen shot of doing that this time:


    I could not get that to run from putting it in the KDE editor. I set it to run from the konsole and here's what I got:

    Code:
    Warning: Could not start program '/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe' with arguments '/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe'.
    
    Warning: execve: Exec format error
    Oddly enough, I was able to get it to run from the WineTricks File Explorer. I just double clicked on the ultralingua.exe file and up it came, running perfectly. Here's a screen shot of that File Explorer looking at the files:


    This thing has always run well under WINE and integrated perfectly in every distro I've ever used thus far. I know I must be able to get it up and running in the latest Kubuntu. It would really bite to have to run the WINETricks File Explorer every time and chase don't its executable and click it. When I go to right click that executable in Dolphin, I'm not finding the usual "run with WINE" thing that I had in previous distros. Then in the KDE Menu Editor, I'm also not finding any "run via wine" parameter.

    What am I missing? There must be a way to do this. Here it is running flawlessly after being double clicked in the WineTricks File Explorer:



    I know not everything runs in WINE, but Ultralingua 6 for years has been the most perfect Windows app I've ever see run under WINE. There must be something I'm missing.

    And, hey, it's nice to be back in Kubuntu. Mint/KDE has been a great distro that the Mint folks are unfortunately casting aside. Other than this hiccup, my install and set up is going really well.

    ============
    Edit: It shrank down my first two images. Not sure why, but here are the raw links:
    https://i.postimg.cc/hPhRBCzd/Screen...615-221624.png
    https://i.postimg.cc/3J65Jgmb/Set-Up-Ultralingua.png
    Attached Files
    Last edited by Tom_ZeCat; Jun 15, 2019, 09:54 PM.
    Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
    ================================

    #2
    Not a big Wine expert, but a couple of guesses here based on the error message:

    #1 the execute command you're using isn't right (can't see the pic - it's too small).
    #2 It's a 32 bit program and you've installed or configured Wine as 64 bit.

    Please Read Me

    Comment


      #3
      Might be easier to run Windows in a VM and install whatever version you want there.

      Please Read Me

      Comment


        #4
        Originally posted by oshunluvr View Post
        Not a big Wine expert, but a couple of guesses here based on the error message:

        #1 the execute command you're using isn't right (can't see the pic - it's too small).
        #2 It's a 32 bit program and you've installed or configured Wine as 64 bit.
        I verified that WINE 32 is installed. Plus, I installed another 32-bit Windows program named Treepad, and it works fine. The difference is Treepad has an installer. My Ultralingua 6 is a portable program. It's been running when I double click the executable from the WINE file explorer. Btw, I don't know why the board made my screen shots little, but you can see them at the end of my post as plain links.
        Here, let me do them again:

        I might try purging WINE and only installing WINE32. I'm not trying to run any 64-bit Windows apps.

        https://i.postimg.cc/hPhRBCzd/Screen...615-221624.png
        https://i.postimg.cc/3J65Jgmb/Set-Up-Ultralingua.png

        Click image for larger version

Name:	Set-Up-Ultralingua.jpg
Views:	1
Size:	52.8 KB
ID:	644216
        Attached Files
        Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
        ================================

        Comment


          #5
          I assume this has something to do with how wine was integrated in your previous distros vs. kubuntu 19.04. The big question is does the command run when pasted into konsole? What error does it give? What happens if you put wine or exec wine in before the path?

          https://wiki.winehq.org/Wine_User%27...line_arguments

          My guess is the kmenu does not know how to run what you are asking it to run. Does Ultralingua.exe run when double clicked in dolphin? If not, it will not run in kmenu.
          Last edited by benny_fletch; Jun 16, 2019, 11:29 AM. Reason: Added link
          Nowadays I'm mostly Mac, but...
          tron: KDE neon User | MacPro5,1 | 3.2GHz Xeon | 48GB RAM | 250GB, 1TB, & 500GB Samsung SSDs | Nvidia GTX 980 Ti

          Comment


            #6
            It may be nothing, but have you tried double quotes ?

            And, not sure if it is cut off, but the menu entry needs to start with the wine command, then followed by the path to the executable.

            Code:
            wine "/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe"
            Plug the line above into a terminal window and see if it runs.
            You need double quotes in a linux command to work around there being spaces in the path. Not sure if single quotes will do it.

            Comment


              #7
              Originally posted by benny_fletch View Post
              I assume this has something to do with how wine was integrated in your previous distros vs. kubuntu 19.04. The big question is does the command run when pasted into konsole? What error does it give? What happens if you put wine or exec wine in before the path?

              https://wiki.winehq.org/Wine_User%27...line_arguments

              My guess is the kmenu does not know how to run what you are asking it to run. Does Ultralingua.exe run when double clicked in dolphin? If not, it will not run in kmenu.
              I just went and tested it and the results are interesting. When I surfed to the file in Dolphin and double clicked it with only WINE installed (and no Q4WINE), it pulls up the list of programs from the KDE launching menu. However, if Q4WINE is installed, it pulls up this menu:



              I can then click on the OK button from that menu and Ultralingua comes up looking like this:


              That window around it named Default Wine Desktop wasn't there in previous distros, but I could probably live with it. However, when I put that URL to KDE's menu editor, it doesn't work. It doesn't bring up that Q4WINE menu. It just complains as described in previous posts. I can also use that File Explorer that you see in Q4WINE's screen shot and surf to the executable and double click and it runs.

              As you suggested I tried running "wine ultralingua.exe" and "exec wine ultralingua.exe" from the konsole and both worked! Both brought it up like this:


              That's encouraging. I think I may be able to put it into the KDE menu editor with those parameters somehow and it might work. What's interesting is I did install a 32-bit Windows program named Treepad Business that included a setup package. That one installed and integrated into the KDE menu. I can't test it now because I've uninstalled it in the course of troubleshooting, but I will reinstall it. It does make me think if I wanted to I could dust off an old setup file creator I used to use in my programming days named The Setup Factory and make a setup.exe file for it if I had to (if that old program will still run on my Win 7 PC.) But I'm going to try this "wine ultralingua.exe" and "exec wine ultralingua.exe" first to see if I have some luck. Thanks for your help.

              Originally posted by claydoh View Post
              It may be nothing, but have you tried double quotes ?

              And, not sure if it is cut off, but the menu entry needs to start with the wine command, then followed by the path to the executable.

              Code:
              wine "/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe"
              Plug the line above into a terminal window and see if it runs.
              You need double quotes in a linux command to work around there being spaces in the path. Not sure if single quotes will do it.
              I tried that and it did not work, but thanks. It was worth trying so I could rule it out.
              Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
              ================================

              Comment


                #8
                An update: Hurrah! I've got it working. In the KDE menu editor under "Advanced," I put this as the work path:
                /home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/
                And then under "General" in "command" I put this:
                "wine ultralingua.exe"
                It works whether I use double or single quotes. Strangely, under "Advanced", I must keep "run in terminal" checked or it won't find it and won't run. I guess I could live with it always pulling up a terminal if I had to. From Q4Wine's GUI, I can also choose "winecfg" and configure how large I want it to show the font, as well as which version of Windows to mimic. I chose Windows 7. I was surprised that older versions weren't available anymore, but no worries. It's running.

                I really appreciate all the help. I was pulling out my hair.
                Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
                ================================

                Comment

                Working...
                X