varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.2k stars 145 forks source link

Not able to change wallpaper #535

Closed shirishag75 closed 2 years ago

shirishag75 commented 2 years ago

Version of Variety

$ variety --version variety 0.8.7

Describe the bug

Not able to change wallpaper.

Context

Yes.

To Reproduce

1. 2. 3.

Actually I have better than that, I have the traceback.

Attach Variety's log file

ERROR: 2022-06-15 07:27:09,409: change_wallpaper() 'Could not change wallpaper' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line 1636, in change_wallpaper self.shownotification(("No more wallpapers"), msg) File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line 1575, in show_notification self.notification.show() gi.repository.GLib.GError: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)

Even if there are only two images, it should be able to cycle between them. And it somehow isn't even able to do that :(

Desktop environment and version

Debian mate 1.26.0

OS name and version

$ cat /etc/issue Debian GNU/Linux bookworm/sid \n \l

Screenshots

Attached files

Additional context

You are welcome :)

shirishag75 commented 2 years ago

Sharing the .conf file variety.zip

castorfou commented 2 years ago

same issue for me since June/15

mohammadrafigh commented 2 years ago

I found that the problem only happens on Wayland, on XOrg everything works well.

IamR3m commented 2 years ago

Same for me. Just upgraded Ubuntu from 20.04 to 22.04 variety version: 0.8.8

My log:

ERROR: 2022-06-30 01:59:00,928: apply_display_mode() 'Could not apply display mode logic:'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line 1420, in apply_display_mode
    mode_data = modes[0].fn(to_set)
  File "/usr/lib/python3/dist-packages/variety/plugins/IDisplayModesPlugin.py", line 74, in fn
    w, h = Util.get_primary_display_size()
  File "/usr/lib/python3/dist-packages/variety/Util.py", line 614, in get_primary_display_size
    geometry = monitor.get_geometry()
AttributeError: 'NoneType' object has no attribute 'get_geometry'
ERROR: 2022-06-30 01:59:00,928: do_set_wp() 'Error while setting wallpaper'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line 1549, in do_set_wp
    to_set, display_mode_param = self.apply_display_mode(to_set)
ValueError: too many values to unpack (expected 2)
mohammadrafigh commented 2 years ago

It's fixed with 0.8.9. Thanks @peterlevi for your good work on Variety.

IamR3m commented 2 years ago

Yes, I confirm, that 0.8.9 works again.

jlu5 commented 2 years ago

duplicate of #537