Skip to content

About

A Qt configuration tool for labwc

Resources

Stars

71 stars

Watchers

6 watching

Forks

Latest commit

 

History

415 Commits

Folders and files

Repository files navigation

ℹ️ Overview

labwc-tweaks is a GUI settings application for labwc.

It manages settings in rc.xml and environment.

Obligatory screenshot:

🚀 Usage instructions

Usage

Use environment variable LABWC_CONFIG_DIR to specify a non-standard location for configuration files.

Custom acceleration

The Custom acceleration profile requires a Labwc version with custom acceleration support. It disables Pointer Speed; Scroll Factor still applies.

Each Motion, Scroll, or Fallback curve is optional. Enable its Define checkbox to configure a positive, finite Step and 2–32 finite, non-negative Points. Points are output speeds at equally spaced input-speed samples. Invalid input prevents Apply while Custom is selected.

Undefined Motion and Scroll curves use Fallback. If Fallback is also undefined, unspecified movement types have no acceleration. Selecting Custom alone does not create any curves. Unchecking Define removes that curve when applied. Existing attributes and child elements are read; edited curves use child elements. Untouched curves retain their values and XML structure.

⬇️ Build instructions

Dependencies

Runtime:

  • Qt6 base
  • libxml2
  • glib2

Build:

  • CMake
  • Qt Linguist Tools
  • Git (optional, to pull latest VCS checkouts)

Build

CMAKE_BUILD_TYPE is usually set to Release, though None might be a valid alternative.
CMAKE_INSTALL_PREFIX has to be set to /usr on most operating systems.

cmake -B build -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr -W no-dev
cmake --build build --verbose

Test

ctest --verbose --force-new-ctest-process --test-dir build

Install

Using sudo make install is discouraged, instead use the system package manager where possible.

In this packaging simulation, CMake installs the binary to /usr/bin and data files to their respective locations in a "package" directory.

DESTDIR="$(pwd)/package" cmake --install build

If you find it a useful tool and want to expand its scope, feel free.

Packages

Packaging status

Translations

For contributing translations the LXQt Weblate platform can be used.

Translation status

Licenses

  • labwc-tweaks is licensed under the GPL-2.0-only license
  • LXQt build tools cmake modules are licensed under the BSD-3-Clause license.

About

A Qt configuration tool for labwc

Resources

Stars

71 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages