Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

What is ".current.wall"

Open Fexaop opened this issue 1 year ago • 2 comments

i cloned the latest commit and i get the error

  File "/home/gunit/Ax-Shell/main.py", line 26, in <module>
    notch = Notch()
  File "/home/gunit/Ax-Shell/modules/notch.py", line 35, in __init__
    self.dashboard = Dashboard(notch=self)
                     ~~~~~~~~~^^^^^^^^^^^^
  File "/home/gunit/Ax-Shell/modules/dashboard.py", line 33, in __init__
    self.widgets = Widgets(notch=self.notch)
                   ~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/home/gunit/Ax-Shell/modules/dashboard_modules/widgets.py", line 69, in __init__
    self.player = Player()
                  ~~~~~~^^
  File "/home/gunit/Ax-Shell/modules/player.py", line 310, in __init__
    pb = PlayerBox(mpris_player=mp)
  File "/home/gunit/Ax-Shell/modules/player.py", line 135, in __init__
    self._apply_mpris_properties()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/gunit/Ax-Shell/modules/player.py", line 169, in _apply_mpris_properties
    self._set_cover_image(fallback)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/home/gunit/Ax-Shell/modules/player.py", line 192, in _set_cover_image
    self.cover.set_image_from_file(fallback)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/home/gunit/Ax-Shell/widgets/circle_image.py", line 107, in set_image_from_file
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(new_image_file)
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/home/gunit/.current.wall”: No such file or directory (4)

i tried taking a random png and renaming it to .current.wall then the error got fixed but then no background colors were there

Fexaop avatar Feb 20 '25 12:02 Fexaop

Do this and restart the bar:

rm ~/.current.wall
rm ~/.config/Ax-Shell/config/config.json

Once you do that, it should create ~/.current.wall. Yesterday I changed the way that's handled so maybe that's the issue. Please let me know if it works.

Axenide avatar Feb 20 '25 17:02 Axenide

thanks now it works

Fexaop avatar Feb 21 '25 13:02 Fexaop