Zorin Appearance not working

I can't use appearance, it doesn't save changes, also some of my apps can't open. After recent upgrade.

I'm using zorin core

zorin-appearance --version

WARNING:root:Shell not installed or running
Traceback (most recent call last):
  File "/usr/bin/zorin-appearance", line 11, in <module>
    load_entry_point('zorin-appearance==4.1', 'gui_scripts', 'zorin-appearance')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/zorin_appearance/__main__.py", line 21, in <module>
    from zorin_appearance import theme
  File "/usr/lib/python3/dist-packages/zorin_appearance/theme.py", line 24, in <module>
    from zorin_appearance import environment
  File "/usr/lib/python3/dist-packages/zorin_appearance/environment.py", line 20, in <module>
    _desktop_environment = os.environ['XDG_CURRENT_DESKTOP']
  File "/usr/lib/python3.8/os.py", line 675, in __getitem__
    raise KeyError(key) from None
KeyError: 'XDG_CURRENT_DESKTOP'

Have you installed another python recently?

If you have the Pro version of Zorin 16, try;

sudo apt install --reinstall zorin-os-desktop-pro

for core:

sudo apt install --reinstall zorin-os-desktop
1 Like

Thanks,
I've done this already with no results.

sudo apt install --reinstall zorin-os-desktop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 8.232 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/zorinos/stable/ubuntu focal/main amd64 zorin-os-desktop amd64 1.5.14 [8.232 B]
Fetched 8.232 B in 2s (3.932 B/s)            
(Reading database ... 337381 files and directories currently installed.)
Preparing to unpack .../zorin-os-desktop_1.5.14_amd64.deb ...
Unpacking zorin-os-desktop (1.5.14) over (1.5.14) ...
Setting up zorin-os-desktop (1.5.14) ...

 python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18) 
[GCC 9.4.0] on linux

sudo apt-get install --reinstall python3.8

Have you been allowing the system upgrades?

sudo apt update && sudo apt dist-upgrade

Thanks for replying,
this is one of the first commands i ran.

Certainly, but when was it last ran?
Have you accepted updates from the Update Notifier prompts?

https://forum.zorin.com/t/trapped-at-grub-rescue-urgent-help-needed/18725/5?u=adithyansm

I also mentioned the same issue before

A post was split to a new topic: Apt update error

So you are telling its a python issue
but also after changing the python version to default 3.8 by
sudo update-alternatives --config python3
didnt solve the issue