Disclaimer : English is not my native language. Feel free to correct me if I'm not clear.
Hi,
I lost a LOT of time tinkering with native linux music managers, trying to make them suitable for me. I should have directly tried to use Musicbee through wine. Musicbee is clearly the best music manager out there ! 8)
I'm not the only one to try this out but some posts I read on the forum aren't really updated and they encourage people to install useless wine dependencies.
I run Archlinux but I don't think it really matters. Here is what I've done :
1) Install wine-staging and winetricks. If you're on arch, I think you know how to do this... ;)
sudo pacman -S wine-staging winetricks
Note : wine-mono package is useless (it just downloads wine-mono.msi but doesn't install it for wine) and you don't need wine-mono for Musicbee anyway.
Archlinux is easy. ;)
For Debian-based distro, it's a little bit more annoying : https://wiki.winehq.org/Ubuntu (https://wiki.winehq.org/Ubuntu)
2) MS .NET 4.8 doesn't work with a 64bits wineprefix yet so you'll need to create a new 32bits wineprefix for MusicBee ! It's better to use distinct wineprefix than just one wineprefix for all your windows softwares because if you mess up with wine components, you can simply delete the wineprefix and start again.
WINEARCH=win32 WINEPREFIX=path/to/whereYouWantYourWineprefix/ winecfg
Note: If you're new to Linux, you of course need to change path/to/whereYouWantYourWineprefixwith a valid location. For example, I created this wineprefix in a hidden folder in my music library: WINEPREFIX=/home/mreve/Musique/.wine32MBee/
Note 2 : If you have a 4K screen, I suggest you to change the screen resolution to 240ppp in the tab Display.
3) Install Musicbee dependencies
WINEPREFIX=path/to/whereYouWantYourWineprefix/ winetricks -q dotnet48 xmllite gdiplus
4) Download the latest Musicbee version (take the full download) : https://getmusicbee.com/forum/index.php?board=6.0 (https://getmusicbee.com/forum/index.php?board=6.0)
5) Unzip and install Musicbee
WINEPREFIX=path/to/whereYouWantYourWineprefix/ wine MusicBeeSetup_3_3.exe
Et voilà ! :)
You can then create an alias to easily launch Musicbee. Here the command line to do this :
echo "alias Musicbee='WINEPREFIX=path/to/whereYouWantYourWineprefix/ wine path/to/whereYouWantYourWineprefix/ /drive_c/Program\ Files/MusicBee/MusicBee.exe'" >> ~/.bashrc
Close your terminal and open a new one to use the new alias. Don't be afraid of all the errors in the terminal. It's normal when using Wine. The main thing is that Musicbee is perfectly running !
(https://i.postimg.cc/grSMw6W4/Capture-d-cran-de-2020-01-09-11-47-01.png) (https://postimg.cc/grSMw6W4)
Current issues (WINE staging 4.20 - Musicbee 3.3) :
1) Error when dragging playlists into a folder from the left panel
WORKAROUND : Arrange the playlists from the file manager (in the Musicbee library folder)
2) Crash when trying to change settings in File converters section
WORKAROUND : None but It is still possible to use the format conversion feature (Menu-->Tools-->Convert Format)
3) You say to me
Anyone else can't run this command:
WINEPREFIX=path/to/whereYouWantYourWineprefix/.WineBee winetricks -q dotnet48 xmllite gdiplus
on Manjaro XFCE? I could get this running on Mint, but on Manjaro it gets stuck repeteadly on a lot of "fix me" lines, always repeating the same, never advances, after a while my whole system hangs (yes I created the prefix beforehand and changed the command to point to it). I also tried with dotnet46 and nothing, this shit ain't working.
I am having trouble installing dotnet, and even after I force wine to do so, I get this sort of error:
00d4:err:explorer:make_explorer_window Failed to create PIDL for L"Z:\\path\\to\\whereYouWantYourWineprefix\\".
(redacted, of course)
I am using pop-os 21.10 and wine 7.12, which I have already used to run Fusion360.
Heres what I have tried:
1. Create 32 bit wineprefix
1.1 Leave all settings the same in the GUI that I get, this means a windows 7 spoof
2. Run the winetricks install command as shown above
2.1 This fails, saying that dotnet48 has been broken since wine 5.18.
2.2 Force the install anyway.
2.2.1 It mentioned mono not being installed, but no effect was noticed after uninstalling mono
2.3 Install works
3. Run the run command as provided and see the error.
I am not a WINE expert, but here are some links that I found that may be of use:
https://wiki.winehq.org/Mono
https://bugs.winehq.org/show_bug.cgi?id=49897
https://appdb.winehq.org/objectManager.php?sClass=application&iId=2586
Eureka! I found it! The problem for me was actually in launching musicbee, i instead ran
WINEPREFIX=path/to/whereYouWantYourWineprefix/ wine MusicBee.exe
and that seems to have worked
Latest Musicbee is up and running. I took a slightly different route. I haevn't touched wine in years so I cannot confirm if any of these steps are not needed or deterimental. Any feedback is appreciated. I'm running the latest Pop_OS.
Verify i386 support
Verify 64-bit architecture. The following command should respond with "amd64".
$ dpkg --print-architecture
See if 32-bit architecture is installed. The following command should respond with "i386".
$ dpkg --print-foreign-architectures
If "i386" is not displayed, execute the following.
$ sudo dpkg --add-architecture i386
Recheck with.
$ dpkg --print-foreign-architectures
Install wine staging
Install WINE on Ubunto (https://wiki.winehq.org/Ubuntu)
Install .NET
Create prefix for MusicBee and .NET
WINEPREFIX=path/to/whereYouWantYourWineprefix/ wineboot –init
Install .NET 4.0 and corefonts
WINEPREFIX=path/to/whereYouWantYourWineprefix/ winetricks --force dotnet40 corefonts
Install xmllite and gdiplus
WINEPREFIX=path/to/whereYouWantYourWineprefix/ winetricks –q xmllite gdiplus
set wine to win7 compatability
WINEPREFIX=path/to/whereYouWantYourWineprefix/ winetricks win7
Install .NET 4.8
WINEPREFIX=path/to/whereYouWantYourWineprefix/ wine $HOME/Downloads/ndp48-x86-x64-allos-enu.exe /q
Install Music Bee
WINEPREFIX=path/to/whereYouWantYourWineprefix/ wine $HOME/Downloads/MusicBeeSetup_3_5.exe
I did not remove the Win7 compatability setting after installing .NET 4.8. Not sure if this matters or not. I let the Installer drop a shortcut on my desktop which works without issue. Running on an ultrawide 3440x1440 display without making any wine config changes and cpu isage is <1% listening to flac files.
Sources:
Install Wine on Pop_OS (https://wine.htmlvalidator.com/install-wine-on-pop_os-20.04.html)
Install wine on Ubunto (https://wiki.winehq.org/Ubuntu)
Install .NET Framework (https://appdb.winehq.org/objectManager.php?sClass=version&iId=38203)