/MSI-Dragon-Center-for-Linux

For Those running Linux Distro on MSI laptops. This is the Graphic User Interface application meant for Fan control in Linux.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

MSI-Dragon-Center-for-Linux

Creating MSI Dragon Center App for Linux Users

DISCLAIMER : I AM NOT RESPONSIBLE FOR ANY DAMAGE THIS PROJECT CAUSE TO YOUR LAPTOP!

  • Well this will not be harmful if you are on an MSI laptop and looking for Fan Control Abilities just as in Dragon Centre.
  • This project will be weekly Updated!
  • For more features do comment and share your views!
  • Well if you like my work, a cup of coffee would be nice!!
  • Patreon Page :-> https://www.patreon.com/CodeMonster

For Those running Linux Distro on MSI laptops. This is the Graphic User Interface application meant for Fan control in Linux.

  • This Application can run on any Linux distro with python3 installed!!
  • Installation is very easy with almost one click solution!!

What is Pre-Required For this to install properly?

  • run this command before getting any module installed sudo apt update

Nautilus-admin

  • get it by :-> sudo apt install nautilus-admin

python3

  • get it by :-> sudo apt-get install python3.8

tkinter python3 library

  • get it by :-> sudo apt-get install python3-tk

crontab python3 library

  • get it by :-> sudo apt-get install python3-crontab

Disable SECURE BOOT because it interferes with the permission of the script to read/write to EC file.

BEOFRE UPDATING PLEASE UNINSTALL THE PREVIOUS VERSION BY USING THE PROVIDED UNINSTALL OPTION IN THIS SOFTWARE

How To Install GUI app?

  • Download the .zip from the github and extract it whereever you want
  • After making the above requirements available manually. open terminal inside the extracted folder MSI-Deagon-Center-for-Linux directory and run.
  • sudo python3 GUI-MSI-DC-L.py
  • This will open the GUI app for the first time.

Error after installing

ERROR 1

  • if error is produced saying in monitoring_int with open(EC_IO_FILE,'r+b') as file: FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/ec/ec0/io' Exception in thread Thread-1: then you have to install all the repositories mentioned in the readme file above. DO NOT SKIP ANY ONE OF THEM!. if this method dosent work then follow next step.
  • manually copy paset these files in specific folders
  • DOWNLOADFOLDER/etc/modprobe.d/GUI-MSI-DC-L-ec_sys.conf TO /etc/modprobe.d/GUI-MSI-DC-L-ec_sys.conf"
  • DOWNLOADFOLDER/etc/modules-load.d/GUI-MSI-DC-L-ec_sys.conf TO /etc/modules-load.d/GUI-MSI-DC-L-ec_sys.conf"

For any issue and query comment!

Working on models

  • MSI GE66 (Ubuntu based OS)
  • MSI GS65 (Ubuntu based OS)
  • HELP ME ADD MORE MODELS. TEST AND REPORT ME

Goals

  - Basic GUI                                          Done
  - Fan Control with GUI                               Done
  - Auto, Basic, Advanced, Cooler Booster              Done
  - Basic temperature and RPM monitoring               Done
  - One click install                                  Done
  - Dark Mode                                          Done
  - configuration file                                 In progress
  - Making Pre-required installs automatic             In Beta Testing
  - Graph to monitor Temps and speeds                  In alpha testing
  - integrating it in a widget in power menu           still planning

Known Bugs in V1.0 :- 2

Unfixed :- 0

Fixed :- 2

  • (CLOSED) Battery indicator shown 0 When applying fan modes
  • (CLOSED) Button was not visible
  • (CLOSED) Install errors