Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
*.a
*.lib

# Compiled linguistic files
*.qm

# Executables
*.exe
*.out
Expand Down
1 change: 1 addition & 0 deletions docs/tested_devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
| MSI GF65 Thin 10SDR | E16W1IMS.50C 11/19/2020 | ❌ Mode (everything's greyed out)<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ✔ Fan Control | ❌ Keyboard Backlit (greyed out)<br> ❓ FN -> Super (Not greyed out, but doesn't affect anything when ticked)<br> ✔ Webcam<br> ❌ USB Power Share (greyed out) |
| MSI Modern 15 B5M | 15HKEMS1.103 06/29/2022 | ❌ Mode (everything's greyed out)<br> ❓ Battery Limit<br> ✔ Cooler Boost<br> ❓ Fan Control | ❌ Keyboard Backlit (greyed out)<br> ❓ FN -> Super (Not greyed out, but doesn't affect anything when ticked)<br> ✔ Webcam<br> ❓ USB Power Share |
| MSI Katana GF66 12UD | 1584EMS1.110 06/21/2022 | ✔ Mode<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ✔ Fan Control | ✔ Keyboard Backlit<br> ✔ FN -> Super<br> ✔ Webcam<br> ✔ USB Power Share |
| MSI Katana GF66 12UG | 1583EMS1.109 03/29/2026 | ✔ Mode<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ✔ Fan Control | ✔ Keyboard Backlit<br> ✔ FN -> Super<br> ✔ Webcam<br> ✔ USB Power Share |
| MSI Summit E14Evo A12M | 1594EMS1.118 03/22/2023 | ✔ Mode<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ✔ Fan Control | ✔ Keyboard Backlit<br> ✔ FN -> Super<br> ✔ Webcam<br> ✔ USB Power Share |
| MSI Summit E14 Flip Evo A12MT | 14F1EMS1.115 09/13/2022 | ✔ Mode<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ❌ Fan Control | ✔ Keyboard Backlit<br> ✔ FN -> Super<br> ✔ Webcam<br> ✔ USB Power Share |
| MSI Delta 15 A5EFK | 15CKEMS1.108 02/09/2021 | ❌ Mode (everything's greyed out)<br> ✔ Battery Limit<br> ✔ Cooler Boost<br> ✔ Fan Control | ❌ Keyboard Backlit<br> ❓ FN -> Super (Not greyed out, but doesn't affect anything when ticked)<br> ✔ Webcam<br> ❌ USB Power Share (greyed out)|
Expand Down
82 changes: 82 additions & 0 deletions resources/mcontrolcenter-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/create_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mkdir $APP_DIR
cp ../build/mcontrolcenter $APP_DIR
cp ../build/helper/mcontrolcenter-helper $APP_DIR
cp ../src/helper/mcontrolcenter-helper.conf ../src/helper/mcontrolcenter.helper.service $APP_DIR
cp ../resources/mcontrolcenter.desktop ../resources/mcontrolcenter.svg $APP_DIR
cp ../resources/mcontrolcenter.desktop ../resources/mcontrolcenter.svg ../resources/mcontrolcenter-symbolic.svg $APP_DIR

cp ./install.sh ./uninstall.sh $DIST_DIR

Expand Down
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ APP_DIR='./app/'

APP_BIN='mcontrolcenter'
SVG_ICON='mcontrolcenter.svg'
SVG_ICON_MC='mcontrolcenter-symbolic.svg'
SHORTCUT='mcontrolcenter.desktop'
HELPER_BIN='mcontrolcenter-helper'
DBUS_CONF='mcontrolcenter-helper.conf'
Expand All @@ -24,6 +25,7 @@ rm -fv /home/$SUDO_USER/.local/share/applications/$SHORTCUT
install -vDm644 $APP_DIR$SHORTCUT $SHORTCUTS_PATH$SHORTCUT

install -vDm644 $APP_DIR$SVG_ICON $SCALABLE_ICONS_PATH$SVG_ICON
install -vDm644 $APP_DIR$SVG_ICON_MC $SCALABLE_ICONS_PATH$SVG_ICON_MC

install -vDm755 $APP_DIR$HELPER_BIN $LIB_EXEC_PATH$HELPER_BIN

Expand All @@ -32,4 +34,3 @@ install -vDm644 $APP_DIR$DBUS_CONF $DBUS_SYSTEM_PATH$DBUS_CONF
install -vDm644 $APP_DIR$DBUS_SERVICE $DBUS_SERVICES_PATH$DBUS_SERVICE

echo "Installation was successful"

