We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
In Linux Mint 20, Solaar suddenly won't start
I have installed Solaar on my Linux Mint 20 O/S and was working fine till this morning when Solaar suddenly will not start.  Have no idea why.

- Solaar version: solaar 1.0.4
- Distribution: Linux Mint 20 XFCE
- Kernel version (ex. `uname -srmo`): `Linux 5.4.0-53-generic x86_64 GNU/Linux`
- Output of `solaar show`:
(solaar:28696): dbind-WARNING **: 22:33:44.353: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unifying Receiver
  Device path  : /dev/hidraw1
  USB id       : 046d:C52B
  Serial       : 43799195
    Firmware   : 12.11.B0032
    Bootloader : 04.16
    Other      : AA.AA
  Has 1 paired device(s) out of a maximum of 6.
  Notifications: wireless, software present (0x000900)
  Device activity counters: 2=128

  2: ERGO M575 Trackball
     Device path  : /dev/hidraw6
     WPID         : 4096
     Codename     : ERGO M575
     Kind         : mouse
     Protocol     : HID++ 4.5
     Polling rate : 8 ms (125Hz)
     Serial number: 0EB362BF
     Model ID:      B02740960000
     Unit ID:       0EB362BF
        Bootloader: BOT 40.00.B0009
          Firmware: MPM 26.00.B0009
             Other: 
     The power switch is located on the base.
     Supports 26 HID++ 2.0 features:
         0: ROOT                   {0000}   
         1: FEATURE SET            {0001}   
         2: DEVICE FW VERSION      {0003}   
            Firmware: Bootloader BOT 40.00.B0009 0000ABF1CB8B01
            Firmware: Firmware MPM 26.00.B0009 4096ABF1CB8B01
            Firmware: Other   
            Unit ID: 0EB362BF  Model ID: B02740960000  Transport IDs: {'btleid': 'B027', 'wpid': '4096'}
         3: DEVICE NAME            {0005}   
            Name: ERGO M575 Trackball
            Kind: trackball
         4: WIRELESS DEVICE STATUS {1D4B}   
         5: RESET                  {0020}   
         6: DEVICE FRIENDLY NAME   {0007}   
         7: UNIFIED BATTERY        {1004}   
         8: REPROG CONTROLS V4     {1B04}   
            Key/Button Actions: {'80': 80, '81': 81, '82': 82, '86': 86, '83': 83}
            Key/Button Diversion: {'82': 0, '86': 0, '83': 0, '215': 0}
         9: ADJUSTABLE DPI         {2201}   
            Sensitivity (DPI): 400
        10: unknown:2250           {2250}   
        11: DFUCONTROL SIGNED      {00C2}   
        12: DEVICE RESET           {1802}   internal, hidden
        13: unknown:1803           {1803}   internal, hidden
        14: CONFIG DEVICE PROPS    {1806}   internal, hidden
        15: unknown:1812           {1812}   internal, hidden
        16: OOBSTATE               {1805}   internal, hidden
        17: unknown:1830           {1830}   internal, hidden
        18: unknown:1890           {1890}   internal, hidden
        19: unknown:1891           {1891}   internal, hidden
        20: unknown:18A1           {18A1}   internal, hidden
        21: unknown:1E00           {1E00}   hidden
        22: unknown:1EB0           {1EB0}   internal, hidden
        23: unknown:1861           {1861}   internal, hidden
        24: unknown:1E22           {1E22}   internal, hidden
        25: unknown:1F03           {1F03}   internal, hidden
     Has 6 reprogrammable keys:
         0: Left Button               , default: Left Click                  => Left Click                
             mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1
             reporting: default
         1: Right Button              , default: Right Click                 => Right Click               
             mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1
             reporting: default
         2: Middle Button             , default: Mouse Middle Button         => Mouse Middle Button       
             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2
             reporting: default
         3: Forward Button            , default: Mouse Forward Button        => Mouse Forward Button      
             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2
             reporting: default
         4: Back Button               , default: Mouse Back Button           => Mouse Back Button         
             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2
             reporting: default
         5: Virtual Gesture Button    , default: Virtual Gesture Button      => Virtual Gesture Button    
             divertable, virtual, raw XY, force raw XY, pos:0, group:3, group mask:empty
             reporting: default
     Battery: 100%, discharging.

