An application that allows you to change the settings of MSI laptops running Linux
An application that allows you to change the settings of MSI laptops running Linux
MControlCenter is a Free and Open Source GNU/Linux application that allows you to change the settings of MSI laptops.
With version 0.5.0 the app uses the msi-ec driver that comes with the linux kernel (you'll need to reinstall the driver), so device support depends on whether the kernel driver supports your device or not.
List of tested devices by msi-ec
If your device is not on the list, follow the steps on the msi-ec github page and open an issue there to add support for your device.
Check the output of cat /sys/devices/platform/msi-ec/shift_mode in your terminal, if it says No such file or directory it means that you need to install or reinstall (uninstall first then install) the msi-ec driver. or the application will open but will have limited functionality!
If you're not installing from the packages, You'll need to install libqt6widgets6 or its equivalent on your distribution (qt6-base for example). the application will fail to open without it!
To get temperature and fan curve support, you'll need to install ec_sys, which comes installed on most distributions, or acpi_sys (fedora) with write_support=1. the app can still work with only msi-ec installed.
Ubuntu/Mint/openSUSE (No Debian)
Download the correct package for your distribution from the releases page
Double click to open it in the software manager (ex. Discover or GNOME software)
Install
Arch Linux (AUR)
An officially maintained package is available under the name mcontrolcenter-bin. You can install it using any AUR helper (yay/paru):
yay mcontrolcenter-bin
Or you can use the generic installer in the releases page
Fedora
An official copr repo can be used
Open your terminal, and run these commands:
sudo dnf copr enable teackot/msisudo dnf install mcontrolcenterHowever, if you didn't follow the above method (built from source or used the generic installer), some extra steps are needed because fedora doesn't come with ec_sys module by default:
Open a terminal, then install dkms and make:
sudo dnf install kernel-devel dkms make
Clone the repo:
git clone https://github.com/saidsay-so/acpi_ec.git
Change the directory to the cloned repo:
cd acpi_ec/
Run the install script as sudo:
sudo ./install.sh
Reboot
Unsupported distributions No need to try the generic installer, it won't work.
Debian: for some reason, they did something weird with ec_sys and related functions don't work.
Nixos: the app is packaged in the repos, but i don't maintain the package, so dont report bugs.
All immutable distributions: that means SteamOS, Bazzite, Fedora Silver blue, and others. the necessary drivers can't be installed.
Current packages are built using OBS
sudo ./installsudo ./uninstall to uninstallNote: In some cases, building from source can be a good option too, steps for it can be found further down.
For laptops with a dedicated Nvidia graphics card, the power limits won't react to performance mode changes. To fix this, you need to be using the Nvidia proprietary driver.
Enable and start the nvidia-powerd service:
sudo systemctl enable --now nvidia-powerdLaptops with AMD dGPUs (usually AMD Advantage models) don't need any steps, as power limits and smartshift functionality work correctly with each performance mode.
Try using OpenRGB, and make sure you're using the latest version if your distribution ships old versions.
Regular laptops with only 1 color can be controlled directly by the app. However, RGB keyboards are wired over USB, thats why openRGB is needed.
For laptops with a dGPU AND a mux switch, there is a workaround for switching modes: Install supergfxctl and couple it with a widget like supergfxctl-plasmoid for KDE, or supergfxctl-gex for GNOME.
After installing the main package (qt6-base or libqt6widgets6), you'll need to install other packages to build the app.
For ubuntru/Linux mint:
qt6-base-dev and/or qt6-tools-dev also build-essential
For Arch qt6-tools And for fedora qt6-qttools
After you install the packages:
Make sure the app is completely closed if it was installed before (check if there is a system tray icon and close it).
Download the source code and extract the zip file.
Open the scripts folder.
Open a terminal inside the folder, then run these scripts in order:
buildcreate installerIf things went well, you should see a compressed file,
If the installation was successful but the app fails to run, open a terminal and type mcontrolcenter, copy the output and open an issue (IF there isn't one already).
To restore settings after a reboot, add MControlCenter to startup, in many desktop environements, this is available in the settings under an "Autostart" page.
Else, you can execute this command in the terminal:
cp /usr/share/applications/mcontrolcenter.desktop ~/.config/autostart/mcontrolcenter.desktop
You can help translate the MControlCenter app into your native language
/src/i18n/MControlCenter_en.ts to src/i18n/MControlCenter_xx.ts where xx is language code into which the translation is being made.MControlCenter_xx.ts in text editor and change language="en_US" to your language code.GenericName in app shortcut resources/mcontrolcenter.desktop. To do this, add the line GenericName[xx]=translated generic name.No open issues yet, or sync has not completed.