Coder Social home page Coder Social logo

gabmus / hydrapaper Goto Github PK

View Code? Open in Web Editor NEW
164.0 12.0 17.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%
flatpak gnome monitor gtk wallpaper background

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hydrapaper's Issues

not working in GNOME-3.28.1

$ flatpak --user install ~/hydrapaper-1.2.flatpak
Required runtime for org.gabmus.hydrapaper/x86_64/master (org.gnome.Platform/x86_64/3.26) is not installed, searching...
The required runtime org.gnome.Platform/x86_64/3.26 was not found in a configured remote.
error: The Application org.gabmus.hydrapaper/x86_64/master requires the runtime org.gnome.Platform/x86_64/3.26 which is not installed

The actual gnome version is:
$ gnome-shell --version
GNOME Shell 3.28.1

Ability to use with CRON for a random wallpaper change

I was wondering if it would be possible to add in a way to cycle through the favourites randomly for each monitor?

Probably using something like CRON to have it run on a fixed schedule.

I haven't been able to find a good way to do this aside from a custom script, but when using multiple monitors it can be an issue and add a level of difficulty to it...

Cinnamon Mint 18.3

After clicking apply, HydraPaper has hijacked my spanned wallpaper settings how do I reset to default?

AUR: missing dependency

python-pilkit is required otherwise this happens:

Traceback (most recent call last):
  File "/usr/bin/hydrapaper", line 50, in <module>
    from hydrapaper import __main__
  File "/usr/lib/python3.6/site-packages/hydrapaper/__main__.py", line 29, in <module>
    from . import wallpaper_merger as WallpaperMerger
  File "/usr/lib/python3.6/site-packages/hydrapaper/wallpaper_merger.py", line 4, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

