MS4 command line "-D" option + Preferences font size comparison
(Ubuntu Linux 20.04, 1440X900 screen resolution)
For most of 2022, I've been comfortable with MS3, using a "-D 85" command line option. Font face 'Ubuntu' and font size 12pt.
I am trying the release of MS4, and through trial & error, have settled on "-D 100" CLO, face 'Ubuntu', font 17pt.
The top main menu seems to remain tiny to my eyes, but I can live with that. Here's an MS HowTo about DPI:
https://musescore.org/en/node/233416
Attachment | Size |
---|---|
ms4_72dpi.png | 136.28 KB |
ms4_100dpi_17pt_body_text_size.png | 103.28 KB |
ms4_100dpi_17pt_score_window.png | 155.59 KB |
ms4_120dpi.png | 115.92 KB |
Comments
I'm running Linux Mint 20.3 Cinnamon Edition. I'm running on a 4K monitor at about 160 DPI.
I was having similar issues with tiny font in the menu bar until I set a QT environment variable to scale things up. I start with a script:
#!/bin/sh
QT_SCALE_FACTOR=1.5 /home/talent/Applications/MuseScore-4.0.0-x86_64.AppImage
In reply to I'm running Linux Mint 20.3… by Steve Talent
Thanks for detailing this. I might give it a try. What are the range of possible values (larger or smaller than 1.5)?
In reply to Thanks for detailing this. … by Are Jayem
I use a script because it can be set it as a command line to be called from the start menu.
You could just cd into the directory where the AppImage lives and experiment with different values by entering the scale and executable shell command line:
QT_SCALE_FACTOR=1.5 ./MuseScore-4.0.0-x86_64.AppImage
The value essentially scales the entire window and everything inside. It is the only way I've found to adjust main window menu fonts. A value of 1.5 is the same as 150%. You can use values less than 1. I find that 1.4 or 1.5 is a good compromise for the range of monitors I have connected to my computer.
You may find it useful to have a separate script for each monitor you plan to use. Beware that if you move the MuseScore window to a secondary monitor after launch that has a different DPI, some scaling may be incorrect. You might even discover some new bugs ;)
AFAIK there is no limit but there are practical limits so avoid values greater than 2 or 3. Try 4 and you'll find out what I mean. I just tried a scale factor of 5 from the command line and the window would not fit on the screen.
In reply to I use a script because I can… by Steve Talent
Cool, thanks for the details.
In reply to I'm running Linux Mint 20.3… by Steve Talent
Stealing this idea, you could also edit the file (substitute your username for my_username)
/home/my_username/.local/share/applications/org.musescore.MuseScore4portable.desktop
and change the line
Exec=/home/my_username/.local/bin/MuseScore-Studio-4.4.3.242971445-x86_64.AppImage %U
to
Exec=env QT_SCALE_FACTOR=1.5 /home/my+username/.local/bin/MuseScore-Studio-4.4.3.242971445-x86_64.AppImage %U
With this change, the magnification factor is applied when you start the app in the usual way(s) through the GUI.