Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:06 28 Oct 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CLONE Linux Mint as a backup...

     Page 3 of 4    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9728
Posted: 08:10am 26 Oct 2025
Copy link to clipboard 
Print this post

I am following this thread with interest in as much as Wolfgang is having issues, but for ME, it really WAS as simple as extracting the MMEDIT files TO A NEW FOLDER, and then just running from there.

Mint even offered to put MMEDIT into the OTHER "Start Menu" for me.

I can't remember if I had to use the terminal and do the extra package installs, but perhaps I did.  I was probably under the influence of a a few beers that night.  
Smoke makes things work. When the smoke gets out, it stops!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8232
Posted: 08:25am 26 Oct 2025
Copy link to clipboard 
Print this post

You'd use the command line after a few beers? Sheesh! They make 'em tough in NZ!




(Or the "beer" is sub-standard...  ;) )
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 09:29am 26 Oct 2025
Copy link to clipboard 
Print this post

Hello supporters

As soon as one do it right, it works!  

My misunderstanding:
When I started, I didn't see the folder mmedit5_20.4 after unzip in my new created folder, so as to see in the first picture from Grogster. Due to this I followed the later advice to unpack mmedit5_20.4.tar.gz and, surprise, after that the folder was now to see, but double-clicking on it didn't work.

My correct work:
I had to select MMedit5_32_64.exe immediatly so as Grogster shows it in his first picture and now this is working with LINUX Mint 22.2

Many thanks to Grogster, dddns and Tassy-Jim and everyone else who was puzzled by my mental missteps.    

Wolfgang
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8232
Posted: 09:54am 26 Oct 2025
Copy link to clipboard 
Print this post

This might come in very useful to me. I'm just waiting for a mini DP to HDMI lead from ebay before I can connect up my "new" little Mint box properly.