Nano Receiver
  Device path  : /dev/hidraw3
  USB id       : 046d:C534
  Serial       : None
    Firmware   : 29.01.B0016
  Has 2 paired device(s) out of a maximum of 2.
  Has 18 successful pairing(s) remaining.
  Notifications: wireless, software present (0x000900)

  1: Wireless Keyboard MK270
     Device path  : /dev/hidraw4
     WPID         : 4023
     Codename     : MK270
     Kind         : keyboard
     Protocol     : HID++ 2.0
     Polling rate : 20 ms (50Hz)
     Serial number: 00000000
     Model ID:      000000000000
     Unit ID:       00000000
          Firmware: RQK 49.00.B0029
     Supports 18 HID++ 2.0 features:
         0: ROOT                   {0000}   
         1: FEATURE SET            {0001}   
         2: DEVICE FW VERSION      {0003}   
            Firmware: Firmware RQK 49.00.B0029 4023
            Unit ID: 00000000  Model ID: 000000000000  Transport IDs: {}
         3: DEVICE NAME            {0005}   
            Name: Wireless Keyboard  
            Kind: keyboard
         4: BATTERY STATUS         {1000}   
            Battery: 30%, discharging, next level 5%.
         5: REPROG CONTROLS        {1B00}   
         6: WIRELESS DEVICE STATUS {1D4B}   
         7: FN INVERSION           {40A0}   
            Swap Fx function: False
         8: ENCRYPTION             {4100}   
         9: KEYBOARD LAYOUT        {4520}   
        10: unknown:1810           {1810}   internal, hidden
        11: unknown:1830           {1830}   internal, hidden
        12: unknown:1890           {1890}   internal, hidden
        13: unknown:18A0           {18A0}   internal, hidden
        14: unknown:18B0           {18B0}   internal, hidden
        15: unknown:1DF3           {1DF3}   internal, hidden
        16: unknown:1E00           {1E00}   hidden
        17: unknown:1868           {1868}   internal, hidden
     Has 11 reprogrammable keys:
         0: My Home                    => HomePage                      is FN, FN sensitive, reprogrammable
         1: Mail                       => Email                         is FN, FN sensitive, reprogrammable
         2: Search                     => Search                        is FN, FN sensitive, reprogrammable
         3: Calculator                 => Calculator                    is FN, FN sensitive, reprogrammable
         4: Media Player               => Music                         is FN, FN sensitive, reprogrammable
         5: Previous                   => Previous                      is FN, FN sensitive
         6: Play/Pause                 => Play/Pause                    is FN, FN sensitive
         7: Next                       => Next                          is FN, FN sensitive
         8: Mute                       => Mute                          is FN, FN sensitive
         9: Volume Down                => Volume Down                   is FN, FN sensitive
        10: Volume Up                  => Volume Up                     is FN, FN sensitive
     Battery: 30%, discharging, next level 5%.

  2: Wireless Mouse M185 new
     Device path  : /dev/hidraw5
     WPID         : 4054
     Codename     : M185n
     Kind         : mouse
     Protocol     : HID++ 4.5
     Polling rate : 8 ms (125Hz)
     Serial number: 00000000
     The power switch is located on the base.
     Battery: unknown (device is offline).

