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

Installation broke after restart

Open dboczkow opened this issue 1 year ago • 1 comments

Expected Behavior

After restart whole environment start as well

Current Behavior

Start only wallpaper and nothing else

Steps to Reproduce

  1. Run installation script
  2. Restart PC

Detailed Description

on another tty i run main.py and error looks like this:

Traceback (most recent call last):
  File "/home/msafro12/.config/Ax-Shell/main.py", line 11, in <module>
    from config.data import APP_NAME, APP_NAME_CAP, CACHE_DIR, CONFIG_FILE, HOME_DIR
  File "/home/msafro12/.config/Ax-Shell/__init__.py", line 6, in <module>
    from .data import APP_NAME, APP_NAME_CAP, CACHE_DIR, CONFIG_FILE
  File "/home/msafro12/.config/Ax-Shell/config/data.py", line 28, in <modue>
    CURRENT_WIDTH = screen.get_width()
                    ^^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'get_width'

dboczkow avatar Aug 06 '25 17:08 dboczkow

Hi. Did you install while in Hyprland? That error indicates that you are probably running it from a TTY session and not from Hyprland. Ax-Shell requires Hyprland to show up and work.

Axenide avatar Aug 06 '25 22:08 Axenide