(That's another story. Trying to install Mint on a machine with (apparently) no OS while you are relying on a non-functional mini HDMI output to give you a non-existent display is guaranteed to fail. Only borrowing a monitor with a DP socket let me do it.)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6338
Posted: 10:33am 26 Oct 2025
Copy link to clipboard 
Print this post

Wolfgang,
If I understand you correctly, you are running the Windows version under Wine.

If that is correct, you will have a better experience running the Linux version.

Jim
VK7JH
MMedit
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 03:17pm 26 Oct 2025
Copy link to clipboard 
Print this post

@Tassy-Jim

basically I wanted to say goodbye to Windows and have made MMedit accessible on Linux Mint with an icon from the desktop.





I wrote a small routine with Linux MMedit to test it, but I can't manage to set the correct port to start the program with MMbasic

In MMedit I only see COM-ports from 0 -31, but none of them have an ending that indicates the connected USB port.

The Test-program fully works under Windows.

And Perplexity delivers no solution, can you help?

Wolfgang
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 03:21pm 26 Oct 2025
Copy link to clipboard 
Print this post

@Tassy-Jim

I use Wine only for Ltspice, MMedit runs under Linux.
Wolfgang
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 03:27pm 26 Oct 2025
Copy link to clipboard 
Print this post

@Tassy-Jim

Sorry I told bulsh*t before, when I look to Wine in the Tray I see there MMedit listed, but it was not my intention to do that.

What has happened, it was automatically installed under Wine? What shall I do not to use WINE?
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 05:38pm 26 Oct 2025
Copy link to clipboard 
Print this post

@Tasso-Jim

...." If that is correct, you will have a better experience running the Linux version.".....

Did I understand your above statement correctly that MMedit is not only available under WINE, but that there is also another version without Wine under Linux that is even more advantageous?

Greets Wolfgang
Edited 2025-10-27 03:39 by Wolfgang
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6338
Posted: 09:03pm 26 Oct 2025
Copy link to clipboard 
Print this post

@Wolfgang,

There are many different versions of Linux and many different ways of doing things.
I do not know enough about all the differences to help much.

I produced MMEdit on Linux Mint Mate 20.4
To make MMEdit run it needed extra files.
You ran
sudo apt-get install qt5-default libqt5webkit5
Not all the files required were installed
so you ran (hopefully)
sudo apt-get install qtbase5-dev
That should have installed the remaining required files.
When Linux Mint was updated, the files needed where no longer available so you had to try the second method.
That should have installed the extra files needed and they should now be installed.

The ZIP file you downloaded includes 3 install files
MMedit5_32_64.exe for normal Windows installation
MMEdit5_XP_portable.zip to make a portable installation for Windows.
and
mmedit5_20.4.tar.gz for Linux
tar.gz files are just like ZIP files.

When you clicked on MMedit5_32_64.exe Wine started and installed MMEdit Windows version under Wine.
That is OK but I find that the serial ports which we need work better when controlled directly, not through Wine.
Someone else who knows how to use Wine will have to help you with the serial ports.

To install the Linux version of MMEdit, extract the files in mmedit5_20.4.tar.gz and put then in  a suitable location.
Every one has a different opinion about where to use but i used my "Home" folder
I have
Jim \ MMedit5
then from your file browser, open that folder and double click on MMedit5 or MMCC to run the programs.
I will let someone who knows how to create the desktop shortcuts for you version of Linux help you with that step.

Your picomites will appear as ttyACM0 or ttyUSB0 etc depending on what method you use to connect to the picomite.

I hope that helps.

Jim
VK7JH
MMedit
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 675
Posted: 09:47pm 26 Oct 2025
Copy link to clipboard 
Print this post

  TassyJim said  
  Quote  If you have the 22.4 kernel, you may need to run this:
sudo apt-get install qtbase5-dev


@Wolfgang

The Qt libraries are essential. The above command must execute without error.

And in order to be able to connect to a PicoMite your username must be in the group "Dialout".
Go to "users and groups" in your system management folder and add your username to Dialout:


Edited 2025-10-27 07:50 by dddns
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 09:52am 27 Oct 2025
Copy link to clipboard 
Print this post

@Tassy-Jim
Based on your excellent explanations concerning the MMedit background, I will now try MMedit with mmedit5_20.4.tar.gz, as I am having problems with the serial port using MMedit under Wine. The last was not my intention, and I didn't know that before.


@dddns
In retrospect, I see your suggestion as completely correct. It is exactly what I now see clearly explained by Tassy-Jim.

Your further suggestion to involve the dialogue-group was new to me. Thank you very much for that too.
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 03:10pm 27 Oct 2025
Copy link to clipboard 
Print this post

@dddns

Due to my attempts to start MMedit without WINE, I have locked myself out of Linux Mint. I can no longer activate Timeshift or activate Users and Groups.

When I request root privileges, the terminal tells me that I do not have root privileges.

Even powering off and restarting does not give me access to Timeshift, on whose hard drive I had previously stored backups.

Do I have to completely reinstall my Linux Mint?

Can you help?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8232
Posted: 04:29pm 27 Oct 2025
Copy link to clipboard 
Print this post

How are you asking for root? There are various ways to use sudo.

See if
man sudo
brings up anything useful.
.
Edited 2025-10-28 02:31 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 05:14pm 27 Oct 2025
Copy link to clipboard 
Print this post

Thank you for pointing that out, it was new to me.
As a complete novice with Linux, I feel slightly overwhelmed by getting down into the depths of Linux.  
I have already used passwd etc., but the lock symbol won't disappear.





Wolfgang
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 675
Posted: 06:23pm 27 Oct 2025
Copy link to clipboard 
Print this post

The root account is "disabled" by default in modern distributions.
You setup the machine with your username and this is the first username which will be in the group "sudoers". AFAIK "sudo" means "superuser do" and superuser is the root account.
If a second user is setup on your machine, then you the administrator need to add the second useraccount to the group "sudoers" in order to allow system near changes like installing a program or using the serial port..

The root account itself is normally never used. I think it's common opinion in the community to give root a password because of security reasons. But not for usage in first sight. It can be important in case something "happens" to your useraccount like you cannot login anymore.

So your password is needed when the system asks you for "Administrator password"
 
Wolfgang
Regular Member

Joined: 03/11/2021
Location: Germany
Posts: 45
Posted: 06:49pm 27 Oct 2025
Copy link to clipboard 
Print this post

@dddns

After Power up the system asked me every time before for the admin-Password. But now the system is in a mode trapped, where it don't ask me for the Admin-password after Power up. I can work with Linux as usual and any limits, except I want to use Timeshift or "Users and Groups".

At the moment I don't know what to do. All the advices of the AI's didn't help .

Wolfgang
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4100
Posted: 08:20pm 27 Oct 2025
Copy link to clipboard 
Print this post

See if sudo works.

You can probably do
sudo bash

and have a root shell.  Beware! It's a root shell so you can cause massive damage (to the software and/or your data) if you're careless.

If the above doesn't work e.g. because you're in a user without sudoers group, you can try
su - otheruser
(note the spaces)

where otheruser can use sudo.

You'll be asked for that user's password.

John
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 675
Posted: 08:26pm 27 Oct 2025
Copy link to clipboard 
Print this post

With all your now improved basic knowledge of Linux and not knowing, what AI told to execute,I would suggest, to start all over.
Let the setup reformat and partion your disk and only install Mint.
Then open a terminal and execute:
sudo apt update
sudo apt dist-upgrade


Let it update your install and you have a clean base.
Now do a snapshot with Timeshift.
And now you can start to experiment..
First install the missing Qt libraries and try to get MMEdit/MMCC to run.
If it runs do an incremental snapshot and so on.

If you do it that way until your system looks like you want, you might need to restore a snapshot if you get stuck but not the painful work to start all over if AI tries to help :))

Best success!
Edited 2025-10-28 06:30 by dddns
 
tgerbic
Regular Member

Joined: 25/07/2019
Location: United States
Posts: 87
Posted: 09:41pm 27 Oct 2025
Copy link to clipboard 
Print this post

Something I carried forward from the early Windows days to Unix/Linux was to assume my user account could get trashed by some rogue app and I would need a way out of this.

I would suggest you create your normal user account, and one or two backup accounts with admin privileges with long complicated passwords not matching your user account (these should be complicated username/password accounts too hard to remember and the account names should not be family or pet names). Write them down in a couple of places physically away from the computer (garage or laundry room?). These are for emergency only.

If you enable the root account, pick yet another complicated password so hard and long you cannot remember/guess it (write it down in a couple of places physically away from the computer). Continue to use sudo to do admin work even with root enabled. If you have backup admin capable accounts you may not ever need to enable root for emergencies, but you could.

The point is to have some backup account(s) which are extremely difficult to break into which are there to fix problems that wipe out your normal account access. The account info should not be stored on a place a hacker could reach on-line, even in a password locker app.

Other people will have other opinions but this is what I found to be the most practical way to setup login security I can always recover from. I have had zero instances when I could not find a way back into a computer in an emergency to fix problems.

One more thing, I also keep a fairly recent clone boot drive in a handy place. If something gets really messed up, I just swap in the clone drive and the PC is immediately usable/familiar and much easier to use while fixing things.  I have only had to use this once, but what do you do with older drives when you replace them with bigger faster drives? Might as well make recovery clone drives out of a couple.

Skip the AI chat-bots, there are quite a few smart people on this forum that can help, and probably care if you get your system fixed.
 
     Page 3 of 4    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025