1 change: 1 addition & 0 deletions scripts/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rm -fv /usr/bin/mcontrolcenter
rm -fv /usr/share/applications/$SHORTCUT
rm -fv /home/$SUDO_USER/.local/share/applications/$SHORTCUT
rm -fv /usr/share/icons/hicolor/scalable/apps/mcontrolcenter.svg
rm -fv /usr/share/icons/hicolor/scalable/apps/mcontrolcenter-symbolic.svg
rm -fv /usr/libexec/mcontrolcenter-helper
rm -fv /etc/dbus-1/system.d/mcontrolcenter-helper.conf
rm -fv /usr/share/dbus-1/system.d/mcontrolcenter-helper.conf
Expand Down
30 changes: 30 additions & 0 deletions src/i18n/MControlCenter_de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@
<source>Advanced</source>
<translation>Erweitert</translation>
</message>
<message>
<source>Couldn&apos;t connect to UPower to get charger status.
Make sure that UPower is installed and running then restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to Power Profiles Daemon.
Make sure that either Power Profiles Daemon or TuneD is installed and restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cooling</source>
<translation>Kühlen</translation>
Expand Down Expand Up @@ -215,6 +225,22 @@
<source>Current fan Mode:</source>
<translation>Aktueller Lüftermodus:</translation>
</message>
<message>
<source>Follow system&apos;s power profile</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Automatic Profile Switching</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>On Charger:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Keyboard</source>
<translation>Tastatur</translation>
Expand Down Expand Up @@ -265,6 +291,10 @@ Weitere Informationen finden Sie auf der Seite &lt;Über&gt;.</translation>
<source>Charge the battery when under 90%, stop at 100%</source>
<translation>Lade die Batterie, wenn sie unter 90% ist, und stoppe das Laden bei 100%</translation>
</message>
<message>
<source>Symbolic tray icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Warning&lt;/span&gt;: Writing the wrong values to the wrong addresses &lt;span style=&quot; font-weight:700;&quot;&gt;WILL BRICK YOUR DEVICE!&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Never&lt;/span&gt; write to EC memory without knowing how to do a proper &lt;span style=&quot; font-weight:700;&quot;&gt;BIOS/EC&lt;/span&gt; reset, keep in mind that a reset &lt;span style=&quot; font-weight:700;&quot;&gt;might not&lt;/span&gt; fix the device if the device got bricked/broken. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Warnung&lt;/span&gt;: Das Schreiben der falschen Werte an die falschen Adressen &lt;span style=&quot; font-weight:700;&quot;&gt;FÜHRT ZUR BESCHÄDIGUNG IHRES GERÄTS!&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;Schreiben Sie &lt;span style=&quot; font-weight:700;&quot;&gt;niemals&lt;/span&gt; in den EC-Speicher, ohne zu wissen, wie man einen ordnungsgemäßen &lt;span style=&quot; font-weight:700;&quot;&gt;BIOS/EC&lt;/span&gt;-Reset durchführt. Bedenken Sie, dass ein Reset das Gerät &lt;span style=&quot; font-weight:700;&quot;&gt;möglicherweise nicht&lt;/span&gt; repariert, wenn es beschädigt ist. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
Expand Down
24 changes: 14 additions & 10 deletions src/i18n/MControlCenter_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,6 @@
<source>rpm</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to UPower to get charger status.
Make sure that UPower is installed and running then restart the app.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to Power Profiles Daemon.
Make sure that either Power Profiles Daemon or TuneD is installed and restart the app.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mode</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -165,6 +155,16 @@ Make sure that either Power Profiles Daemon or TuneD is installed and restart th
<source>Advanced</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to UPower to get charger status.
Make sure that UPower is installed and running then restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to Power Profiles Daemon.
Make sure that either Power Profiles Daemon or TuneD is installed and restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cooling</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -297,6 +297,10 @@ Make sure that either Power Profiles Daemon or TuneD is installed and restart th
<source>MSI-EC Status:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Symbolic tray icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Warning&lt;/span&gt;: Writing the wrong values to the wrong addresses &lt;span style=&quot; font-weight:700;&quot;&gt;WILL BRICK YOUR DEVICE!&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Never&lt;/span&gt; write to EC memory without knowing how to do a proper &lt;span style=&quot; font-weight:700;&quot;&gt;BIOS/EC&lt;/span&gt; reset, keep in mind that a reset &lt;span style=&quot; font-weight:700;&quot;&gt;might not&lt;/span&gt; fix the device if the device got bricked/broken. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
Expand Down
30 changes: 30 additions & 0 deletions src/i18n/MControlCenter_es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@
<source>Advanced</source>
<translation>Avanzado</translation>
</message>
<message>
<source>Couldn&apos;t connect to UPower to get charger status.
Make sure that UPower is installed and running then restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Couldn&apos;t connect to Power Profiles Daemon.
Make sure that either Power Profiles Daemon or TuneD is installed and restart the system.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cooling</source>
<translation>Enfriamiento</translation>
Expand Down Expand Up @@ -243,10 +253,26 @@
<source>Maximum performance at the cost of heat and increased power consumption</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Follow system&apos;s power profile</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>If you mainly use your laptop with the charger plugged most of the time, it is recommended to set the charge capacity at a lower percentage (60% or 80%) to prolong your battery lifecycle.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Automatic Profile Switching</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>On Charger:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>On Battery:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charge the battery when under 90%, stop at 100%</source>
<translation type="unfinished"></translation>
Expand All @@ -271,6 +297,10 @@
<source>MSI-EC Status:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Symbolic tray icon:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Warning&lt;/span&gt;: Writing the wrong values to the wrong addresses &lt;span style=&quot; font-weight:700;&quot;&gt;WILL BRICK YOUR DEVICE!&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:700;&quot;&gt;Never&lt;/span&gt; write to EC memory without knowing how to do a proper &lt;span style=&quot; font-weight:700;&quot;&gt;BIOS/EC&lt;/span&gt; reset, keep in mind that a reset &lt;span style=&quot; font-weight:700;&quot;&gt;might not&lt;/span&gt; fix the device if the device got bricked/broken. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
Expand Down
Loading