diff options
author | Anthony Wang | 2021-06-20 00:07:35 +0000 |
---|---|---|
committer | GitHub | 2021-06-20 00:07:35 +0000 |
commit | 23dae04e6220785b1380a7fc1a014287a2b00f5f (patch) | |
tree | 039f0cc36cc6fa4307a1a6209c41ce1959efa2c8 | |
parent | f8e029c7008489e94322209352ee31f333bf92f2 (diff) |
Update README.md
-rw-r--r-- | README.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -19,7 +19,7 @@ Enter `sudo modprobe msr` to enable MSR driver. ## Building Make sure that GTK3 dev package and common build tools are installed. -``` +```sh make ``` @@ -35,24 +35,24 @@ Alternatively, you can set capabilities to zenmonitor executable: `sudo setcap c ## Installing By default, Zenmonitor3 will be installed to /usr/local. -``` +```sh sudo make install ``` To add menu item for launching zenpower as root (Polkit is required): -``` +```sh sudo make install-polkit ``` ## Uninstalling -``` +```sh sudo make uninstall ``` -## Setup on ubuntu +## Setup on Ubuntu First follow [installation instructions on zenpower3](https://github.com/Ta180m/zenpower3/blob/master/README.md#installation-commands-for-ubuntu) Then: -``` +```sh sudo modprobe msr sudo bash -c 'echo "msr" > /etc/modules-load.d/msr.conf' sudo apt install build-essential libgtk-3-dev git @@ -63,5 +63,6 @@ make sudo make install sudo make install-polkit ``` + ## Setup on Arch -You may use the AUR package [zenmonitor3-git](https://aur.archlinux.org/packages/zenmonitor3-git/) to install via [traditional method](https://wiki.archlinux.org/index.php/Arch_User_Repository) or using an AUR helper (like yay). +You may use the AUR package [zenmonitor3-git](https://aur.archlinux.org/packages/zenmonitor3-git/) to install via [traditional method](https://wiki.archlinux.org/index.php/Arch_User_Repository) or using an AUR helper. |