hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.12k stars 46 forks source link

Manjaro Gnome Span #40

Closed ransomts closed 3 years ago

ransomts commented 4 years ago

Hey, this project looks like it could be super useful! I'm getting some errors on my system though - when I launch I get a series of errors about being unable to register hotkeys, and the span function is not working for my desktop.

I have six monitors, which are all being detected by superpaper and the preview looks like I expect it to but when I apply it just puts the same image on every screen. I'm not seeing any terminal output during execution. Any ideas how to debug?

hhannine commented 4 years ago

First check that the gnome wallpaper setting is set to span.

Terminal prints are enabled with the flag -d. Would you post the errors you get?

ransomts commented 4 years ago

Okay, I set the wallpaper mode to spanning in the gnome tweak tool (I had been looking in the wrong spot before) but now superpaper isn't launching a gui for me anymore. I uninstalled and reinstalled it through the AUR but still no dice. Debug info following:

/usr/lib/python3.8/site-packages
/home/tsranso/.config/superpaper
/home/tsranso/.config/superpaper/profiles
None
None
None
None
None
None
True
use_hotkeys: True
hk_binding_next: ('control', 'super', 'w')
hk_binding_pause: ('control', 'super', 'shift', 'p')
WARNING: Horizontal and vertical PPI do not match! hor: 105.50769230769231, ver: 101.6
Display(resolution=(1080, 1920), digital_offset=(0, 480), phys_size_mm=(260, 480), detected_phys_size_mm=(260, 480), ppi=None, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='HDMI-A-0')
get_display_data output: NUM_DISPLAYS = 6, RES_ARR = [(1080, 1920), (1920, 1200), (1920, 1200), (1920, 1200), (1920, 1200), (1080, 1920)], OFF_ARR = [(0, 480), (1080, 0), (1080, 1200), (3000, 0), (3000, 1200), (4920, 480)]
Display(resolution=(1080, 1920), digital_offset=(0, 480), phys_size_mm=(260, 480), detected_phys_size_mm=(260, 480), ppi=105.50769230769231, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='HDMI-A-0')
Display(resolution=(1920, 1200), digital_offset=(1080, 0), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-0')
Display(resolution=(1920, 1200), digital_offset=(1080, 1200), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-3')
Display(resolution=(1920, 1200), digital_offset=(3000, 0), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-4')
Display(resolution=(1920, 1200), digital_offset=(3000, 1200), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-1')
Display(resolution=(1080, 1920), digital_offset=(4920, 480), phys_size_mm=(286, 509), detected_phys_size_mm=(286, 509), ppi=95.9160839160839, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DVI-D-0')
load_system: archive_file not found: /home/tsranso/.config/superpaper/display_systems.dat
START Listing profiles for menu.
hkBinding: ('control', 'super', 'shift', 'h')
Listed profile: example
hkBinding: ('control', 'super', 'shift', 'g')
Listed profile: example_multi
perspective preset: default
Listed profile: leaves
END Listing profiles for menu.
read profile name from 'running_profile': leaves
perspective preset: default
WARNING: Horizontal and vertical PPI do not match! hor: 105.50769230769231, ver: 101.6
Display(resolution=(1080, 1920), digital_offset=(0, 480), phys_size_mm=(260, 480), detected_phys_size_mm=(260, 480), ppi=None, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='HDMI-A-0')
get_display_data output: NUM_DISPLAYS = 6, RES_ARR = [(1080, 1920), (1920, 1200), (1920, 1200), (1920, 1200), (1920, 1200), (1080, 1920)], OFF_ARR = [(0, 480), (1080, 0), (1080, 1200), (3000, 0), (3000, 1200), (4920, 480)]
Display(resolution=(1080, 1920), digital_offset=(0, 480), phys_size_mm=(260, 480), detected_phys_size_mm=(260, 480), ppi=105.50769230769231, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='HDMI-A-0')
Display(resolution=(1920, 1200), digital_offset=(1080, 0), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-0')
Display(resolution=(1920, 1200), digital_offset=(1080, 1200), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-3')
Display(resolution=(1920, 1200), digital_offset=(3000, 0), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-4')
Display(resolution=(1920, 1200), digital_offset=(3000, 1200), phys_size_mm=(518, 324), detected_phys_size_mm=(518, 324), ppi=94.14671814671814, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DisplayPort-1')
Display(resolution=(1080, 1920), digital_offset=(4920, 480), phys_size_mm=(286, 509), detected_phys_size_mm=(286, 509), ppi=95.9160839160839, ppi_norm_resolution=None, ppi_norm_offset=None, ppi_norm_bezels=(0, 0), perspective_angles=(0, 0), name='DVI-D-0')
load_system: archive_file not found: /home/tsranso/.config/superpaper/display_systems.dat
running profile job with profile: leaves
Running a one-off wallpaper change.
/home/tsranso/Pictures/wallpapers/leafs.jpg
Canvas size: [6000, 2400]
Error: could not register hotkey ('control', 'super', 'w'). Check that it is formatted properly and valid keys.
<class 'system_hotkey.system_hotkey.SystemRegisterError'>
Error: could not register hotkey ('control', 'super', 'shift', 'p'). Check that it is formatted properly and valid keys.
<class 'system_hotkey.system_hotkey.SystemRegisterError'>
hkBinding: ('control', 'super', 'shift', 'h')
Listed profile: example
hkBinding: ('control', 'super', 'shift', 'g')
Listed profile: example_multi
perspective preset: default
Listed profile: leaves
Registering binding:                                 ('control', 'super', 'shift', 'h') for profile: example
Registering binding:                                 ('control', 'super', 'shift', 'g') for profile: example_multi
Error: could not register hotkey ('control', 'super', 'shift', 'g'). Check that it is formatted properly and valid keys.
<class 'system_hotkey.system_hotkey.SystemRegisterError'>
Registering binding:                                 None for profile: leaves
file:///home/tsranso/.cache/superpaper/temp/leaves-b.png
DESKTOP_SESSION is: 'gnome'
hhannine commented 4 years ago

Does it set the wallpaper? I'm not seeing any errors, aside from the hotkeys.

If you disabled the help at start option, superpaper opens only the tray applet that then allows you to access the configuration. On Ubuntu I've had trouble to get the tray icon to show to though.

hhannine commented 4 years ago

To try to force gui to show, modify the general settings file in the. ./config/superpaper folder to have the help at start equal true, or just delete the file to get the original defaults.

Edit : ~/. config /superpaper

hhannine commented 4 years ago

I wrote in another issue :

This is a bit suboptimal but I got the tray icon to show up in my Ubuntu 18.04 virtual machine by installing and enabling the "TopIcons plus" Gnome extension. Might be that the GUI library that creates the indicator uses some legacy pathway that creates an icon that is not shown on Gnome as default. Not sure. At least this is an easy fix.

From the tray applet you can access the config UI and settings, among other things. Does this resolve your remaining issues or is there something else still?

hhannine commented 3 years ago

Span mode will now be set automatically: 7fbb0d2