Desktop tools
Go to file
Přemysl Eric Janouch 157c002d2f
Bump liberty
2018-06-24 03:15:20 +02:00
liberty@bb30c7d86e Bump liberty 2018-06-24 03:15:20 +02:00
.gitignore Initial commit 2016-01-10 03:12:47 +01:00
.gitmodules Bump liberty 2018-06-24 03:15:20 +02:00
CMakeLists.txt Bump liberty 2018-06-24 03:15:20 +02:00
LICENSE Fix and update LICENSE 2017-02-03 23:11:02 +01:00
README.adoc Add iexec 2017-07-06 12:45:58 +02:00
big-brother.c Bump liberty 2017-07-05 22:25:43 +02:00
brightness.c Bump liberty 2017-07-05 22:25:43 +02:00
config.h.in Initial commit 2016-01-10 03:12:47 +01:00
ddc-ci.c Bump liberty 2017-07-05 22:25:43 +02:00
fancontrol-ng.c Bump liberty 2017-07-05 22:25:43 +02:00
fancontrol-ng.conf.example Add fancontrol-ng 2016-01-26 21:52:15 +01:00
fancontrol-ng.service.in Add fancontrol-ng 2016-01-26 21:52:15 +01:00
gdm-switch-user.c Add gdm-switch-user, run by dwmstatus 2016-01-27 20:22:49 +01:00
iexec.c iexec: wait until executability 2017-07-18 23:06:13 +02:00
input-switch.c input-switch: fix typo in error message 2017-02-09 20:25:53 +01:00
priod.c priod: make sure it compiles on older kernels 2017-07-18 23:05:43 +02:00
priod.conf.example priod: systemd unit, configuration 2017-07-05 22:05:07 +02:00
priod.service.in priod: systemd unit, configuration 2017-07-05 22:05:07 +02:00
shellify shellify: avoid duplicating history entries 2016-02-10 23:08:09 +01:00
siprandom.c Add iexec 2017-07-06 12:45:58 +02:00
wmstatus-weather.pl Add wmstatus-weather.pl 2017-05-07 12:06:58 +02:00
wmstatus.c wmstatus: playlist controls for avrcp 2017-08-30 00:22:22 +02:00

README.adoc

desktop-tools

desktop-tools is a collection of tools to run my desktop that might be useful to other people as well:

  • 'wmstatus' does literally everything my i3 doesnt but Id like it to. It includes PulseAudio volume management and hand-written NUT and MPD clients, all in the name of liberation from GPL-licensed software of course

  • 'brightness' allows me to change the brightness of w/e display device I have

  • 'input-switch' likewise switches the input source of external displays

  • 'fancontrol-ng' is a clone of fancontrol that can handle errors on resume from suspend instead of setting fans to maximum speed and quitting; in general it doesnt handle everything the original does

  • 'priod' sets process CPU, I/O and OOM killer priorities automatically according to configuration

  • 'shellify' is a simple script that sets up a shell for commands like vgdb and nmcli that are painfully lacking it

  • 'iexec' runs a program and attempts to restart it cleanly when the executable file is replaced on the disk

  • 'gdm-switch-user' tells the running GDM daemon, if any, to show the switch user screen

  • 'siprandom' uses the SipHash 2-4 algorithm to produce a stream of pseudo-random data; it should be fast enough to saturate most devices

  • 'big-brother' tracks the title of the active window and the idle state of the user and writes these events to standard output.

Dont expect them to work under any OS that isnt Linux.

Packages

Regular releases are sporadic. git master should be stable enough. You can get a package with the latest development version from Archlinuxs AUR, or from openSUSE Build Service for the rest of mainstream distributions. Consult the list of repositories and their respective links at:

Building

Build dependencies: CMake, pkg-config, liberty (included)
Runtime dependencies: libpulse, libx11, dbus-1, libgdm (optional)

$ git clone --recursive https://github.com/pjanouch/desktop-tools.git
$ mkdir desktop-tools/build
$ cd desktop-tools/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
$ make

To install the applications, you can do either the usual:

# make install

Or you can try telling CMake to make a package for you. For Debian it is:

$ cpack -G DEB
# dpkg -i desktop-tools-*.deb

Contributing and Support

Use this projects GitHub to report any bugs, request features, or submit pull requests. If you want to discuss this project, or maybe just hang out with the developer, feel free to join me at irc://irc.janouch.name, channel #dev.

Bitcoin donations: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

desktop-tools is written by Přemysl Janouch <p.janouch@gmail.com>.

You may use the software under the terms of the ISC license, the text of which is included within the package, or, at your option, you may relicense the work under the MIT or the Modified BSD License, as listed at the following site: