Coder Social home page Coder Social logo

yagodoo / hydrapaper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gabmus/hydrapaper

0.0 0.0 0.0 2.43 MB

A Gtk utility to set two different backgrounds for each monitor on GNOME (which lacks this feature)

License: GNU General Public License v3.0

Python 90.86% Meson 9.14%

hydrapaper's Introduction

NOTICE! Don't open new issues here!

Development moved to https://gitlab.com/gabmus/hydrapaper, therefore open new issues there.


HydraPaper

A Gtk utility to set two different backgrounds for each monitor on GNOME (which lacks this feature)

screenshot

Installing

Requirements

HydraPaper officially supports the following desktop environments:

  • GNOME 3
  • MATE
  • Budgie

It requires the following dependencies:

  • python3 (>=3.5)
  • python-pillow
  • libwnck3
  • gtk

Installing via Flatpak

Prerequisites

From Flathub (recommended)

Click the following button install HydraPaper from the Flathub store.

Get it on Flathub

From GitHub release

  • Download the latest flatpak release from the releases page
  • Install the flatpak file you just downloaded either opening it up with GNOME Software, Discover or using one of the following commands:
    • To install HydraPaper systemwide: flatpak install hydrapaper*.flatpak
    • To install HydraPaper locally for your user only: flatpak --user install hydrapaper*.flatpak

Using development builds

For every notable change made to HydraPaper I will build a flatpak. If you want to try out the latest features and don't mind some bugs or crashes here and there, or if you want to help out with development, you can grab the latest development snapshot build using the following link: Get the latest development snapshot

Uninstalling HydraPaper flatpak

You can uninstall HydraPaper from GNOME Software or Discover.

Alternatively you can run one of these commands:

  • If you installed HydraPaper using GNOME Software or system wide: flatpak uninstall org.gabmus.hydrapaper
  • If you installed HydraPaper using Discover or using the --user option: flatpak --user uninstall org.gabmus.hydrapaper

Installing on Arch Linux/Antergos/Manjaro

You can find HydraPaper on AUR, as hydrapaper-git (AUR page).

Other distros

Your best bet is installing via Flatpak. Check the instructions in this section.

Alternatively ou can either run HydraPaper without installing it (refer to the Building for testing section), or install it in your system (refer to the Installing systemwide directly section).

Building

Building for testing

This is the best practice to test HydraPaper without installing using meson and ninja.

First time

git clone https://github.com/gabmus/hydrapaper
cd hydrapaper
mkdir builddir
cd builddir
meson ..
meson configure -Dprefix=$(pwd)/testdir
ninja install # This will actually install in hydrapaper/builddir/testdir
ninja run

Later on

cd hydrapaper/builddir
ninja install # This will actually install in hydrapaper/builddir/testdir
ninja run

Building a Flatpak

First install flatpak and flatpak-builder from your distro repository. Although it's not necessary, you may also want to install gnome-software.

Create a directory somewhere in your home, I suggest something like ~/hydrapaperflatpak.

Either clone the whole HydraPaper repo (git clone https://github.com/gabmus/hydrapaper) or just download the flatpak manifest file from this repo in dist/flatpak/org.gabmus.hydrapaper.json. In either case, put the files inside the directory you created before.

Run the following: flatpak-builder --repo=repo hydrapaper $PATH_TO_MANIFEST where $PATH_TO_MANIFEST is the path to the org.gabmus.hydrapaper.json flatpak manifest. If everything works correctly, this command should create two directories repo and hydrapaper with flatpak stuff inside of your present working directory (again, I suggest to run everything inside a specifically designated directory).

Now you'll be creating a flatpak bundle, so that you can install it and distribute it without messing with flatpak repos. To do this you run flatpak build-bundle repo hydrapaper.flatpak org.gabmus.hydrapaper. This will give you a hydrapaper.flatpak file inside your present working directory. To install it, either open it with gnome-software or run flatpak install hydrapaper.flatpak.

Note: I am a just a beginner with flatpak, and probably some of the instructions I gave in this section of the readme are wrong or could be done better. If you know a better way of doing this, please don't hesitate to make a pull request or open an issue.

Build and install systemwide directly

WARNING: This approach is discouraged, since it will manually copy all the files in your system. Uninstalling could be difficult and/or dangerous.

But if you know what you're doing, here you go:

git clone https://github.com/gabmus/hydrapaper
cd hydrapaper
mkdir builddir
cd builddir
meson ..
ninja install

hydrapaper's People

Contributors

gabmus avatar huntie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.