Solitai7e / xfce4-brightness-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xfce4-brightness-plugin

(Unfinished) xfce4-panel plugin for controlling software (e.g. RandR) brightness and gamma levels, to be used with old monitors that do not dim to a satisfactory degree.

Building

The build system is not exactly fully functional at the moment but is otherwise usable.

Ensure the following is installed:

  • Autoconf
  • Automake
  • autoconf-archive
  • pkg-config
  • GTK 3
  • libxfce4panel
  • libxfce4utils
  • libx11
  • libxrandr

cd to wherever you cloned this repo to and run:

./autogen.sh --prefix=/usr
make -j

A successful build should produce the file libbrightness.so.

To install the plugin:

sudo cp brightness.desktop "$(pkg-config --variable=datarootdir libxfce4panel-2.0)/xfce4/panel/plugins/"
sudo cp libbrightness.so "$(pkg-config --variable=libdir libxfce4panel-2.0)/xfce4/panel/plugins/"

To-dos

In case if I ever feel like coming back to this:

  • Per-monitor brightness/gamma adjustment
  • Fix the build system (I hate build systems)
  • Investigate Wayland support

About


Languages

Language:C 60.7%Language:Vala 33.6%Language:M4 5.3%Language:Shell 0.3%