Miranda under Wine: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(translated from Russian)
Line 3: Line 3:


The following article was tested in FreeBSD 10.1.
The following article was tested in FreeBSD 10.1.
== Running Miranda NG in Wine ==
== Running Miranda NG in Wine ==
=== OS Settings ===
==== BSD ====
To get {{Plugin|CrashDumper}} plugin working you need to allow debugging for non-privileged users. This could be done by adding the following to <tt>sysctl</tt>:
<pre style="overflow:auto;">
security.bsd.unprivileged_proc_debug=1
</pre>
=== Creating a separate Wine profile for Miranda ===
=== Creating a separate Wine profile for Miranda ===
Create a separate directory for Wine to store its profile for work with Miranda:
Create a separate directory for Wine to store its profile for work with Miranda:
Line 16: Line 25:


=== Initializing Wine profile ===
=== Initializing Wine profile ===
The profile should be initialized as x32.
<pre style="overflow:auto;">
<pre style="overflow:auto;">
env WINEPREFIX=$HOME/.wines/miranda/ wine winecfg
env WINEPREFIX=$HOME/.wines/miranda/ wine winecfg
Line 43: Line 53:


=== Installing Miranda NG ===
=== Installing Miranda NG ===
*Copy Miranda NG files to directory <tt>$HOME/.win_soft/Miranda_NG/</tt>, also copy your Miranda database files here, e. g. in <tt>Profiles</tt> subdirectory.
* Copy Miranda NG files to directory <tt>$HOME/.win_soft/Miranda_NG/</tt>, also copy your Miranda database files here, e. g. in <tt>Profiles</tt> subdirectory.
*Specify path to directory containing your Miranda database in <tt>ProfileDir=</tt> setting of [[mirandaboot.ini/en|mirandaboot.ini]].
* Specify path to directory containing your Miranda database in <tt>ProfileDir=</tt> setting of [[mirandaboot.ini/en|mirandaboot.ini]].
*For SSL/TLS connections support you need to install {{Plugin|OpenSSL}} plugin and libraries (x32 version) as it is described on the plugin's page.
* For SSL/TLS connections support you need to install {{Plugin|OpenSSL}} plugin and libraries (x32 version) as it is described on the plugin's page. If SSL still doesn't work, copy OpenSSL libraries to directory <tt>$HOME/.wines/miranda/drive_c/windows/system32/</tt>
* Protocol plugins from Miranda distribution: {{While|tpl=Plugin|AIM|Facebook|GG|MSN|Yahoo}} haven't been tested under Wine and may cause problems, so it's better to delete them. Add them one by one after Miranda starts successfully.
* {{Plugin|Clist_modern}} hasn't been tested either; it is recommended that you use {{Plugin|Clist_nicer}} instead.
 


=== Starting Miranda NG ===
=== Starting Miranda NG ===
Line 61: Line 74:
* Some settings cannot be viewed/changed, namely lists with icons next to checkboxes, e. g. ''Contact list → Extra icons''.
* Some settings cannot be viewed/changed, namely lists with icons next to checkboxes, e. g. ''Contact list → Extra icons''.
* Keyboard LEDs won't flash on message received event ({{Plugin|KeyboardNotify}})
* Keyboard LEDs won't flash on message received event ({{Plugin|KeyboardNotify}})
* Drag-n-Drop for file transfers. Files for sending should be placed to the directory to which Wine has access granted.
* Received files folders are opened in ugly Wine explorer.
* Received files folders are opened in ugly Wine explorer.
* Menus don't work occasionally: they close if a tooltip pops up.
* Menus don't work occasionally: they close if a tooltip pops up.

Revision as of 18:03, 9 June 2015

Linux is not a natively supported operating system, but Miranda is known to run on Linux under Wine.

The following article was tested in FreeBSD 10.1.

Running Miranda NG in Wine

OS Settings

BSD

To get CrashDumper plugin working you need to allow debugging for non-privileged users. This could be done by adding the following to sysctl:

security.bsd.unprivileged_proc_debug=1


Creating a separate Wine profile for Miranda

Create a separate directory for Wine to store its profile for work with Miranda:

mkdir -p $HOME/.wines/miranda/

If $HOME variable isn't defined, replace it with path to your profile:

mkdir -p /home/USER/.wines/miranda/


Initializing Wine profile

The profile should be initialized as x32.

env WINEPREFIX=$HOME/.wines/miranda/ wine winecfg
  • Decline installing the stuff (It's not needed to run Miranda).
  • Select Windows XP on Applications tab.
  • Click OK to close.


Installing Windows libraries into Wine profile

Copy the following DLLs from Windows XP x32 or Windows 2003 x32 to directory $HOME/.wines/miranda/drive_c/windows/system32/ (Libraries from Windows 7 x32 and higher haven't been tested):

  • msftedit.dll
  • msls31.dll
  • riched20.dll
  • riched32.dll
  • secur32.dll

Start Wine configurator again:

env WINEPREFIX=$HOME/.wines/miranda/ wine winecfg
  • On LIBRARIES tab select and add the above mentioned files.
  • On DESKTOP INTEGRATIONS tab uncheck all the items in Folder section.
  • On Drives tab select Z: and specify the path: /home/USER/.win_soft/Miranda_NG/
  • Click OK to close.


Installing Miranda NG

  • Copy Miranda NG files to directory $HOME/.win_soft/Miranda_NG/, also copy your Miranda database files here, e. g. in Profiles subdirectory.
  • Specify path to directory containing your Miranda database in ProfileDir= setting of mirandaboot.ini.
  • For SSL/TLS connections support you need to install OpenSSL plugin and libraries (x32 version) as it is described on the plugin's page. If SSL still doesn't work, copy OpenSSL libraries to directory $HOME/.wines/miranda/drive_c/windows/system32/
  • Protocol plugins from Miranda distribution: AIM, Facebook, GG, MSN, Yahoo haven't been tested under Wine and may cause problems, so it's better to delete them. Add them one by one after Miranda starts successfully.
  • Clist_modern hasn't been tested either; it is recommended that you use Clist_nicer instead.


Starting Miranda NG

env WINEPREFIX=$HOME/.wines/miranda/ LANG=en_US.UTF-8 wine $HOME/.win_soft/Miranda_NG/Miranda32.exe


Differences under Wine

Miranda NG was tested under Wine with the following plugins: Template:PluginsUnderWine

What doesn't work

  • Sometimes input language switches to English when TabSRMM window is inactive.
  • Some settings cannot be viewed/changed, namely lists with icons next to checkboxes, e. g. Contact list → Extra icons.
  • Keyboard LEDs won't flash on message received event (KeyboardNotify)
  • Drag-n-Drop for file transfers. Files for sending should be placed to the directory to which Wine has access granted.
  • Received files folders are opened in ugly Wine explorer.
  • Menus don't work occasionally: they close if a tooltip pops up.
  • Themes from Windows 7, only classic Windows XP look is available.
  • Lots of animated smileys cause high CPU usage.
  • Many smileys have got white background (was transparent in Windows).
  • Probably something else :)

What works

Everything else


More about Wine