```

**Describe the bug**
Solaar will Not show icon on task bar and if I run it in terminal I get this:
(solaar:28445): dbind-WARNING **: 22:30:07.881: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Solaar depends on a udev file that is not present
For more information see the Solaar installation directions
at https://pwr-solaar.github.io/Solaar/installation
solaar: error: Traceback (most recent call last):
  File "/usr/share/solaar/lib/solaar/gtk.py", line 153, in main
    import solaar.listener as listener
  File "/usr/share/solaar/lib/solaar/listener.py", line 32, in <module>
    from logitech_receiver import notifications as _notifications
  File "/usr/share/solaar/lib/logitech_receiver/notifications.py", line 30, in <module>
    from . import diversion as _diversion
  File "/usr/share/solaar/lib/logitech_receiver/diversion.py", line 30, in <module>
    from pynput import keyboard as _keyboard
ModuleNotFoundError: No module named 'pynput'

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'terminal (or try to start Solaar)'
2. Type solaar in terminal
3. See above error.



**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
I have NO Idea why Solaar stopped showing the Panel Icon, or opening the GUI in terminal/icon mode.  Unless some other update has messed with it.  I even removed it completely in Synaptic and re-Installed it.

Never done this before, so I hope this helps.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 #!/usr/bin/env python3
2 
3 from glob import glob as _glob
4 
5 try:
6     from setuptools import setup
7 except ImportError:
8     from distutils.core import setup
9 
10 # from solaar import NAME, __version__
11 __version__ = '1.0.4'
12 NAME = 'Solaar'
13 
14 
15 def _data_files():
16     from os.path import dirname as _dirname
17 
18     yield 'share/solaar/icons', _glob('share/solaar/icons/solaar*.svg')
19     yield 'share/solaar/icons', _glob('share/solaar/icons/light_*.png')
20     yield 'share/icons/hicolor/scalable/apps', ['share/solaar/icons/solaar.svg']
21 
22     for mo in _glob('share/locale/*/LC_MESSAGES/solaar.mo'):
23         yield _dirname(mo), [mo]
24 
25     yield 'share/applications', ['share/applications/solaar.desktop']
26     yield 'share/solaar/udev-rules.d', ['rules.d/42-logitech-unify-permissions.rules']
27 
28     del _dirname
29 
30 
31 setup(
32     name=NAME.lower(),
33     version=__version__,
34     description='Linux devices manager for the Logitech Unifying Receiver.',
35     long_description='''
36 Solaar is a Linux device manager for Logitech's Unifying Receiver peripherals.
37 It is able to pair/unpair devices with the receiver, for many devices show
38 battery status, and show and modify some of the modifiable features of devices.
39 '''.strip(),
40     author='Daniel Pavel',
41     license='GPLv2',
42     url='http://pwr-solaar.github.io/Solaar/',
43     classifiers=[
44         'Development Status :: 4 - Beta',
45         'Environment :: X11 Applications :: GTK',
46         'Environment :: Console',
47         'Intended Audience :: End Users/Desktop',
48         'License :: DFSG approved',
49         'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
50         'Natural Language :: English',
51         'Programming Language :: Python :: 3 :: Only',
52         'Operating System :: POSIX :: Linux',
53         'Topic :: Utilities',
54     ],
55     platforms=['linux'],
56 
57     # sudo apt install python-gi python3-gi \
58     #        gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1
59     # os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],
60     python_requires='>=3.6',
61     install_requires=[
62         'pyudev (>= 0.13)',
63     ],
64     package_dir={'': 'lib'},
65     packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],
66     data_files=list(_data_files()),
67     scripts=_glob('bin/*'),
68 )
69
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -60,6 +60,10 @@
     python_requires='>=3.6',
     install_requires=[
         'pyudev (>= 0.13)',
+        'PyYAML (>= 5.1)',
+        'python-xlib (>= 0.27)',
+        'pynput (>= 1.7.0)',
+        'psutil (>= 5.7.3)',
     ],
     package_dir={'': 'lib'},
     packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -60,6 +60,10 @@\n     python_requires='>=3.6',\n     install_requires=[\n         'pyudev (>= 0.13)',\n+        'PyYAML (>= 5.1)',\n+        'python-xlib (>= 0.27)',\n+        'pynput (>= 1.7.0)',\n+        'psutil (>= 5.7.3)',\n     ],\n     package_dir={'': 'lib'},\n     packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],\n", "issue": "In Linux Mint 20, Solaar suddenly won't start\nI have installed Solaar on my Linux Mint 20 O/S and was working fine till this morning when Solaar suddenly will not start.  Have no idea why.\r\n\r\n- Solaar version: solaar 1.0.4\r\n- Distribution: Linux Mint 20 XFCE\r\n- Kernel version (ex. `uname -srmo`): `Linux 5.4.0-53-generic x86_64 GNU/Linux`\r\n- Output of `solaar show`:\r\n(solaar:28696): dbind-WARNING **: 22:33:44.353: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.\r\nUnifying Receiver\r\n  Device path  : /dev/hidraw1\r\n  USB id       : 046d:C52B\r\n  Serial       : 43799195\r\n    Firmware   : 12.11.B0032\r\n    Bootloader : 04.16\r\n    Other      : AA.AA\r\n  Has 1 paired device(s) out of a maximum of 6.\r\n  Notifications: wireless, software present (0x000900)\r\n  Device activity counters: 2=128\r\n\r\n  2: ERGO M575 Trackball\r\n     Device path  : /dev/hidraw6\r\n     WPID         : 4096\r\n     Codename     : ERGO M575\r\n     Kind         : mouse\r\n     Protocol     : HID++ 4.5\r\n     Polling rate : 8 ms (125Hz)\r\n     Serial number: 0EB362BF\r\n     Model ID:      B02740960000\r\n     Unit ID:       0EB362BF\r\n        Bootloader: BOT 40.00.B0009\r\n          Firmware: MPM 26.00.B0009\r\n             Other: \r\n     The power switch is located on the base.\r\n     Supports 26 HID++ 2.0 features:\r\n         0: ROOT                   {0000}   \r\n         1: FEATURE SET            {0001}   \r\n         2: DEVICE FW VERSION      {0003}   \r\n            Firmware: Bootloader BOT 40.00.B0009 0000ABF1CB8B01\r\n            Firmware: Firmware MPM 26.00.B0009 4096ABF1CB8B01\r\n            Firmware: Other   \r\n            Unit ID: 0EB362BF  Model ID: B02740960000  Transport IDs: {'btleid': 'B027', 'wpid': '4096'}\r\n         3: DEVICE NAME            {0005}   \r\n            Name: ERGO M575 Trackball\r\n            Kind: trackball\r\n         4: WIRELESS DEVICE STATUS {1D4B}   \r\n         5: RESET                  {0020}   \r\n         6: DEVICE FRIENDLY NAME   {0007}   \r\n         7: UNIFIED BATTERY        {1004}   \r\n         8: REPROG CONTROLS V4     {1B04}   \r\n            Key/Button Actions: {'80': 80, '81': 81, '82': 82, '86': 86, '83': 83}\r\n            Key/Button Diversion: {'82': 0, '86': 0, '83': 0, '215': 0}\r\n         9: ADJUSTABLE DPI         {2201}   \r\n            Sensitivity (DPI): 400\r\n        10: unknown:2250           {2250}   \r\n        11: DFUCONTROL SIGNED      {00C2}   \r\n        12: DEVICE RESET           {1802}   internal, hidden\r\n        13: unknown:1803           {1803}   internal, hidden\r\n        14: CONFIG DEVICE PROPS    {1806}   internal, hidden\r\n        15: unknown:1812           {1812}   internal, hidden\r\n        16: OOBSTATE               {1805}   internal, hidden\r\n        17: unknown:1830           {1830}   internal, hidden\r\n        18: unknown:1890           {1890}   internal, hidden\r\n        19: unknown:1891           {1891}   internal, hidden\r\n        20: unknown:18A1           {18A1}   internal, hidden\r\n        21: unknown:1E00           {1E00}   hidden\r\n        22: unknown:1EB0           {1EB0}   internal, hidden\r\n        23: unknown:1861           {1861}   internal, hidden\r\n        24: unknown:1E22           {1E22}   internal, hidden\r\n        25: unknown:1F03           {1F03}   internal, hidden\r\n     Has 6 reprogrammable keys:\r\n         0: Left Button               , default: Left Click                  => Left Click                \r\n             mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1\r\n             reporting: default\r\n         1: Right Button              , default: Right Click                 => Right Click               \r\n             mse, reprogrammable, analytics key events, pos:0, group:1, group mask:g1\r\n             reporting: default\r\n         2: Middle Button             , default: Mouse Middle Button         => Mouse Middle Button       \r\n             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2\r\n             reporting: default\r\n         3: Forward Button            , default: Mouse Forward Button        => Mouse Forward Button      \r\n             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2\r\n             reporting: default\r\n         4: Back Button               , default: Mouse Back Button           => Mouse Back Button         \r\n             mse, reprogrammable, divertable, persistently divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2\r\n             reporting: default\r\n         5: Virtual Gesture Button    , default: Virtual Gesture Button      => Virtual Gesture Button    \r\n             divertable, virtual, raw XY, force raw XY, pos:0, group:3, group mask:empty\r\n             reporting: default\r\n     Battery: 100%, discharging.\r\n\r\nNano Receiver\r\n  Device path  : /dev/hidraw3\r\n  USB id       : 046d:C534\r\n  Serial       : None\r\n    Firmware   : 29.01.B0016\r\n  Has 2 paired device(s) out of a maximum of 2.\r\n  Has 18 successful pairing(s) remaining.\r\n  Notifications: wireless, software present (0x000900)\r\n\r\n  1: Wireless Keyboard MK270\r\n     Device path  : /dev/hidraw4\r\n     WPID         : 4023\r\n     Codename     : MK270\r\n     Kind         : keyboard\r\n     Protocol     : HID++ 2.0\r\n     Polling rate : 20 ms (50Hz)\r\n     Serial number: 00000000\r\n     Model ID:      000000000000\r\n     Unit ID:       00000000\r\n          Firmware: RQK 49.00.B0029\r\n     Supports 18 HID++ 2.0 features:\r\n         0: ROOT                   {0000}   \r\n         1: FEATURE SET            {0001}   \r\n         2: DEVICE FW VERSION      {0003}   \r\n            Firmware: Firmware RQK 49.00.B0029 4023\r\n            Unit ID: 00000000  Model ID: 000000000000  Transport IDs: {}\r\n         3: DEVICE NAME            {0005}   \r\n            Name: Wireless Keyboard  \r\n            Kind: keyboard\r\n         4: BATTERY STATUS         {1000}   \r\n            Battery: 30%, discharging, next level 5%.\r\n         5: REPROG CONTROLS        {1B00}   \r\n         6: WIRELESS DEVICE STATUS {1D4B}   \r\n         7: FN INVERSION           {40A0}   \r\n            Swap Fx function: False\r\n         8: ENCRYPTION             {4100}   \r\n         9: KEYBOARD LAYOUT        {4520}   \r\n        10: unknown:1810           {1810}   internal, hidden\r\n        11: unknown:1830           {1830}   internal, hidden\r\n        12: unknown:1890           {1890}   internal, hidden\r\n        13: unknown:18A0           {18A0}   internal, hidden\r\n        14: unknown:18B0           {18B0}   internal, hidden\r\n        15: unknown:1DF3           {1DF3}   internal, hidden\r\n        16: unknown:1E00           {1E00}   hidden\r\n        17: unknown:1868           {1868}   internal, hidden\r\n     Has 11 reprogrammable keys:\r\n         0: My Home                    => HomePage                      is FN, FN sensitive, reprogrammable\r\n         1: Mail                       => Email                         is FN, FN sensitive, reprogrammable\r\n         2: Search                     => Search                        is FN, FN sensitive, reprogrammable\r\n         3: Calculator                 => Calculator                    is FN, FN sensitive, reprogrammable\r\n         4: Media Player               => Music                         is FN, FN sensitive, reprogrammable\r\n         5: Previous                   => Previous                      is FN, FN sensitive\r\n         6: Play/Pause                 => Play/Pause                    is FN, FN sensitive\r\n         7: Next                       => Next                          is FN, FN sensitive\r\n         8: Mute                       => Mute                          is FN, FN sensitive\r\n         9: Volume Down                => Volume Down                   is FN, FN sensitive\r\n        10: Volume Up                  => Volume Up                     is FN, FN sensitive\r\n     Battery: 30%, discharging, next level 5%.\r\n\r\n  2: Wireless Mouse M185 new\r\n     Device path  : /dev/hidraw5\r\n     WPID         : 4054\r\n     Codename     : M185n\r\n     Kind         : mouse\r\n     Protocol     : HID++ 4.5\r\n     Polling rate : 8 ms (125Hz)\r\n     Serial number: 00000000\r\n     The power switch is located on the base.\r\n     Battery: unknown (device is offline).\r\n\r\n```\r\n\r\n**Describe the bug**\r\nSolaar will Not show icon on task bar and if I run it in terminal I get this:\r\n(solaar:28445): dbind-WARNING **: 22:30:07.881: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.\r\nSolaar depends on a udev file that is not present\r\nFor more information see the Solaar installation directions\r\nat https://pwr-solaar.github.io/Solaar/installation\r\nsolaar: error: Traceback (most recent call last):\r\n  File \"/usr/share/solaar/lib/solaar/gtk.py\", line 153, in main\r\n    import solaar.listener as listener\r\n  File \"/usr/share/solaar/lib/solaar/listener.py\", line 32, in <module>\r\n    from logitech_receiver import notifications as _notifications\r\n  File \"/usr/share/solaar/lib/logitech_receiver/notifications.py\", line 30, in <module>\r\n    from . import diversion as _diversion\r\n  File \"/usr/share/solaar/lib/logitech_receiver/diversion.py\", line 30, in <module>\r\n    from pynput import keyboard as _keyboard\r\nModuleNotFoundError: No module named 'pynput'\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to 'terminal (or try to start Solaar)'\r\n2. Type solaar in terminal\r\n3. See above error.\r\n\r\n\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n**Additional context**\r\nI have NO Idea why Solaar stopped showing the Panel Icon, or opening the GUI in terminal/icon mode.  Unless some other update has messed with it.  I even removed it completely in Synaptic and re-Installed it.\r\n\r\nNever done this before, so I hope this helps.\n", "before_files": [{"content": "#!/usr/bin/env python3\n\nfrom glob import glob as _glob\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\n# from solaar import NAME, __version__\n__version__ = '1.0.4'\nNAME = 'Solaar'\n\n\ndef _data_files():\n    from os.path import dirname as _dirname\n\n    yield 'share/solaar/icons', _glob('share/solaar/icons/solaar*.svg')\n    yield 'share/solaar/icons', _glob('share/solaar/icons/light_*.png')\n    yield 'share/icons/hicolor/scalable/apps', ['share/solaar/icons/solaar.svg']\n\n    for mo in _glob('share/locale/*/LC_MESSAGES/solaar.mo'):\n        yield _dirname(mo), [mo]\n\n    yield 'share/applications', ['share/applications/solaar.desktop']\n    yield 'share/solaar/udev-rules.d', ['rules.d/42-logitech-unify-permissions.rules']\n\n    del _dirname\n\n\nsetup(\n    name=NAME.lower(),\n    version=__version__,\n    description='Linux devices manager for the Logitech Unifying Receiver.',\n    long_description='''\nSolaar is a Linux device manager for Logitech's Unifying Receiver peripherals.\nIt is able to pair/unpair devices with the receiver, for many devices show\nbattery status, and show and modify some of the modifiable features of devices.\n'''.strip(),\n    author='Daniel Pavel',\n    license='GPLv2',\n    url='http://pwr-solaar.github.io/Solaar/',\n    classifiers=[\n        'Development Status :: 4 - Beta',\n        'Environment :: X11 Applications :: GTK',\n        'Environment :: Console',\n        'Intended Audience :: End Users/Desktop',\n        'License :: DFSG approved',\n        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3 :: Only',\n        'Operating System :: POSIX :: Linux',\n        'Topic :: Utilities',\n    ],\n    platforms=['linux'],\n\n    # sudo apt install python-gi python3-gi \\\n    #        gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1\n    # os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],\n    python_requires='>=3.6',\n    install_requires=[\n        'pyudev (>= 0.13)',\n    ],\n    package_dir={'': 'lib'},\n    packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],\n    data_files=list(_data_files()),\n    scripts=_glob('bin/*'),\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python3\n\nfrom glob import glob as _glob\n\ntry:\n    from setuptools import setup\nexcept ImportError:\n    from distutils.core import setup\n\n# from solaar import NAME, __version__\n__version__ = '1.0.4'\nNAME = 'Solaar'\n\n\ndef _data_files():\n    from os.path import dirname as _dirname\n\n    yield 'share/solaar/icons', _glob('share/solaar/icons/solaar*.svg')\n    yield 'share/solaar/icons', _glob('share/solaar/icons/light_*.png')\n    yield 'share/icons/hicolor/scalable/apps', ['share/solaar/icons/solaar.svg']\n\n    for mo in _glob('share/locale/*/LC_MESSAGES/solaar.mo'):\n        yield _dirname(mo), [mo]\n\n    yield 'share/applications', ['share/applications/solaar.desktop']\n    yield 'share/solaar/udev-rules.d', ['rules.d/42-logitech-unify-permissions.rules']\n\n    del _dirname\n\n\nsetup(\n    name=NAME.lower(),\n    version=__version__,\n    description='Linux devices manager for the Logitech Unifying Receiver.',\n    long_description='''\nSolaar is a Linux device manager for Logitech's Unifying Receiver peripherals.\nIt is able to pair/unpair devices with the receiver, for many devices show\nbattery status, and show and modify some of the modifiable features of devices.\n'''.strip(),\n    author='Daniel Pavel',\n    license='GPLv2',\n    url='http://pwr-solaar.github.io/Solaar/',\n    classifiers=[\n        'Development Status :: 4 - Beta',\n        'Environment :: X11 Applications :: GTK',\n        'Environment :: Console',\n        'Intended Audience :: End Users/Desktop',\n        'License :: DFSG approved',\n        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3 :: Only',\n        'Operating System :: POSIX :: Linux',\n        'Topic :: Utilities',\n    ],\n    platforms=['linux'],\n\n    # sudo apt install python-gi python3-gi \\\n    #        gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1\n    # os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],\n    python_requires='>=3.6',\n    install_requires=[\n        'pyudev (>= 0.13)',\n        'PyYAML (>= 5.1)',\n        'python-xlib (>= 0.27)',\n        'pynput (>= 1.7.0)',\n        'psutil (>= 5.7.3)',\n    ],\n    package_dir={'': 'lib'},\n    packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],\n    data_files=list(_data_files()),\n    scripts=_glob('bin/*'),\n)\n", "path": "setup.py"}]}