Open with wine windows program loader

Installed wine stable, winetricks, PoL, Q4wine. No "Wine Windows Program Loader" entry on Dolphin context menu, neither on KDE launcher menu. Can only open .exe via Q4wine or console. Kubuntu 18.04(

Installed wine stable, winetricks, PoL, Q4wine. No «Wine Windows Program Loader» entry on Dolphin context menu, neither on KDE launcher menu. Can only open .exe via Q4wine or console.

Kubuntu 18.04(Almost fresh install)
linux 4.15.0-20-generic(x86_64)
Plasma 5.12.4

asked May 8, 2018 at 18:17

Lucio's user avatar

0

Actually the launcher is misplaced in Ubuntu 18+, Ubuntu made a mistake, all the other distributions based on ubuntu including linux mint inherited the bug, nobody cared to fix

Run the below command in terminal

sudo ln -s /usr/share/doc/wine-stable/examples/wine.desktop /usr/share/applications/

Now right click the windows app and click open with , you can now see open with «wine windows program loader» in the applications list.

answered Jan 18, 2019 at 4:35

Clain Dsilva's user avatar

You can remove the wine package by
sudo apt purge wine
And then install the stable version by
sudo apt install wine-stable winehq-stable
It works for me.

answered Aug 23, 2019 at 9:58

Niel Josiah's user avatar

1

I am not sure about Kubuntu, but this is a known bug in Linux Mint. This might well be the case though since Mint is based on Ubuntu.

According to the bug report (https://bugs.launchpad.net/mintmenu/+bug/714848),

«There are problems launching Wine-applications from MintMenu. Launching them from the desktop or panel works fine.

The root cause seems to be the double backslash-escaping done in the launcher-file, so «C:someprog» is encoded to «C:\someprog», and «my file» is encoded to «my file». It seems mint menu while decoding is just decoding it once, causing failure.»

This is not a wine issue according to the developers and needs to be fixed outside of wine. (https://bugs.winehq.org/show_bug.cgi?id=27706#c2)

Community's user avatar

answered Aug 13, 2018 at 4:29

lordparthurnaax's user avatar

1

Поскольку вы находитесь здесь, я предположу, что вы пользователь Linux. И время от времени вы задаетесь вопросом: могу ли я запускать приложения windows в Linux?

Ответ на этот вопрос — да, вы можете запускать приложения Windows в Linux. Вот некоторые способы запуска программ Windows в Linux:

  • Установка Windows на отдельный раздел жесткого диска
  • Установка Windows в качестве виртуальной машины в Linux

Оба они работают просто отлично. Но они несколько требовательны к ресурсам.

Если вам нужно использовать только небольшое приложение Windows, установка Windows на отдельный раздел жесткого диска или в качестве виртуальной машины неэффективна. Более того, виртуальная машина не может использовать всю мощность вашей машины. Итак, каково же решение?

Не волнуйтесь, есть другой способ использовать программное обеспечение Windows в Linux. Он называется Wine. Если вы еще не знакомы с ним или являетесь новичком в мире Linux, эта статья для вас.

В этом руководстве для начинающих я покажу вам, что такое Wine и как использовать его для запуска программ Windows в Linux. Я использовал здесь Ubuntu, поскольку Ubuntu является одним из лучших дистрибутивов Linux для начинающих, но любой другой дистрибутив Linux будет иметь более или менее те же шаги (за исключением команд в дистрибутивах на базе Arch или Fedora).

Wine означает Wine Is Not an Emulator. И WINE на самом деле является акронимом этого слова. И, как уже говорилось ранее, это даже не виртуальная машина.

Скорее это уровень совместимости для запуска приложений Windows на UNIX-подобных или POSIX-совместимых операционных системах (например, Linux, Mac, BSD). В то время как виртуальная машина или эмулятор имитирует внутреннюю логику Windows, Wine переводит эту логику Windows в родную логику UNIX/POSIX-совместимости.

Говоря простыми и нетехническими терминами, Wine преобразует внутренние команды Windows в команды, которые ваша Linux-система может понимать как родные.

Установка Wine

Существуют различные способы установки Wine на вашу систему. Поскольку это руководство для начинающих, я опишу самый простой из них.

Почти все дистрибутивы Linux поставляются с Wine в репозитории пакетов. Чаще всего в репозитории пакетов доступна последняя стабильная версия Wine. Установить Wine на Ubuntu так же просто, как открыть терминал и выполнить следующие команды:

sudo apt update
sudo apt install wine

Однако если вы используете 64-разрядную установку Ubuntu, вам потребуется выполнить эти дополнительные команды:

sudo dpkg --add-architecture i386

Это добавит поддержку 32-разрядной архитектуры в ваш дистрибутив, что поможет вам при установке определенного программного обеспечения.

Какие приложения Windows поддерживаются Wine?

Существует большое количество приложений Windows, которые в настоящее время полностью поддерживаются Wine. Они будут работать без каких-либо проблем.

Однако каждый день разрабатываются новые приложения Windows. Многие из них не будут работать в Wine так, как мы хотим. Но темпы развития Wine также стремительны, поддержка новых приложений добавляется постоянно.

И для отслеживания этого существует специальная база данных.

База данных приложений Wine содержит почти 24 000 приложений, имеющих различные статусы в зависимости от того, насколько хорошо эти приложения работают в Wine. Если вы хотите быстро проверить рейтинг приложения, которое вы хотите использовать в Wine, вы можете заглянуть туда. Вот значение этих рейтингов:

  • Platinum: Эти приложения устанавливаются и безупречно работают в «готовом» Wine.
  • Gold: Эти приложения работают безупречно с некоторыми специальными настройками.
  • Silver: Приложения с незначительными проблемами помечаются как Silver.
  • Bronze: Бронзовые имеют серьезные проблемы, которые достаточно сильно влияют на использование.
  • Garbage: Они просто не будут работать в Wine.

Отзывы, процедура установки, с какой версией Wine оно тестировалось и различные полезные данные также доступны для каждого приложения здесь.

Разумеется, база данных приложений Wine — это в основном пользовательские данные, поэтому вы всегда можете попробовать запустить приложение с другой версией Wine и поделиться своими результатами с остальными членами сообщества.

Поиск приложения в базе данных приложений Wine

Давайте посмотрим, как мы можем найти приложение в базе данных приложений Wine.

Перейдите в раздел База данных приложений Wine. Нажмите кнопку Browse Apps (Обзор приложений) на левой боковой панели.

Finding an App in Wine AppDB

Поиск приложения в Wine AppDB

Напишите имя приложения, которое вы хотите найти, в поле Имя.

Wine AppDB name filter

Фильтр имен Wine AppDB

Нажмите на ссылку-приложение из результата поиска.

Вы увидите описание приложения. Там будет список различных версий с рейтингом их совместимости с конкретной версией Wine.

Wine AppDB Application page

Страница приложения Wine AppDB

Давайте нажмем на ссылку «Последняя версия».

Это главная страница, которую вам нужно проверить. Там будет подробная информация об этой конкретной версии.

Detailed Information about Application

Подробная информация о приложении

Вы получите представление о том, что будет работать, а что нет. Также здесь будет приведена процедура установки, если для установки потребуются какие-либо дополнительные задачи.

Начало работы с Wine

Прежде чем приступить к установке и запуску приложений в Wine, мы должны иметь четкое представление о некоторых вещах и о том, как настроить Wine для использования:

WinePrefix

Приложениям Windows необходим диск C:. Wine использует для этой цели виртуальный диск C:. Каталог этого виртуального диска C: называется wineprefix. Прежде всего, нам нужно создать wineprefix. Для этого откройте терминал и введите следующую команду:

winecfg

Это создаст wineprefix и откроет окно конфигурации для Wine. Вы можете изменить параметры конфигурации, если хотите, или оставить все как есть и закрыть его. Теперь вы можете найти виртуальный диск C: по адресу

$HOME/.wine/c_drive

WinePrefix C: Drive

WinePrefix C: Диск

Общее правило — устанавливать каждое новое приложение в новый wineprefix. Мы можем создавать и поддерживать несколько wineprefix вручную. Но эта задача покажется довольно утомительной для новичков. Поэтому мы пока пропустим эту часть. Но позже я покажу, как можно легко выполнить эту часть.

Установка приложения с помощью Wine

Установка поддерживаемого приложения в Wine обычно не сложнее двойного щелчка по установочному файлу. Однако сейчас мы рассмотрим пошаговое руководство по установке 7-zip в Wine.

Прежде всего, проверьте рейтинг 7-zip в базе данных приложений Wine. Он имеет рейтинг Platinum, так что все готово. Откройте конфигурацию Wine ( winecfg ) и установите версию Windows на Windows 7.

Wine Windows 7

Wine Windows 7

Щелкните правой кнопкой мыши на установочном файле 7-zip и выберите Open With Wine Windows Program Loader.

7-zip Installation File

Установочный файл 7-zip

Видите путь к конечной папке? Установка 7-zip распознала виртуальный диск C: из wineprefix.

7zip Setup Directory on Wine

7-zip Установочный каталог в Wine

Завершите установку и перейдите в каталог установки [ $HOME/.wine/drive_c/Program Files/7-zip/ ] из браузера файлов.

Щелкните правой кнопкой мыши на файле 7zFM.exe и выберите Свойства > Открыть с помощью.

Set Default .exe Loader

Установка загрузчика .exe по умолчанию

Выберите Wine Windows Program Loader и закройте окно. Дважды щелкните на файле 7zFM.exe.

7-zip running with Wine

7-zip работает в Wine

И вот, пожалуйста! Для создания ярлыка на рабочем столе щелкните правой кнопкой мыши на файле.

Creating 7-zip shortcut

Создание ярлыка 7-zip

Теперь переместите ссылку на рабочий стол.

Move shortcut to Desktop

Переместить ярлык на рабочий стол

Теперь вы можете запускать 7-zip просто с рабочего стола. Все, что вам нужно сделать, это дважды щелкнуть по значку.

Run 7zip from desktop

Запустите 7-zip с рабочего стола

Если вы хотите получить доступ к своим файлам в Linux, они обычно находятся на диске Z:.

Linux directory in Z: drive

Каталог Linux на диске Z:

Вы можете использовать 7-zip так же, как и в Windows — для извлечения и создания архивов и тому подобного.

Давайте сделаем все (намного) проще

Вы могли заметить, что в Wine Application Database при обзоре каждой версии приложения упоминается конкретная версия Wine.

Это связано с быстрыми темпами развития Wine. Хотя приложение работает с текущей версией Wine, оно может не работать с будущей версией из-за внесенных изменений.

Кроме того, я упоминал об установке каждого приложения в свой собственный свежий wineprefix. Таким образом, у приложения нет шансов помешать другому. И делать все это вручную, как правило, из терминала, отнимает много времени, утомляет и порой сбивает с толку.

На помощь приходит PlayOnLinux. Он предоставляет удобный интерфейс для выполнения всех этих действий. Для установки PlayOnLinux на Ubuntu просто выполните эту команду:

sudo apt install playonlinux

PlayOnLinux interface

Интерфейс PlayOnLinux

С помощью PlayOnLinux вы можете легко выполнить любую задачу, связанную с Wine, используя красивый и интуитивно понятный графический интерфейс:

  • Установка и удаление приложений.
  • Создание, обновление и удаление wineprefixes.
  • Поддерживать Wine различных архитектур и версий.
  • Запуск и создание ярлыков для установленных приложений.
  • И так далее…

Но все же вам нужно будет проверить базу данных приложений Wine на предмет отзывов, процедур установки и тому подобного.

Преимущества использования Wine

Когда речь идет о запуске приложений Windows в системе Linux, Wine предоставляет множество преимуществ по сравнению с использованием эмуляторов или виртуальных машин.

  • Производительность: Wine не подвержен снижению производительности, которое в противном случае происходит при эмуляции.
  • Нативный опыт: Нет необходимости открывать Wine перед запуском приложения Windows. Как именно работает Wine, станет более понятно из этой цитаты с официального сайта,

Wine можно рассматривать как эмулятор Windows примерно так же, как Windows Vista можно рассматривать как эмулятор Windows XP: оба позволяют запускать одни и те же приложения, переводя системные вызовы примерно одинаковым образом. Настройка Wine для имитации Windows XP мало чем отличается от настройки Vista для запуска приложения в режиме совместимости с XP.

Производные Wine

Существует довольно много проектов для запуска приложений Windows на других платформах, основанных на Wine:

  • CrossOver: CrossOver разработан компанией CodeWeavers. Она основана непосредственно на Wine с некоторыми изменениями и собственными дополнениями. На самом деле, в CodeWeavers работает большая часть разработчиков Wine. В отличие от быстрых релизов Wine, релизы CrossOver более стабильны. Единственным и основным недостатком является то, что Crossover не является бесплатным.
  • PlayOnLinux: PlayOnLinux полностью основан на Wine. Он обеспечивает более легкий путь для установки и управления приложениями с помощью Wine. PlayOnLinux бесплатен. Он также доступен для Mac как PlayOnMac.
  • ReactOS: ReactOS — это совершенно другая операционная система с открытым исходным кодом для запуска приложений Windows. В ней повторно используется значительное количество кода из Wine. Однако этот проект находится в разработке уже более десяти лет, и я не стал бы его рекомендовать.

Дополнительные советы по использованию Wine

Winetricks

Это еще одна важная часть использования Wine. Winetricks — это вспомогательный скрипт для загрузки и установки различных перераспределяемых библиотек времени выполнения, необходимых для запуска некоторых приложений в Wine. Они могут включать замену компонентов Wine, использующих библиотеки с закрытым исходным кодом. Winetricks поставляется вместе с установкой Wine на Ubuntu.

Для запуска winetricks выполните эту команду:

winetricks

Winetricks

Winetricks

Существует множество вариантов помощи в решении различных задач.

Установка приложения с помощью Winetricks

Если вы установите приложение из winetricks, оно будет установлено в отдельный wineprefix. Давайте установим VLC:

Winetricks - Install an app

Winetricks – Установить приложение
Winetricks - Install VLC
Winetricks – установить VLC

После этого начнется загрузка установочных файлов VLC. А затем проведет вас через весь остальной процесс. Это довольно просто.

Установка DLL или компонентов Windows и другое

Вы можете выбрать wineprefix из winetricks и установить различные библиотеки и компоненты, необходимые для запуска приложения, а также выполнить другие операции.

Winetricks Scripts

Сценарии Winetricks
Winetricks Libraries & Components
Библиотеки и компоненты Winetricks

Примечание: Если использование winetricks кажется вам сложным, это совершенно нормально. Я тоже так считаю. По этой причине я всегда использую PlayOnLinux. PlayOnLinux может делать все, что вам может понадобиться от winetricks.

Для получения дополнительной информации вы можете ознакомиться с FAQ и документацией по Wine.

Я надеюсь, что это руководство для начинающих по использованию Wine в Linux будет вам полезно. Теперь вы можете запускать программы Windows в Linux без установки виртуальной машины или двойной загрузки.

Сообщите нам, если у вас есть вопросы или мнения, в разделе комментариев ниже.

OK FYI, in case anyone else has this problem, I found the solution after diligent searching and careful reading.

First off, I found this:
For right clicking to run an .exe file, you need wine.desktop for wine program loader to show up as an option in the «open with menu». wine.desktop still exists but is deliberately put in a «wrong» location, to restore it sudo ln -s /usr/share/doc/wine-stable/examples/wine.desktop /usr/share/applications/»

But still no «wine windows program loader,» until I found this:

«Additionally, wine also adds an integrated utility to the file managers «open with» options, so you can open a windows app through the file manager:
This is usually called wine windows program loader.
You can see it when you right click on a file go to open with and view «other applications» if it isn’t listed as on e of the 3 or 4 options in the main open with listings.
If that makes sense.»

After scrolling down a long list of applications to open my .exe program in, I found it. After using it ONE TIME, it is now the default application every time I right click an .exe file.

As you’re here, I’m going to assume that you’re a Linux user. And every once in a while, you find yourself asking: can I run windows applications on Linux?

The answer to that question is yes. Yes, you can run Windows applications in Linux. Here are some of the ways for running Windows programs with Linux:

  • Installing Windows on a separate HDD partition
  • Installing Windows as a virtual machine on Linux

Both of them work just fine. But they are somewhat resource hungry.

If you only need to use a small Windows application, installing Windows on a separate HDD partition or as a Virtual Machine is not efficient. Moreover, Virtual Machine can’t utilize the total power of your machine. So, what is the solution?

No worries, there is another way to use Windows software on Linux. It’s called Wine. If you aren’t yet familiar with it or you are a beginner in the world of Linux, this article is for you.

In this beginner’s guide, I’ll show you what Wine is and how to use it to run Windows software on Linux. I have used Ubuntu here as Ubuntu is one of the best Linux distros for beginners, but any other Linux distribution will have more or less the same steps (except for the commands in Arch or Fedora-based distros).

Using Wine to run Windows programs in Linux

Wine stands for Wine Is Not an Emulator. And WINE is actually an acronym for that. And as previously stated, it’s not even a virtual machine.

Rather it is a compatibility layer for running Windows applications on UNIX-like, POSIX-compliant operating systems (e.g. Linux, Mac, BSD). While a virtual machine or emulator simulates internal Windows logic, Wine translates those Windows logic to native UNIX/POSIX-complaint logic.

In simple and non-technical words, Wine converts internal Windows commands to commands your Linux system can natively understand.

Installing Wine

There are various ways to install Wine on your system. Almost all the Linux distros come with Wine in their package repository. Most of the time the latest stable version of Wine is available via the package repository.

If you are using a 64-bit installation of Ubuntu, you will need to add 32-bit architecture support on your distro which will benefit you in installing specific software. If you don’t know whether you have a 32-bit installation or 64-bit, check this article on how to check if you have a 32-Bit or 64-Bit Computer.

Once confirmed, do this by executing the following command:

sudo dpkg --add-architecture i386

In Ubuntu, you can install Wine by:

sudo apt update
sudo apt install wine

Get the latest WINE version (optional)

But in the case of Ubuntu 22.04 LTS, the available package in the repo is Wine v6.0.3, while the latest stable release is v7.0.1. In the case of software like Wine, which receives significant updates frequently, always try to remain in the latest stable release. To do this in Ubuntu, first, you need to add the 32-bit architecture with the above step. Then download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

In the next step, you need to download the Wine source file. For that, you need wget installed.

sudo apt install wget

Also, you should know which version of Ubuntu is running on your system. In my case, I was running Ubuntu 22.04 Jammy Jellyfish.

To know your version, run this command in a terminal window:

lsb_release -cs

Once you get your version name, replace this in place of jammy and execute the command below:

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources

Now update the package information.

sudo apt update

Finally, install the latest stable version of Wine with:

sudo apt install --install-recommends winehq-stable

You can use winehq-devel or winehq-staging for Development and Staging branch respectively.

Getting Started with Wine

Before we go on installing and running applications in Wine, we should have a clear idea about a few things and about how to configure Wine for usage:

WinePrefix

Windows applications need a C: drive. Wine uses a virtual C: drive for this purpose. The directory of this virtual C: drive is called wineprefix. First of all, you need to create a wineprefix. To do that, fire up a terminal and enter this command:

winecfg

Here it prompts you to install the Wine Mono package needed for the .NET application to work properly. You can press the Install button to do this job.

Install Wine Mono using the installer 

This will create a wineprefix and open the configuration window for Wine. You can change the configuration options or let it be as it is and close it.

Wine Configuration Window

Now, you can locate the virtual C: drive at

$HOME/.wine/c_drive

C: Drive inside the Wine directory on User’s home directory 

The general rule is to install each new application into a fresh wineprefix. You can create and maintain multiple wineprefix manually. But that task would seem rather tedious for beginners. So, we will skip that part for now. But, later I will show how to do that part with ease.

Which Windows applications are supported by Wine?

A large number of Windows applications are currently fully supported by Wine. They will run without any hassle.

However, new Windows applications are being developed every day. Many of them wouldn’t function as we want on Wine. But the development pace of Wine is also rapid, and support for new applications is being added all the time.

And there is a dedicated database for keeping track of just that.

Wine Application Database has almost 28,000+ applications rated with different statuses depending upon how well those applications run in Wine. If you want to quickly check the rating of the application you want to use in Wine, you can take a look there. Here is the meaning of those ratings:

  • Platinum: These applications install and run flawlessly in out-of-the-box Wine.
  • Gold: These applications work flawlessly with some special configurations.
  • Silver: Applications with minor issues are tagged as Silver.
  • Bronze: The Bronze ones have major issues that seriously affect usage.
  • Garbage: These simply won’t run on Wine.

Reviews, Installation Procedure, which Wine version it was tested against and various useful data are also available for each application here.

Of course, Wine Application Database is mostly user-generated data, so you are always welcome to try running an application with a different version of Wine and share your result with the rest of the community.

Finding an Application in Wine Application Database

Let’s see how we can find an application in Wine Application Database.

Go to Wine Application Database. Click Browse Apps from the left sidebar.

Browse applications in Wine Application Database using various filters like name, rating, etc.

Click on the link to the application from the search result. You’ll see a description of the application. There will be a list of various versions with their compatibility rating with a specific Wine version.

The details page for the selected application with the list of versions and their statistics

Let’s click on the latest version link. This is the main page you need to check. There will be detailed information about that specific version.

Detailed information about a particular version of the application in Wine Application Database

Installing an Application with Wine

Installing a supported application in Wine is generally as easy as double-clicking on the installation file. However, you will now see a step-by-step guide for installing 7-zip on Wine.

First of all, check for 7-zip rating on Wine Application Database. It has a Platinum rating, so we are good to go. Open Wine configuration ( winecfg ) and set the Windows Version to Windows 7 (Shown in the above screenshot).

Right-click on the 7-zip installation file and select the Open With Other Application option.

Select Open With Other Application option from right-click context menu

After that, select Wine Windows Program Loader.

Select Wine Windows Program Loader as the application to open .exe type files

See that destination folder path? The 7-zip installation has recognized the virtual C: drive from wineprefix.

Select Install in the 7-zip installer to install the program

Finish the installation and you can now open the 7-zip application from the Ubuntu Activities overview.

Open 7-zip from Ubuntu Activities Overview

All you have to do is click on the icon. If you want to access your files on Linux, they are generally located in Z: Drive.

7-zip list the contents of users’ home directory

You can use the 7-zip just as you would use it on Windows – for extracting and creating archives and such.

Uninstalling an Application with Wine

As said above, installing an application is easier with Wine. To uninstall an application, you have a Wine Uninstaller tool. You can access this tool by entering the terminal:

wine uninstaller

This will open the uninstaller window. Here, the list of installed applications will be present. You need to select the application, 7-zip in this case, and press Modify/Remove button as shown below:

Modify/Remove an application installed using the Wine Uninstaller tool

This will initiate the uninstall process and can be completed easily on an application basis.

Let’s make things (a lot) Easier

You might have noticed that, in Wine Application Database, a specific Wine version is mentioned with every version of the application reviews.

It is because of the rapid development rate of Wine. Though an application runs with the current version of Wine, it might not run with a future version, because of the changes made.

Also, I’ve mentioned installing each application in its own fresh wineprefix. So, an application has no chance of interfering with another. And doing all these manually, usually from the terminal, is time-consuming, tiresome, and sometimes confusing.

PlayOnLinux is here to rescue you. It provides a nice interface for doing all these things easily. For installing PlayOnLinux on Ubuntu, simply run this command:

sudo apt install playonlinux

PlayOnLinux Interface

You can easily perform every task related to Wine with PlayOnLinux from a beautiful and intuitive graphical interface:

  • Installing & Uninstalling applications.
  • Creating, Updating & Removing wineprefixes.
  • Maintain Wine of different architecture and versions.
  • Run & Create shortcuts for installed applications.
  • And so on…

But still, you will need to check Wine Application Database for reviews, installation procedures, and such.

Advantages of using Wine

When it comes to running Windows applications on Linux systems, Wine provides many advantages over using emulators or virtual machines.

  • Performance: Wine is immune to the performance loss that otherwise occurs while emulating.
  • Native Experience: There is no need to open Wine before running a Windows application. Exactly how Wine works will be clear from this quote from the official site,

Wine can be thought of as a Windows emulator in much the same way that Windows Vista can be thought of as a Windows XP emulator: both allow you to run the same applications by translating system calls in much the same way. Setting Wine to mimic Windows XP is not much different from setting Vista to launch an application in XP compatibility mode.

Wine Derivatives

There are quite a number of projects for running Windows applications on other platforms, based on Wine:

  • CrossOver: CrossOver is developed by the company named CodeWeavers. It is directly based on Wine with a few tweaks and proprietary add-ons. In fact, CodeWeavers employs a large portion of Wine developers. Unlike the rapid releases of Wine, CrossOver releases are more stable. The one major downside is that Crossover is not free.
  • PlayOnLinux: PlayOnLinux is completely based on Wine. And provides an easier route for installing and managing applications with Wine. PlayOnLinux is free. It is also available for Mac as PlayOnMac.
  • Bottles: Bottles app got huge popularity recently, because of its ease of use and various other life-saving features. It is available as a flatpak to install on all Linux distributions. You can run Applications and Games inside bottles.
  • ReactOS: ReactOS is an entirely different open-source operating system for running Windows applications. It reuses a considerable amount of codes from Wine. However, this is a project under development for more than a decade and I won’t recommend it.

Purchase CrossOver Through the CodeWeavers Store Today!

Buy CrossOver Mac and CrossOver Linux through the CodeWeavers store. Choose from 12 month and lifetime license plans. Renewals are also available for purchase.

CodeWeavers

Additional Tips on using Wine

Winetricks

This is another important part of using Wine. Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some applications in Wine. These may include replacements for components of Wine using closed-source libraries. Winetricks comes with Wine installation on Ubuntu through the package manager.

For starting winetricks, run this command:

winetricks

If you have installed Wine from Wine official repository, you may need to install winetricks separately.

To do this, open a terminal and enter the following commands:

cd "${HOME}/Downloads"
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks

Now open Winetricks with:

./winetricks

Winetricks interface

There are many options for helping you with various tasks.

Installing an Application with Winetricks

If you Install an app from winetricks, it will be installed in a separate wineprefix. Let’s install VLC:

So, select install an app from the options and click OK:

Select the Install an Application option and press OK to install a new application using Winetricks

Now select VLC from this list:

Select an application available from the list to install

It will then begin to download the VLC installation files. And then guide you through the rest of the process. It’s pretty simple.

Install Windows DLL or components and others

You can select a wineprefix from winetricks and install various libraries and components required by the application you want to run and also perform other operations.

Select the Install a Windows DLL or Component option from Winetricks 

And then select the required DLL or component to install:

Select the required DLL from the list

📋

N.B.: If using winetricks seems complicated to you, it’s perfectly okay. I feel the same way too. I always use PlayOnLinux for this reason. PlayOnLinux can do everything you might need to do from winetricks.

For more information, you can check Wine FAQ and Documentation.

I hope you find this complete beginner’s guide to using Wine in Linux helpful. Now you can run Windows programs in Linux without installing a virtual machine or dual booting.

Let us know if you have any questions or opinions in the comment section below.

Когда Linux был первоначально обнародован, в нем отсутствовали многие полезные приложения, которые успешно запускал основной конкурент -Microsoft Windows. Поэтому Linux создал слой совместимости под названием Wine, с помощью которого можно запускать приложения Windows в Linux. Изначально Wine мог запускать только несколько приложений Windows, но теперь он может поддерживать тысячи из них, что делает его очень мощным приложением для Linux.

В этой статье мы опишем, как установить и использовать Wine на Ubuntu для установки Windows-приложений.

Содержание

  1. Установка Wine на Ubuntu
  2. Поиск необходимого вам приложения Windows
  3. Загрузка и использование приложения Windows с помощью Wine
  4. Удаление Wine

Установка Wine на Ubuntu

В репозитории WineHQ есть набор стандартных пакетов Wine, которые вы можете загрузить и установить в своей системе. Для этого выполните следующие шаги:

1. Выполните следующую команду в Терминале для добавления архитектуры i386 перед установкой 64-битной версии Wine:

sudo dpkg --add-architecture i386

2. Выполните следующие действия, чтобы добавить ключ подписи WineHQ:

wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add -

Вы можете скопировать эту команду из этого руководства вместо того, чтобы набирать ее в Терминале. Выберите и скопируйте эту команду отсюда, щелкните правой кнопкой мыши в приглашении Терминала и выберите в меню пункт Вставить. Вы также можете использовать сочетание клавиш Ctrl+Shift+V, чтобы вставить скопированный текст.

3. Теперь выполните следующую команду, чтобы добавить соответствующий репозиторий из WineHQ:

sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ artful main'

Добавить репозиторий

Если в процессе получаем предупреждение

W: http://dl.winehq.org/wine-builds/ubuntu/dists/artful/InRelease: 
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

выполняем команду

apt-key export F987672F | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/winehq.gpg
apt-key export 5FCBF54A | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/winehq-packages.gpg

после чего

4. Здесь у вас есть два варианта, какой релиз Wine вы хотите установить: стабильную версию или версию для разработки.

WineHQ Stable: Это самая последняя и стабильная версия Wine. Для установки этой версии используйте следующую команду:

sudo apt-get install --install-recommends winehq-stable

Установка пакета winehq-stable на Ubuntu

Пожалуйста, введите Y, когда появится запрос на выбор y/n для установки. После этого стабильная версия Wine будет установлена в вашей системе.

WineHQ Development: Это самая последняя версия Wine, но она может быть не очень стабильной. Как разработчик, вы можете быть более заинтересованы в установке этой версии.

sudo apt-get install --install-recommends winehq-devel

Пожалуйста, введите Y, когда появится запрос на выбор Y/n для установки. После этого версия Wine для разработки будет установлена в вашей системе. Процесс может занять некоторое время в зависимости от скорости вашего интернета.

5. Для проверки установки и проверки того, какая версия установлена на вашей системе, выполните следующую команду:

Проверка версии программного обеспечения Wine

Поиск необходимого вам приложения Windows

Важно, чтобы в вашей системе была установлена последняя версия Wine, поскольку разработчики Wine постоянно работают над добавлением поддержки все большего количества приложений Windows. На официальном сайте Wine поддерживается список всех приложений, которые в настоящее время поддерживаются Wine. Вот ссылка на сайт:

https://appdb.winehq.org/

Вы можете просмотреть список поддерживаемых приложений и узнать, насколько хорошо они будут работать в Wine. На это указывает значение рейтинга, который может варьироваться от Platinum (лучший), Gold, Silver, Bronze до Garbage (не будет работать в Wine). Кроме того, вы можете посмотреть, на какой версии Wine тестировались приложения.

На сайте WineHQ найдите ссылку Browse Apps, расположенную в левой части страницы.

В данном примере я ищу Notepad++, введя ключевые слова в фильтр Name. Результаты поиска отображают нужное мне приложение следующим образом?

Проверьте, поддерживается ли нужное приложение в wine

Здесь я могу нажать на соответствующий результат поиска, чтобы просмотреть все версии искомого программного обеспечения, поддерживаемые Wine.

Посмотреть, какая версия WINE поддерживает, например, Notepad++

Описание, последняя оценка, последняя протестированная версия Wine, результаты тестирования и комментарии к версии могут помочь вам решить, какую версию программы вы хотите установить.

Если вы нажмете на номер версии, вы получите еще более подробную страницу о приложении.

Я бы выбрал версию 8.x, так как она лучше всего подходит для моих нужд, основываясь на рейтинге и последней протестированной версии wine.

Проверьте подробную информацию о Notepad++ в базе данных поддержки wine

Загрузка и использование приложения Windows с помощью Wine

На вышеуказанной странице приведен URL-адрес, с которого я могу свободно скачать необходимую версию Notepad++.

Я выбрал пакет загрузки в формате 7z. По умолчанию пакет загрузки будет сохранен в папке «Загрузки». Оттуда вы можете щелкнуть правой кнопкой мыши на файле 7z и выбрать в меню пункт «Extract here».

Вот содержимое извлеченной папки:

Скачать Notepad++

Щелкните правой кнопкой мыши на файле notepad++.exe и вы сможете увидеть опцию «Open With Wine Windows Program Loader», как показано ниже:

Открыть приложение с помощью Wine

Выберите эту опцию, и вы сможете просматривать и использовать приложение Notepad++ следующим образом:

Редактор Notepad++, запущенный на Ubuntu Linux

Удаление Wine

Если вы хотите удалить Wine из вашей системы, выполните следующую команду в терминале Ubuntu:

sudo apt-get purge winehq-stable

Вам также нужно будет выполнить следующие команды, чтобы полностью удалить установку и соответствующие папки:

rm ~/.config/wine/ -rf
rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm

Следуя той же процедуре, которая описана в этой статье для использования Notepad++, вы можете загрузить и использовать любое другое Windows-приложение с поддержкой Wine, которое иначе казалось невозможным запустить на Ubuntu.

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Specialised Support
  • Wine
  • How to get Wine Windows Program Loader to open a program automatically?

  1. How to get Wine Windows Program Loader to open a program automatically?

    Right now if I double left click a program it launches Archive Manager and gives me an error. Only way I can run programs in the «Browse Crive» is by right clicking, choosing «Open With Wine Windows Program Loader.»

    Can I have this done automatically? I would also love to make shortcuts on my desktop of these wine programs. Can I?

    I am using Ubuntu 12.10. Thank you.

    Ubuntu Studio 18.10 — i5-3470 — 8GB Corsair — Geforce GT 710 —
    Samsung 250GB SSD


  2. Re: How to get Wine Windows Program Loader to open a program automatically?

    Yes, you just have to change the default application to open the file. Just right click the file, click «Properties», Click the «Open With» tab, select «wine» and click «Set as Default».

    «You can’t expect to hold supreme executive power just because some watery tart lobbed a sword at you»

    «Don’t let your mind wander — it’s too little to be let out alone.»


  3. Re: How to get Wine Windows Program Loader to open a program automatically?

    Tried that, only Archive Manager is shown. If I click «Show other applications» it lists about 20 applications, none of them being Wine?

    Ubuntu Studio 18.10 — i5-3470 — 8GB Corsair — Geforce GT 710 —
    Samsung 250GB SSD


  4. Re: How to get Wine Windows Program Loader to open a program automatically?

    Did you install wine through the repositories?

    «You can’t expect to hold supreme executive power just because some watery tart lobbed a sword at you»

    «Don’t let your mind wander — it’s too little to be let out alone.»


  5. Re: How to get Wine Windows Program Loader to open a program automatically?

    Yeah and they work when I right click and choose Wine. When I type Wine this is what I get:

    Is this installed correctly?

    Ubuntu Studio 18.10 — i5-3470 — 8GB Corsair — Geforce GT 710 —
    Samsung 250GB SSD


  6. Re: How to get Wine Windows Program Loader to open a program automatically?

    Looks like it, let’s compare a few things between our systems, what does your mimeapps.list look like and do you have a wine.desktop file?

    Code:

    cat ~/.local/share/applications/mimeapps.list

    Code:

    ls /usr/share/applications | grep wine

    «You can’t expect to hold supreme executive power just because some watery tart lobbed a sword at you»

    «Don’t let your mind wander — it’s too little to be let out alone.»


  7. Re: How to get Wine Windows Program Loader to open a program automatically?

    Same problem here.
    How does one add Wine to the list of application ?


  8. Re: How to get Wine Windows Program Loader to open a program automatically?

    Quote Originally Posted by jerome1232
    View Post

    Looks like it, let’s compare a few things between our systems, what does your mimeapps.list look like and do you have a wine.desktop file?

    Code:

    cat ~/.local/share/applications/mimeapps.list

    Code:

    ls /usr/share/applications | grep wine

    Here’s what I have:

    Code:

    cat ~/.local/share/applications/mimeapps.list
    [Added Associations]
    application/x-shellscript=gedit.desktop;
    application/octet-stream=google-chrome.desktop;
    x-scheme-handler/http=firefox.desktop;
    x-scheme-handler/https=firefox.desktop;
    x-scheme-handler/ftp=firefox.desktop;
    x-scheme-handler/chrome=firefox.desktop;
    text/html=firefox.desktop;
    application/x-extension-htm=firefox.desktop;
    application/x-extension-html=firefox.desktop;
    application/x-extension-shtml=firefox.desktop;
    application/xhtml+xml=firefox.desktop;
    application/x-extension-xhtml=firefox.desktop;
    application/x-extension-xht=firefox.desktop;
    application/x-msdownload=gedit.desktop;
    
    [Removed Associations]
    
    [Default Applications]
    x-scheme-handler/http=firefox.desktop
    x-scheme-handler/https=firefox.desktop
    x-scheme-handler/ftp=firefox.desktop
    x-scheme-handler/chrome=firefox.desktop
    text/html=firefox.desktop
    application/x-extension-htm=firefox.desktop
    application/x-extension-html=firefox.desktop
    application/x-extension-shtml=firefox.desktop
    application/xhtml+xml=firefox.desktop
    application/x-extension-xhtml=firefox.desktop
    application/x-extension-xht=firefox.desktop

    Code:

    ls /usr/share/applications | grep wine
    q4wine.desktop
    wine-browsedrive.desktop
    wine.desktop
    wine-notepad.desktop
    wine-uninstaller.desktop
    wine-winecfg.desktop
    wine-winetricks.desktop

    *Edit*
    I fixed it by opening ~/.local/share/applications/mimeapps.list and setting wine.desktop as default for application/x-ms-dos-executable

    Last edited by Enkouyami; January 5th, 2013 at 11:10 PM.

    Reason: I fixed the problem


  9. Re: How to get Wine Windows Program Loader to open a program automatically?

    Glad it was that simple and that this thread at least helped someone

    I assume you added a line like this under the [Added Associations] section and saved the file?

    Code:

    application/x-ms-dos-executable=wine.desktop;

    Did you have to reboot or logout out/ log back in for the changes to take affect?

    «You can’t expect to hold supreme executive power just because some watery tart lobbed a sword at you»

    «Don’t let your mind wander — it’s too little to be let out alone.»


  10. Re: How to get Wine Windows Program Loader to open a program automatically?

    I know this is an old thread, but this is exactly what I was looking for and helped me out alot.

    I’m on Linux Mint 14 64-Bit (Cinnamon) and was able to add the line

    Code:

    application/x-ms-dos-executable=wine.desktop

    to my ~/.local/share/applications/mimeapps.list file and Wine showed up as the default program.

    I really hate how difficult it is to add a default program to the list otherwise. There is no «browse to» option in the GUI interface, and that’s pretty inconvenient for anyone coming from Windows, but that’s a conversation for another thread.

    Thanks for posting the solution, OP!!

    Laptop HP Pavillion dv7-3060US running Linux Mint 14 x64 (Cinnamon Desktop)


Bookmarks

Bookmarks


Posting Permissions

Wine — это уровень совместимости с открытым исходным кодом, который позволяет запускать приложения Windows в Unix-подобных операционных системах, таких как Linux, FreeBSD и macOS. Wine — это аббревиатура от «Wine Is Not an Emulator». Он преобразует системные вызовы Windows в эквивалентные вызовы POSIX, используемые операционными системами на основе Unix, что позволяет легко интегрировать программы Windows в среду рабочего стола.

Не все приложения Windows будут работать в Wine, и даже если они это сделают, они могут вести себя иначе, чем обычно. Wine AppDB — это база данных, содержащая список приложений, которые были протестированы и подтверждены для работы под Wine.

Wine не всегда лучший вариант для запуска программ Windows в Linux. Вы также можете использовать инструмент виртуализации, такой как VirtualBox или VMware , но для них требуется больше системных ресурсов и установочный файл Windows.

В этой статье описывается, как установить Wine на Ubuntu 20.04. Мы покажем вам, как установить дистрибутив по умолчанию версии 5.0 и последней версии 6.x из репозиториев WineHQ. Те же инструкции применимы для любого дистрибутива на основе Ubuntu, включая Zorin OS, Linux Mint и Elementary OS.

Установка Wine 5.0 на Ubuntu

Пакеты Wine включены в репозитории Ubuntu по умолчанию и могут быть легко установлены с помощью диспетчера пакетов apt Это самый простой способ установить Wine на Ubuntu. Однако версия дистрибутива может отставать от последней версии Wine.

Большинство приложений Windows построено на 32-битной архитектуре. Первый шаг — включить мультиархитектуру, что позволит вам установить на машину как 64-битные, так и 32-битные пакеты:

sudo dpkg --add-architecture i386sudo apt update

Установите Wine:

sudo apt install wine64 wine32

После завершения установки проверьте это, распечатав версию Wine:

wine --version

Текущая версия Wine, доступная в репозиториях Ubuntu 20.04, — 5.0 .

wine-5.0 (Ubuntu 5.0-3ubuntu1)

Вот и все. Wine установлен на ваш компьютер, и вы можете начать его использовать.

Установка Wine 6.0 на Ubuntu

В этом разделе мы предоставим пошаговые инструкции о том, как установить Wine версии 6 на Ubuntu 20.04.

Если вы используете 64-битную систему Ubuntu, включите 32-битную архитектуру и обновите список пакетов:

sudo dpkg --add-architecture i386sudo apt update

Импортируйте GPG-ключ репозитория WineHQ:

wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Добавьте репозиторий WineHQ в вашу систему:

sudo apt install software-properties-commonsudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"

Установите Wine, набрав:

sudo apt install --install-recommends winehq-stable

Это установит кучу пакетов. После завершения проверьте установку Wine, набрав:

wine --version

На момент написания этой статьи последним основным выпуском Wine была версия 6.0:

wine-6.0

Wine установлен и готов к использованию.

Настройка Wine

Чтобы начать настройку Wine, запустите команду winecfg в своем терминале. Команда устанавливает Mono и Gecko и устанавливает среду Wine:

winecfg

Появится диалоговое окно с вопросом, хотите ли вы установить пакет wine-mono:

Нажмите кнопку «Установить», и установка начнется. После этого появится новое диалоговое окно с предложением установить Gecko. Снова нажмите кнопку «Установить».

Когда установка будет завершена, отобразится диалоговое окно конфигурации Wine. Здесь вы можете настроить различные параметры Wine. В большинстве случаев достаточно настроек по умолчанию. По завершении закройте диалоговое окно.

Установка Notepad ++ в Ubuntu

Теперь, когда Wine установлен и настроен, мы объясним, как устанавливать приложения Windows на вашу Ubuntu.

В этом руководстве мы покажем вам, как установить Notepad ++, один из самых популярных текстовых редакторов Windows. Запустите браузер и загрузите установочный файл со страницы загрузки Notepad ++ .

После завершения загрузки запустите установку, щелкнув правой кнопкой мыши .exe и выбрав «Открыть с помощью Wine Windows Program Loader».

Мастер установки запустится, выберет язык и установит Notepad ++ так же, как и любое приложение на компьютере с Windows.

Приложения Windows устанавливаются в ~/.wine/drive_c/ .

Чтобы запустить редактор Notepad ++, перейдите в ~/.wine/drive_c/Program Files (x86)/Notepad++ и дважды щелкните файл notepad++.exe

Вы также можете запустить приложение из панели поиска Действия.

Вывод

Мы показали вам, как установить Wine на рабочий стол Ubuntu 20.04 и как устанавливать приложения Windows.

Если вы столкнулись с проблемой или хотите оставить отзыв, оставьте комментарий ниже.

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

throatgorge

Level 2
Level 2
Posts: 97
Joined: Fri Mar 28, 2014 1:01 pm

SOLVED how come I can no longer locate, install or use «wine windows program loader»?

I’ve searched repeatedly for answers, on winehq forums, on ubuntu threads. here. NOW I will ask.
My system: linux mint xfce 19 64 bit.
I’ve had to re-install linux a few times since the last time I got WINE to work.
Using WINE was a piece of cake a couple of years ago. I’d open the software manager, install WINE, then install «wine windows program loader» and I had lots of windows programs up and running in a flash. NOW there is absolutely NO «wine windows program loader» in the software manager and I can’t seem to find any information whatsoever on how to get it.
Winetricks doesn’t seem to allow me to install my own software. Play on Linux doesn’t do anything useful either.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

throatgorge

Level 2
Level 2
Posts: 97
Joined: Fri Mar 28, 2014 1:01 pm

Re: how come I can no longer locate, install or use «wine windows program loader»?

Post

by throatgorge » Sat Dec 22, 2018 3:34 pm

thanks, I’ve done all that, which got me «E: Unable to locate package winehq-stable.» That isn’t my problem. I’ve installed and removed WINE six ways to Sunday. What I am missing is «Wine Windows Program Loader…» Which allows me to install a program by right clicking it, «open with Wine Windows Program Loader» and simply launch it again by finding it in my list of programs and clicking it.
A very useful program to suddenly not be found anywhere. Winehq says it’s in Ubuntu repositories, not theirs. When I try to add: ppa:ubuntu-wine/ppa it tells me «cannot add PPA. this ppa does not support bionic.»
What a rabbit hole!
It would be really simple if I could just find «wine windows program loader» in the freakin «Software Manager» LIKE I USED TO!!!!
Am I supposed to guess?
sudo apt-get-install wine-windows-program-loader
sudo apt-get-install WINE-windows-program-loader
sudo apt-get-install winewindowsprogramloader
and on and on and on until I get the correct package?

HaveaMint

Level 6
Level 6
Posts: 1087
Joined: Fri Feb 02, 2018 9:56 pm

Re: how come I can no longer locate, install or use «wine windows program loader»?

Post

by HaveaMint » Sat Dec 22, 2018 5:07 pm

throatgorge wrote: ↑

Sat Dec 22, 2018 3:34 pm


thanks, I’ve done all that, which got me «E: Unable to locate package winehq-stable.» That isn’t my problem. I’ve installed and removed WINE six ways to Sunday. What I am missing is «Wine Windows Program Loader…» Which allows me to install a program by right clicking it, «open with Wine Windows Program Loader» and simply launch it again by finding it in my list of programs and clicking it.
A very useful program to suddenly not be found anywhere. Winehq says it’s in Ubuntu repositories, not theirs. When I try to add: ppa:ubuntu-wine/ppa it tells me «cannot add PPA. this ppa does not support bionic.»
What a rabbit hole!
It would be really simple if I could just find «wine windows program loader» in the freakin «Software Manager» LIKE I USED TO!!!!
Am I supposed to guess?
sudo apt-get-install wine-windows-program-loader
sudo apt-get-install WINE-windows-program-loader
sudo apt-get-install winewindowsprogramloader
and on and on and on until I get the correct package?

Did you run winecfg in the terminal which will install additional things?

«Tune for maximum Smoke and then read the Instructions».

sgtor

Level 4
Level 4
Posts: 334
Joined: Sat May 13, 2017 9:39 pm

User avatar

smurphos

Level 18
Level 18
Posts: 8536
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: how come I can no longer locate, install or use «wine windows program loader»?

Post

by smurphos » Sun Dec 23, 2018 4:03 am

throatgorge wrote: ↑

Sun Dec 23, 2018 3:38 am


I keep reading article after article saying «now right click on the program you wish to install and select ‘wine windows program loader.'»
All I got is «mono runtime» which does absolutely NOTHING. Why is it so hard to get WINE to act the way it did on my last install?

Debian broke it, Ubuntu didn’t fix it, Mint 19 inherited the mess. It’s fixed in Mint 19.1.

For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

throatgorge

Level 2
Level 2
Posts: 97
Joined: Fri Mar 28, 2014 1:01 pm

Re: SOLVED how come I can no longer locate, install or use «wine windows program loader»?

Post

by throatgorge » Sun Dec 23, 2018 4:08 am

OK I found THIS: «
For right clicking to run an .exe file, you need wine.desktop for wine program loader to show up as an option in the «open with menu». wine.desktop still exists but is deliberately put in a «wrong» location, to restore it sudo ln -s /usr/share/doc/wine-stable/examples/wine.desktop /usr/share/applications/»

which didn’t seem to do anything… until I read this:

«Additionally, wine also adds an integrated utility to the file managers «open with» options, so you can open a windows app through the file manager:
This is usually called wine windows program loader.
You can see it when you right click on a file go to open with and view «other applications» if it isn’t listed as on e of the 3 or 4 options in the main open with listings.
If that makes sense.»

Well, I had to scroll down to the very bottom of the list, but there it was!!!! and it worked!

So, in summary— the solution is: sudo ln -s /usr/share/doc/wine-stable/examples/wine.desktop /usr/share/applications/
then:
You can see it when you right click on a file go to open with and view «other applications» if it isn’t listed as on e of the 3 or 4 options in the main open with listings.

Thanks for your helpful comments— I hope the solution I found saves someone the headache I just faced!

sgtor

Level 4
Level 4
Posts: 334
Joined: Sat May 13, 2017 9:39 pm

Re: SOLVED how come I can no longer locate, install or use «wine windows program loader»?

Post

by sgtor » Sun Dec 23, 2018 1:30 pm

I’m glad you managed to fix it. I wanted you to post those results to see what you’ve actually got installed. I remember I had a lot of trouble getting mine to work but it does work fine.
The one thing you don’t have installed that I do is wine64. If you run into trouble again try installing that as well.

Then when you right click on a windows program installer you choose «open with / other application».
From there you might need to choose «use a custom command», browse for it /usr/bin/wine

You can then run winecfg as well.

Tomakin

Level 1
Level 1
Posts: 5
Joined: Mon Feb 18, 2019 7:13 am

pbear

Level 16
Level 16
Posts: 6560
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: SOLVED how come I can no longer locate, install or use «wine windows program loader»?

Post

by pbear » Thu Feb 21, 2019 1:00 am

Following up, as several folks have bookmarked this excellent thread (nice piece of sleuthing, throatgorge), be aware the problem described here was fixed in Wine 4.0, the version one gets if downloading directly from WineHQ (link in the preceding post). So, installation from repo (which is version 3.0) is easier and safer, but won’t have the right-click program loader unless and until one creates a symlink as described above. Conversely, direct install has the program loader and gets a more recent version (whether the latter is important depends on the Windows app sought to be installed), but can be confusing for new users (hint: take a Timeshift snapshot first, so you can revert the system if things go sideways).

Понравилась статья? Поделить с друзьями:
  • Open windows and check printhead cover is properly closed
  • Open vpn скачать на пк бесплатно windows 10
  • Open vpn скачать бесплатно для windows 7
  • Open transactions rus скачать для windows
  • Open the windows and open the door