Upgrade to 22.04 broke WINE
I went a few months unable to run my favorite program, Ultralingua 6, from WINE. Strangely, other Windows apps still ran in WINE, but then another one, Treepad Business, also quit running. To run Ultralingua 6 (which is pretty old), I installed Windows 2000 under VirtualBox. Then at least I could run it. But I missed the days when I could just run Ultralingua directly in Kubuntu.
I can, once again. The key was to purge-uninstall WINE and everything related to it (like Winetricks and Q4Wine) and then to install the latest WINE, version 8.0. However, then I could only run a WINE app by double clicking on its exe file. However, Q4Wine helped me to get it running from a desktop icon and from the program launcher. My problem is solved, so what would I post about it? I'm posting in detail what worked so that it might end up helping another *buntu user. Plus, I welcome any comments. I don't fully understand what happened or why this worked, but I'm thrilled to have found a solution. I'm also including some screenshots at the end.
Here's what I did:
1. With Muon package manager, I purge-unintalled WINE and everything pertaining to it. One thing didn't let me purge, so I just went with "remove" for it.
2. I command-line installed the latest version of WINE (8.0 at present). (https://tipsonunix.com/2023/01/26/ho...tu-linux-mint/)
3. At this point Ultralingua, and other Windows programs, would run, but only if I double clicked on their exe file from Dolphin. Programs would not run from KDE's launcher.
4. Installed Q4Wine (and other WINE-helper programs like PlayOnLinux), though I think it's Q4Wine that fixed things.
5. I double clicked on Ultralingua's exe file, and it wanted to run from Q4Linux. Q4Linux put Ultralingua's icon in Q4Linux's interface.
6. At this point, I was able to run Ultralingua by clicking on its icon within Q4Linux's interface, but I wanted to be able to run it from the desktop and the launcher.
7. I therefore drag and dropped Ultralingua's icon from Q4Linux's interface to the desktop.
8. At this point, I could run Ultralingua from its desktop icon, but not from the launcher.
9. I therefore right clicked on the Ultralingua desktop icon and chose "properties". I then clicked on the Applications tab and found the command that QT had created for Ultralingua. I copied that into a text file. (It was: /usr/bin/q4wine-cli -p "Default" -d "system" -i "ultralingua" %f)
10. I then right-clicked on KDE's launch icon (start button) and chose "Edit Applications". I went into Education ==> Languages and found the Ultralingua entry I had created before.
11. I replaced the "browse to" command line I had created before with the command that Q4Linux had created for the desktop.
And, voilà! It all works now.
The path which did not work with a desktop icon or with the launcher was this:
/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe
The one that worked was this:
/usr/bin/q4wine-cli -p "Default" -d "system" -i "ultralingua" %f
I'm at a loss to understand why WINE quit working from the upgrade or why, after I installed WINE 8 could I double click on Ultralingua's exe file, but that direct link to the EXE would not work in the program launcher. If anyone knows, I'm all ears.
Some other programs installed before the upgrade would no longer run from the launcher, but using Q4Wine to create a desktop icon, and then getting its link worked for them as well.
Here are some screen shots:
Running a Windows app from WINE 8.0 now has a very different interface. On the left is Ultralingua 6 running under WINE 8. On the 8 is it running from Windows 2000.
Here's Q4Wine's interface:
I went a few months unable to run my favorite program, Ultralingua 6, from WINE. Strangely, other Windows apps still ran in WINE, but then another one, Treepad Business, also quit running. To run Ultralingua 6 (which is pretty old), I installed Windows 2000 under VirtualBox. Then at least I could run it. But I missed the days when I could just run Ultralingua directly in Kubuntu.
I can, once again. The key was to purge-uninstall WINE and everything related to it (like Winetricks and Q4Wine) and then to install the latest WINE, version 8.0. However, then I could only run a WINE app by double clicking on its exe file. However, Q4Wine helped me to get it running from a desktop icon and from the program launcher. My problem is solved, so what would I post about it? I'm posting in detail what worked so that it might end up helping another *buntu user. Plus, I welcome any comments. I don't fully understand what happened or why this worked, but I'm thrilled to have found a solution. I'm also including some screenshots at the end.
Here's what I did:
1. With Muon package manager, I purge-unintalled WINE and everything pertaining to it. One thing didn't let me purge, so I just went with "remove" for it.
2. I command-line installed the latest version of WINE (8.0 at present). (https://tipsonunix.com/2023/01/26/ho...tu-linux-mint/)
3. At this point Ultralingua, and other Windows programs, would run, but only if I double clicked on their exe file from Dolphin. Programs would not run from KDE's launcher.
4. Installed Q4Wine (and other WINE-helper programs like PlayOnLinux), though I think it's Q4Wine that fixed things.
5. I double clicked on Ultralingua's exe file, and it wanted to run from Q4Linux. Q4Linux put Ultralingua's icon in Q4Linux's interface.
6. At this point, I was able to run Ultralingua by clicking on its icon within Q4Linux's interface, but I wanted to be able to run it from the desktop and the launcher.
7. I therefore drag and dropped Ultralingua's icon from Q4Linux's interface to the desktop.
8. At this point, I could run Ultralingua from its desktop icon, but not from the launcher.
9. I therefore right clicked on the Ultralingua desktop icon and chose "properties". I then clicked on the Applications tab and found the command that QT had created for Ultralingua. I copied that into a text file. (It was: /usr/bin/q4wine-cli -p "Default" -d "system" -i "ultralingua" %f)
10. I then right-clicked on KDE's launch icon (start button) and chose "Edit Applications". I went into Education ==> Languages and found the Ultralingua entry I had created before.
11. I replaced the "browse to" command line I had created before with the command that Q4Linux had created for the desktop.
And, voilà! It all works now.
The path which did not work with a desktop icon or with the launcher was this:
/home/tom/.wine/drive_c/Program Files (x86)/Ultralingua 6/ultralingua.exe
The one that worked was this:
/usr/bin/q4wine-cli -p "Default" -d "system" -i "ultralingua" %f
I'm at a loss to understand why WINE quit working from the upgrade or why, after I installed WINE 8 could I double click on Ultralingua's exe file, but that direct link to the EXE would not work in the program launcher. If anyone knows, I'm all ears.
Some other programs installed before the upgrade would no longer run from the launcher, but using Q4Wine to create a desktop icon, and then getting its link worked for them as well.
Here are some screen shots:
Running a Windows app from WINE 8.0 now has a very different interface. On the left is Ultralingua 6 running under WINE 8. On the 8 is it running from Windows 2000.
Here's Q4Wine's interface:
Comment