GabMus / HydraPaper

A Gtk utility to set two different backgrounds for each monitor on GNOME (which lacks this feature)
GNU General Public License v3.0
169 stars 18 forks source link

build_monitors_from_dict line 28 #3

Closed muttleyxd closed 6 years ago

muttleyxd commented 6 years ago

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
GabMus commented 6 years ago

please send output of cat .config/monitors.xml

GabMus commented 6 years ago

Probably a duplicate of #1

As I suggested in the other issue, try this new flatpak: hydrapaper-11faa4d.zip

GabMus commented 6 years ago

should be fixed, closing