Hi,I leave you a Linux script to run mBlock in Linux, I have tested it in Ubuntu 16.04. These are the steps to run mBlock under Linux with Wine:1. Install wine on Linux. Install mBlock for Windows in Linux 2. Download the script: mblock_wine.sh3. Plug mBot to computer via USB4. Run script with sudo: sudo ./mblock_wine.sh5. RebootNow you should be able to connect to mBot with mBlock via USB. Regards

I'm using the following script to start mBlock at the moment (with the mbot connected). I found that my users, logging in with LDAP, seem to be in the dialout group. I found that the udev rule can be skipped when using the /serial/by-id path. That makes that I don't need root access.I found that my registry keeps on forgetting the COM port. Do you find that too?

If the users are not in sudoers, you can modify the script to pass the username as an argument, and apply the script to that user. But the administrator should run the script anyway. Root access is needed at least to add users to dialout group.

Great to have a script for mBlock in Wine.But isn't it better to check if user are in the dialout group. And if not so, write an instruction how to add user to dialout group?And if the user is root, write a warning that it is better to add user to dialout group (and how to do that) and then continue with statrting mBlock.Also check if file /etc/udev/rules.d/mblock.rules exists, and if not, also print out how to set that.

Preferable telling how to add with command printf(1):

printf "sudo adduser %s dialout\n" $USER

It would make the script not loosing security, and still be friendly.By the way, are it always/dev/ttyUSB0? The symlink will always be /dev/mbotUSB, but /dev/ttyUSB0 i'm not that convinced.

I have tested this script in Ubuntu 16.04 and works. If your Linux needs to change /dev/ttyUSB0 modify the script according to your needs. And any improvement of the script is welcomed, feel free to modify it.

I'm running Wine on Ubuntu 16 and have mblock installed. Mblock opens fine, but doesn't see the COM port. I'm not sure where to place the mblock_wine.sh script. Can someone advise where to place this script?

Thanks a lot! And thank you for your comment on the language issue - seems like I need to recompile anyway. We are at the moment removing all our 32 bit machines since they are not reliable anymore for different reasons, but thank you for the hint!

Changing the default language.

For future reference:Open "app/translator.js" in the source code. On line 74 you have the language hardcodedthis.setLanguage("zh_CN");Change that to the default language you want (list of possible languages is higher up in that file).Then recompile as follows:

You will always be in English when you launch mBlock with the actual V4.mBlock team is on migration to Electron (Github) so the users prefs are not yet saved, they have to code the new solution for saving user prefs (and many other things). Electron migration involved to rewrite all the menubar actions (because the menubar is embedded in Electron), so it's a big work...

Yes because you have hardcoded the default language. Remove this line. Run mBlock, select a language (other than English) and exit. Re-run mBlock, the language will be the defaut language, not the language you have selected, so mBlock will always run in English.You can use this line this.setLanguage("nl_NL"); it's an hardcode but a temporary workaround solution