The "Activate Windows" watermark ported to Linux with cairo in C
"Science isn't about WHY. It's about WHY NOT. Why is so much of our science dangerous? Why not marry safe science if you love it so much. In fact, why not invent a special safety door that won't hit you on the butt on the way out, because you are fired." — Cave Johnson (Portal 2)
Read ARGS.md for information about command line arguments.
Note that the executable's name depends on the target platform.
You can use make install to install and make uninstall to remove it.
I've been experimenting with using Xmake for building instead of make, you can test this by installing it and running
xmakePlease leave feedback to improve this if you want
makeWindows (using MSYS2):
Replace gcc with clang, if you want. But then don't forget to start proper shortcut MSYS2 CLANG64.
pacman -S --noconfirm git make pkgconf pactoys
pacboy -S --noconfirm gcc:p
git clone https://github.com/MrGlockenspiel/activate-linux
cd activate-linux
export backends=gdi
makeThis project depends on:
libcairo2-devlibxi-devlibx11-devx11proto-core-devx11proto-devlibxt-devlibxext-devlibxfixes-devlibxinerama-devlibxrandr-devlibwayland-devwayland-protocols
Optional dependencies:
Those packages may be installed (in Debian-based distros) like this:
sudo apt install libconfig-dev libcairo2-dev libxi-dev libx11-dev x11proto-core-dev x11proto-dev \
libxt-dev libxext-dev libxfixes-dev libxinerama-dev libxrandr-dev libwayland-dev wayland-protocols@eddelbuettel runs a PPA with activate linux in it, so it can be installed with:
sudo add-apt-repository ppa:edd/misc
sudo apt update
sudo apt install activate-linuxThis project is in the AUR under activate-linux-git.
Install/uninstall it using your favorite AUR helper.
This repository is a flake. Run it using nix run "github:MrGlockenspiel/activate-linux".
@Plexvola maintains an ebuild for activate-linux and can be installed with the following
eselect repository enable vaacus
emerge --sync vaacus
emerge -av activate-linuxYou can install it on the Extras bucket:
scoop bucket add extras # Ensure bucket is added first
scoop install activate-linuxUse MacPorts to install the following, then build normally.
xorg-servercairoxorg-libXinerama
Alternatively, you can use this project instead because it actually works properly.