Suddenly don`t work

select 2 pics for each monitors and apply ( both of them, light and dark mode ) but, did not apply for wallpaper.

I tried flatpak ver and deb version. both of them didnot work.

OS : Ubuntu 22.10
Gnome : 43.1 with Xorg
tring to deamon mode
app version 3.3.1-2 ( tried flatpak ver is 3.3.1 I think. that version has no deamon mode. )

error messages
GtkImage 0x5556821b3620 reported baselines of minimum -2147483648 and natural -2147483648, but sizes of minimum 16 and natural 16. Baselines must be inside the widget size.

My two monitors doesn't work with HydraPaper (Ubuntu 16.04 LTS)

I try to launch hydraPaper but it fails complaining about the contents of monitors.xml, that goes here below. On purpose, I'um running Ubuntu 16.04 LTS .

<monitors version="1">
  <configuration>
    <clone>no</clone>
    <output name="eDP1">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60</rate>
      <x>1600</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="HDMI1">
      <vendor>SAM</vendor>
      <product>0x0b3f</product>
      <serial>0x30333635</serial>
      <width>1600</width>
      <height>900</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="eDP-0">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="eDP-0">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60</rate>
      <x>1024</x>
      <y>9</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="DisplayPort-0">
      <vendor>Sam</vendor>
      <product>0x0000</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="DP1">
      <vendor>SAM</vendor>
      <product>S22D300</product>
      <serial>H4MF900979</serial>
      <width>1920</width>
      <height>1080</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="eDP1">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60.004718780517578</rate>
      <x>1920</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="eDP1">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60</rate>
      <x>1600</x>
      <y>43</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="DP1">
      <vendor>SAM</vendor>
      <product>0x0b3e</product>
      <serial>0x30333635</serial>
      <width>1600</width>
      <height>900</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="eDP-0">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1360</width>
      <height>768</height>
      <rate>60</rate>
      <x>1680</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="DisplayPort-0">
      <vendor>SAM</vendor>
      <product>0x0b3e</product>
      <serial>0x30333635</serial>
      <width>1680</width>
      <height>1050</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
  <configuration>
    <clone>no</clone>
    <output name="HDMI1">
      <vendor>SAM</vendor>
      <product>S22D300</product>
      <serial>0x30333635</serial>
      <width>1920</width>
      <height>1080</height>
      <rate>60</rate>
      <x>0</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>no</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
    <output name="eDP1">
      <vendor>LGD</vendor>
      <product>0x045c</product>
      <serial>0x00000000</serial>
      <width>1366</width>
      <height>768</height>
      <rate>60.004718780517578</rate>
      <x>1920</x>
      <y>0</y>
      <rotation>normal</rotation>
      <reflect_x>no</reflect_x>
      <reflect_y>no</reflect_y>
      <primary>yes</primary>
      <presentation>no</presentation>
      <underscanning>no</underscanning>
    </output>
  </configuration>
</monitors>

[Feature Request] An option to sort by folders

since you can add several folders, it would be nice if there was an option to be able to sort by locations, similar to Favorites

for example

Favorites ----------------------------------

Anime ------------------------------ (thats folder name)

Scenery ------------------------------------ (thats folder name)

Folders shouldn't scroll on a different container though like Favorites ..which btw im not either sure that Favorites should scroll on a different box. a better way is to have a hide/show button next that collapses them -in case someone has 150 favorites :)

Warnings about Debian control file

AppCenter Dashboard found some issues with your debian/control file. While we will continue
to try to build your project, we recommend you take a look and fix these
problems for next time.

  • Source is not correct. It should be "com.github.gabmus.hydrapaper"
  • Package is not correct. It should be "com.github.gabmus.hydrapaper"

If you need help with this issue please stop by the gitter channel.

Affects: 1.1.3 release

Add to flathub?

Is there a milestone or other feature you want to add before adding the app to Flathub, or are you not interested? (no worries if not)

Other than requiring "--socket=system-bus", and not having OARS in the appdata there isn't too much that's missing from my perspective, and it's a cool app that more people should see!

build_monitors_from_dict line 28

Unfortunately I do not know what's wrong here, GNOME 3.26 on Arch Linux, 2 monitors used on Intel IGPU (7700K)

Traceback (most recent call last):
  File "/usr/bin/hydrapaper", line 51, in <module>
    __main__.main()
  File "/usr/lib/python3.6/site-packages/hydrapaper/__main__.py", line 368, in main
    application = Application()
  File "/usr/lib/python3.6/site-packages/hydrapaper/__main__.py", line 78, in __init__
    self.monitors = MonitorParser.build_monitors_from_dict()
  File "/usr/lib/python3.6/site-packages/hydrapaper/monitor_parser.py", line 28, in build_monitors_from_dict
    lm_list = doc['monitors']['configuration'][-1]['logicalmonitor']
KeyError: -1

Failed to build with liftoff

AppCenter failed to build with liftoff.

Build Log
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package com.github.gabmus.hydrapaper
dpkg-buildpackage: source version 1.1.3
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by GabMus <[email protected]>
 dpkg-source --before-build flightcheck
dpkg-source: warning: unknown information field 'Build-Depends' in input data in package's section of control info file
dpkg-source: warning: unknown information field '${misc' in input data in package's section of control info file
dpkg-source: warning: unknown information field '${python3' in input data in package's section of control info file
 fakeroot debian/rules clean
dh clean --with python3
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b flightcheck
dpkg-source: warning: unknown information field 'Build-Depends' in input data in package's section of control info file
dpkg-source: warning: unknown information field '${misc' in input data in package's section of control info file
dpkg-source: warning: unknown information field '${python3' in input data in package's section of control info file
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../com.github.gabmus.hydrapaper_1.1.3.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b flightcheck gave error exit status 255

If you need help with this issue please stop by the gitter channel.

Affects: 1.1.3 release

Could Hydra assist the creation of an XML wallpaper ?

"animated" wallpapers are supported by GNOME Shell (and others) but there is no way to manage them from system settings, and it looks like it's not supported by Hydra (at least i didn't see it)

Could Hydra:

  • support XML files ?
  • help creating one from a set of pictures ?

Unable to install flatpak

flatpak install ~/Downloads/hydrapaper-1.1.2.flatpak
Updating: org.gnome.Platform/x86_64/3.26 from gnome
No updates.
Updating: org.gnome.Platform.Locale/x86_64/3.26 from gnome
No updates.
Installing: org.gabmus.hydrapaper/x86_64/master from bundle hydrapaper-1.1.2.flatpak
error: GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)

[Feature Request] .svg Support

Issue

Nautilus supports the wallpaper for GNOME from an .svg file. Unfortunately, HydraPaper does not manage .svg(s).

Solution

Would it be possible to make HydraPaper produce wallpapers from .svg(s)? It would be useful since .svg(s) scale to any resolution.

Turning 3rd Monitor on/off doesnt sync

When you turn a 3rd Monitor on then it scales the currentwallpaper over the 3
and when you turn the 3rd off it shows the images over 2 monitor.
obviously cuz no sync when monitor changes but that would be a cool new feature

HydraPaper doesn't list any wallpaper

As title says, HydraPaper can't find wallpapers. I specified folders which contain jpeg images but nothing is displayed.
When launching from terminal, i get the following warnings:

(hydrapaper:2): dbind-WARNING **: 17:21:58.511: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-vVhWFASkHT: Connection refused

(hydrapaper:2): GLib-GIO-CRITICAL **: 17:21:58.700: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

And this is what the app shows:
https://i.imgur.com/yOPGU76.png

I'm running from Ubuntu Budgie 18.04 and installed HydraPaper from flatpack (following all steps described in the readme). In case it matters, i'm using one 1080p monitor connected with DVI and one 720p monitor connected with VGA.
I've also tried to run as root but no wallpaper was listed aswell.

doesnt open

bash-5.1$ hydrapaper
/usr/lib64/python3.10/site-packages/gi/types.py:217: Warning: cannot derive 'hydrapaper+main_stack+HydraPapaerMainStack' from final parent type 'AdwViewStack'
  _gi.type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  File "/usr/bin/hydrapaper", line 73, in <module>
    from hydrapaper import __main__
  File "/usr/lib/python3.10/site-packages/hydrapaper/__main__.py", line 6, in <module>
    from .app_window import HydraPaperAppWindow
  File "/usr/lib/python3.10/site-packages/hydrapaper/app_window.py", line 3, in <module>
    from .main_stack import HydraPapaerMainStack
  File "/usr/lib/python3.10/site-packages/hydrapaper/main_stack.py", line 6, in <module>
    class HydraPapaerMainStack(Adw.ViewStack):
  File "/usr/lib64/python3.10/site-packages/gi/types.py", line 226, in __init__
    super(GObjectMeta, cls).__init__(name, bases, dict_)
  File "/usr/lib64/python3.10/site-packages/gi/types.py", line 205, in __init__
    cls._type_register(cls.__dict__)
  File "/usr/lib64/python3.10/site-packages/gi/types.py", line 217, in _type_register
    _gi.type_register(cls, namespace.get('__gtype_name__'))
RuntimeError: could not create new GType: hydrapaper+main_stack+HydraPapaerMainStack (subclass of AdwViewStack)

UI refreshes too often

I guess you're aware of most UI issues, but here is one you might have missed. When you download wallpapers, those might have very long names ..as you can see on screenshot

screenshot from 2018-02-03 01-42-58

Two more issues here is that

  1. The selection gets the full height
  2. When you remove a favorite (or when you add one), the view is refreshing all the items, while there is also a lock

HydraPaper

When I try to launch HydraPaper, it won't start and I get the following :
(org.gabmus.hydrapaper:26807): Gtk-CRITICAL **: 17:26:44.117: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/hydrapaper/main.py", line 221, in do_command_line
self.do_activate()
File "/usr/lib/python3/dist-packages/hydrapaper/main.py", line 153, in do_activate
self.window = HydraPaperAppWindow()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hydrapaper/app_window.py", line 41, in init
self.main_stack = HydraPaperMainStack(self.searchbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hydrapaper/main_stack.py", line 13, in init
self.main_flowbox = HydraPaperWallpapersFlowbox(searchbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hydrapaper/wallpapers_flowbox.py", line 27, in init
self.populate()
File "/usr/lib/python3/dist-packages/hydrapaper/wallpapers_flowbox.py", line 68, in populate
self.flowbox.insert(WallpaperBox(wp), -1)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hydrapaper/wallpaper_flowbox_item.py", line 66, in init
f'HydraPaperThumb{self.wallpaper_path}'.encode()
UnicodeEncodeError: 'utf-8' codec can't encode character '\udce9' in position 37: surrogates not allowed

I wasn't able to find any help or open issue on this

wallpaper folders cannot be changed

I could remove those which were originally present - because they pointed nowhere. But now I'm stuck to add new ones
bildschirmfoto von 2018-01-25 07-36-52

Any hint how to add this manually (config file?)

4 monitors in a non-linear layout is acting unexpectedly

I have a laptop attached to a docking station which has 3 monitors attached. My laptop sits below my left monitor. If you zoom into the screenshot you can see the display layout.

I selected an image for each monitor and you can see the result in the screenshot.

Please let me know if there is anything else I can provide you that might be helpful in debugging this issue.

Thanks!

Screenshot from 2021-08-13 20-47-21

XML parsing error

Hi, i've found your soft very cool, but I'm getting a XML persing error. Here is my monitors.xml :

<monitors version="1">
  <configuration>
      <clone>no</clone>
      <output name="HDMI-0">
          <vendor>HWP</vendor>
          <product>0x260c</product>
          <serial>0x01010101</serial>
          <width>1024</width>
          <height>768</height>
          <rate>75</rate>
          <x>1680</x>
          <y>117</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>no</primary>
      </output>
      <output name="DVI-0">
          <vendor>SAM</vendor>
          <product>0x027f</product>
          <serial>0x4d453232</serial>
          <width>1680</width>
          <height>1050</height>
          <rate>60</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
      </output>
      <output name="VGA-0">
      </output>
  </configuration>
</monitors>

Already tried the solution with digfish, but nothing works. After the command he gave (/usr/bin/flatpak run --branch=master --arch=x86_64 --command=/app/bin/hydrapaper --file-forwarding org.gabmus.hydrapaper) here is the result :

Gtk-Message: Failed to load module `"unity-gtk-module"`
Error: error parsing /home/luca/.config/monitors.xml

Exception:
name 'path_to_monitors_xml' is not defined

Arch Linux error: target not found: gtk3>=3.24

The dependency on the AUR pkg is set to >=3.24 while ARCH current version is 3.22.28-1, therefore I cannot install. Do we truly need 3.24 or perhaps this was just an oversight?

Hope to get this working. Drives me crazy that this feature isn't built-in to Gnome, thank you for your work on it.

Ubuntu 18

adding source button is grey can t be pressed

Configurations files are outside of Sandbox

i had some issues (i'll open them later) and i thought to remove cache etc to test on a clean run
so first i removed everything on

$HOME/.var/app/org.gabmus.hydrapaper

when i restarted the app, i noticed that it was keep loading the old configuration (folders). i found nothing on GSettings but i discovered this file

$HOME/.config/hydrapaper.json 

is it correct to have a configuration file there for a Flatpak?

HydraPaper can't change wallpapers on Pop OS 20.04

I'm currently using Pop OS 20.04, and I installed HydraPaper from Flathub to compensate from Pop Shell's inability to cycle through a list of wallpapers.

Unfortunately, HydraPaper currently doesn't seem to work on my machine.

I can open the application and use the GUI, but when I select any given wallpaper, Pop Shell's background is still the default wallpaper, even though HydraPaper's UI thinks the current wallpaper is the one I selected.

This is too bad, because HydraPaper's GUI is exactly what I want otherwise.

Not working on mint 17

When I try to change my desktop, show this message. Anyone can help me?

Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Gb9ahe0pkE: Connection refused
(hydrapaper:2): Gtk-WARNING **: 00:03:12.568: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
(hydrapaper:2): dconf-WARNING **: 00:04:42.923: failed to commit changes to dconf: Não foi possível conectar: Connection refused

Lower rest windows when you set wallpapers

This is the same functionality with Chrome OS and Deepin Linux. When you open Hydra, the rest windows should be get lower so you can see the backgrounds you set. When you close it, the windows get raised again

this is kinda tricky to achieve it automatically, because someone might wants to keep Hydra open, even if he has set a wallpaper, so it might worth to have a button to manually "lower and raise" windows

Ubuntu 22.04 Jelly Fish

I'm using a Philips 27'' monitor (1920 x 1080) and my 15'' notebook (1366 x 768). At Ubuntu 20.04, Hydrapaper was working perfectly, but I upgraded to new ubuntu 22.04 Jelly Fish / Wayland... now, when I use Hydrapaper, flatpak or apt repository, the actual background image expands to all the displays as if was only one. Note: The background pictures that I choose from each display were different from the actual

Need a new icon!

If you like making icons, you can try proposing one for HydraPaper here. The one I made I really don't like, it's more like a placeholder.

Misaligned background tiling with multiple display resolutions

I'm using a 13" 3840x2160 resolution laptop connected to two 1920x1080 external displays in the pictured arrangement, with one external display rotated vertically ("Portrait Right"). I am running vanilla GNOME under Ubuntu 17.10 and Wayland (which lets me slightly reduce the resolution of the built-in 4K display to fine-tune scaling).

screenshot from 2018-02-28 17-53-39

HydraPaper correctly lists all including the rotated display, but sadly creates a background wallpaper which is misaligned with the display regions and is disproportionately scaled.

screenshot from 2018-02-28 10-09-18

I may be able to make a start looking into this, and believe it is caused by the resolution differences rather than the single rotated display. Need to test under Xorg as well as with different monitor arrangements, but neither of these are optimal for my usage in this setup.

lockscreen background feature missing

Hi guys,
I have been using this flatpak on fedora 30. This app is great. Just wondering if "lock screen" background will be handled sooner or later >.^

[Run Error] monitors.xml missing

from Flatpak installation

flatpak run  org.gabmus.hydrapaper/x86_64/master
Traceback (most recent call last):
  File "/app/bin/hydrapaper", line 51, in <module>
    __main__.main()
  File "/app/lib/python3.5/site-packages/hydrapaper/__main__.py", line 368, in main
    application = Application()
  File "/app/lib/python3.5/site-packages/hydrapaper/__main__.py", line 78, in __init__
    self.monitors = MonitorParser.build_monitors_from_dict()
  File "/app/lib/python3.5/site-packages/hydrapaper/monitor_parser.py", line 26, in build_monitors_from_dict
    with open(path_to_monitors_xml) as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/home/alex/.config/monitors.xml'

Note i have a single monitor

Single click for selection on flowbox please

i will describe 3 trivial UI issues here, instead opening 3 different bug reports

  1. the selection should be on single click (see screenshot), rather double
  2. when you first open the app, the current background is missing from the previewer (see screenshot)
  3. can you please remove the title from the headerbar? it gets trimmed if we scale the app to a single column

screenshot from 2018-01-24 05-53-59

Bug changing display interfaces

I identified the error as soon as I changed the ports where the interfaces were physically located, as soon as I turned on the computer I couldn't change anything (only when using a monitor), after that I thought it was the one that was modifying the wallpaper, because right when I deleted it the hydrapaper, it started working normally again.

What I did was the following:

DisplayPort 01 to DisplayPort 02
DisplayPort 02 to DisplayPort 01

Note: There are two monitors and the displays are connected to the graphics card.

  • Operating System : Linux Mint 21.2 Cinnamon
  • Cinnamon Version : 5.8.4
  • Linux Kernel: 5.15.0-91-generic

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.