Musescore 4 saving everything as "musescore compressed backup score"

• Dec 11, 2023 - 21:53

At some point in the past 2 weeks, I imported a backup score into Musescore 4.

Now, whenever I save a score (using "Save As" or just "Save") the file dialogue reports all the scores in my "Scores" folder as "musescore compressed backup score". The filenames do not start with a dot, and do not end with a comma - unless this is somehow being suppressed in the Save As dialogue.

Whatever I do, I cannot get the program to save as a normal musescore file (i.e. not a backup), even though this option is selected at the bottom of the dialogue box.

Have I done something wrong, or set some option in Preferences, perhaps? The scores load correctly and I can edit them as if they were normal .mscz files.

Screenshot of "Save As" dialogue should be attached.

Grateful for any advice! Thank you.

Eric

App/OS info:

OS: Ubuntu 22.04.3 LTS, Arch.: x86_64, MuseScore version (64-bit): 4.1.1-232071203, revision: e4d1ddf

Attachment Size
MS4_Save_As.png 82.95 KB

Comments

MS4 is saving the files correctly. Ubuntu has a mime.type file somewhere (well, it used to, I'm not sure where it saves it now) that likely lists it wrongly as a backup. The files still open in MuseScore and are completely usable.

In reply to by underquark

Ah thank you @underquark. That makes sense, although I thought that kind of file-association shenanigans was only an issue in Windows - I'm surprised at Ubuntu getting tangled up with that. OK, I'll search for that file (or something like it) and hopefully that'll fix the problem.

In reply to by underquark

just as a postscript for Ubuntu users:

It may be that this behaviour cannot be changed. The following is on the Linux + Unix Stack Exchange pages:

"The mimetypes are determined by what the unix manpages called 'magic numbers'. In every file there is a magic number that determine the file type and file format. The extract below is from the file command man pages:

The magic number tests are used to check for files with data in particular fixed formats. The canonical example of this is a binary executable (compiled program) a.out file, whose format is defined in a.out.h and possibly exec.h in the standard include directory. These files have a 'magic number' stored in a particular place near the beginning of the file that tells the UNIX operating system that the file is a binary executable, and which of several types thereof. The concept of 'magic number' has been applied by extension to data files. Any file with some invariant identifier at a small fixed offset into the file can usually be described in this way. The information identifying these files is read from the compiled magic file

/usr/share/file/magic.mgc , or
/usr/share/file/magic

if the compile file does not exist. In addition file will look in
$HOME/.magic.mgc , or
$HOME/.magic for magic entries."

If I navigate to a directory full of .mscz files using Terminal, then type
mimetype my_filename.mscz

it returns
application/x-musescore

Which is the right answer... but the files still show up as backup scores in 'Files'.

Someone on the Linux forum had the same issue with Musescore files being shown as zip files - but still open OK with MS,

Do you still have an unanswered question? Please log in first to post your question.