Skip to content

Bringing the functionality of macOS utilities to Linux Mac users.

License

Notifications You must be signed in to change notification settings

sashka3076/MacLinuxUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacLinuxUtils is the free and open-source alternative of macOS apps like Mac Fan Control,smcFanControl and Turbo Boost Switcher,but for Linux.MacLinuxUtils aim is to bring everything you love about macOS utilities for all Linux distros,in one package.

Table of Contents

Features

Graphical User Interface

MacLinuxUtils is the only fan controller and turbo boost switcher for Macs running Linux that has a GUI.

also has dark mode

Fan Control

Just like the name implies,you can can control your Mac's fans,monitor temperatures(2 CPUs,GPU,RAM,Battery,4 HDD Bays and Optical Drive.Please note that applesmc.768 on Linux might not identify all of these sensors,even if your Mac has them,it depends on your machine!) and fan speeds.

The biggest highlight about the fan control is that it supports an unlimited number of fans,as long as the SMC recognizes them! Here is a screenshot of MacLinuxUtils operating 4 fans :

Controlling the fans

Once you click the Edit button for a fan,you will be greeted with this menu :

You can set an automatic speed(which is set by the SMC itself),a constant speed with the help of the slider and manual mode(which is only working under experimental mode for the time being).

Manual mode (Experimental)

Manual mode is a more advanced automatic mode.It let's you set fan speeds for certain temperatures.

This feature is currently work-in-progress,so it was included with v2.3.0 under experimental mode for users to test.Any issues that the user finds it is recommended that it is reported in the Issues section.

Presets

Loving the current setup you have on MacLinuxUtils?Now you can save it and load it everytime you want,even at startup! Note : Under experimental mode,there are still issues when switching from a preset that has manual mode to a preset that has automatic/constant mode,hence why manual mode is not present in the stable build.

Turbo Boost Switcher

Intel Turbo Boost technology accelerates processor and graphics performance for peak loads, automatically allowing processor cores to run faster than the rated operating frequency if they’re operating below power, current, and temperature specification limits.When disabled,it keeps your Mac(assuming it supports Turbo Boost)cooler and saves battery.

System tray icon

Once you start MacLinuxUtils,you will see this icon in your taskbar or top bar(depending on your DE or WM).By right clicking on it,you interact with the program without using the main menu.

IMPORTANT : Certain DE's(for example : GNOME) removed support for legacy tray,which is what MacLinuxUtils is using.Therefore,there is no support on those DE's for system tray.

Experimental mode

Experimental mode is a special mode created for users that want to test new features that are still work-in-progress.Please note that this is a standalone build;it doesn't depend in any way on the stable build.Keep reading for finding out how to launch MacLinuxUtils under experimental mode.Thank you, @mariobrostech for suggesting the experimental setting.

Requirements

  • Latest Java version.

Download

  • Installing the latest version of Java is as simple as opening the terminal and typing :
Debian,Ubuntu-based :
$ sudo apt-get update
$ sudo apt install default-jdk
Arch-based :
$ sudo pacman -S jdk-openjdk
Fedora, Oracle Linux, Red Hat Enterprise Linux, etc. :
$ sudo dnf search openjdk

Choose the desired JDK and then install it :

$ sudo dnf install java-11-openjdk.x86_64
  • After installing Java,download the latest version available in releases.
  • Extract it where you want the application to be installed.

How to install

  • To install the application,open terminal,cd path/to/extracted/app,and then run :
$ sudo sh installmlu

After the installation is done,simply run maclinuxutils,or search for it using an application finder. If the app doesn't launch,use sudo java -jar /opt/mlu.jar in the terminal instead.

  • To uninstall the application,open terminal,cd path/to/extracted/app,and then run :
$ sudo sh uninstallmlu

Portable use

To use MacLinuxUtils without installing it,after extracting it,open terminal and

$ cd path/to/extracted/app
$ sudo java -jar mlu.jar

or

$ cd path/to/extracted/app
$ sudo java -jar mluexp.jar

for experimental mode.

To start the application under experimental mode,use the -e argument :

$ maclinuxutils -e

Permission denied

This error occures when the user does not have enough privileges to access the program. In this case,we need to get ownership of the app by typing :

$ chmod +x /bin/maclinuxutils
$ chmod +x /opt/mlu.jar
$ chmod +x /opt/mluexp.jar

or if you run MacLinuxUtils as portable :

$ cd path/to/extracted/app
$ chmod +x mlu.jar
$ chmod +x mluexp.jar

After that you can run the app using the commands provided above.

Why is it asking for my password ?

Just like macOS alternatives,the application requires your password to execute operations. After typing your password in the terminal,the application will run under super-user mode(also known as root).The super-user mode allows it to modify the system files needed in order to do what it does.For more information of what it modifies,you can check the source code.

Issues

If you find issues while running the app,please report them in the issues section.

LICENSE

This project is licensed under the Apache 2.0 license. View LICENSE.md to learn more.

Attribution

Mentions of MacLinuxUtils

About

Bringing the functionality of macOS utilities to Linux Mac users.

Resources

License

Stars

Watchers

Forks

Packages

No packages published