Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shatur/optimus-manager-qt

An interface for Optimus Manager that allows to switch GPUs on Optimus laptops.
https://github.com/shatur/optimus-manager-qt

intel linux nvidia optimus qt

Last synced: about 18 hours ago
JSON representation

An interface for Optimus Manager that allows to switch GPUs on Optimus laptops.

Awesome Lists containing this project

README

        

# ![Optimus Manager Qt logo](data/icons/app/48-apps-optimus-manager.svg) Optimus Manager Qt

[![GitHub (pre-)release](https://img.shields.io/github/release/Shatur95/optimus-manager-qt/all.svg)](https://github.com/Shatur95/optimus-manager-qt/releases)
[![Crowdin](https://badges.crowdin.net/optimus-manager-qt/localized.svg)](https://crowdin.com/project/optimus-manager-qt)

**Optimus Manager Qt** is an interface for **Optimus Manager** that allows to configure and switch GPUs on Optimus laptops using the tray menu.

**Note:** Please send all non-interface related issues to [Optimus Manager](https://github.com/Askannz/optimus-manager) repository.

## Content

- [Screenshots](#screenshots)
- [Features](#features)
- [Third-party](#third-party)
- [Installation](#installation)
- [Localization](#localization)

## Screenshots


Tray screenshot
Tray menu screenshot



General settings screenshot
Optimus settings screenshot

## Features

- Display the current video card in the system tray
- Graphic menu for Optimus Manager configuration
- Switching video cards using the context menu
- Customizable tray icon
- Optional extended Plasma support (you can compile it with or without Plasma dependencies, see below)

## Third-party

### Libraries

This project uses [SingleApplication](https://github.com/itay-grudev/SingleApplication) (prevents launch of multiple application instances), which will be downloaded automatically at configure time using the built-in CMake [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html) module.

### Icons

[circle-flags](https://github.com/HatScripts/circle-flags "A collection of 300+ minimal circular SVG country flags") icons are used for flags.

[Masalla](https://github.com/masalla-art/masalla-icon-theme "Icon theme for UNIX-like OS") icon theme is bundled to provide fallback icons.

## Installation

### Arch Linux and derivatives

You can install [optimus-manager-qt](https://aur.archlinux.org/packages/optimus-manager-qt) or [optimus-manager-qt-git](https://aur.archlinux.org/packages/optimus-manager-qt-git) from AUR.

**Note:** If you are using Plasma, it is recommended to replace in the PKGBUILD `_plasma=false` with `_plasma=true` to use additional KDE API features (this also adds additional dependencies).

### Manual building

You can build **Optimus Manager Qt** by using the following commands:

```bash
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
cmake --build .
```

If you want to build with extended Plasma support you need to define `WITH_PLASMA` (the same as `_plasma=true` in the PKGBUILD):

```bash
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D WITH_PLASMA=ON ..
cmake --build .
```

You will then get a binary named `optimus-manager-qt`.

## Localization

To help with localization you can use [Crowdin](https://crowdin.com/project/optimus-manager-qt) or translate files in `data/translations` with [Qt Linguist](https://doc.qt.io/Qt-5/linguist-translators.html) directly. To add a new language, write me on the Crowdin project page or copy `data/translations/optimus-manager.ts` to `data/translations/optimus-manager__.ts`, translate it and send a pull request.