Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tray icon will only showup if i run it twice #96

Open
Kwaadpepper opened this issue Apr 27, 2024 · 0 comments
Open

Tray icon will only showup if i run it twice #96

Kwaadpepper opened this issue Apr 27, 2024 · 0 comments

Comments

@Kwaadpepper
Copy link

If i run it once it launches and work but tray icon wont show up, I have to run it again for the icon to show.

/usr/bin/python3 /usr/bin/touchpad-indicator

For icons to show up I use this https://github.com/ubuntu/gnome-shell-extension-appindicator

1rst start
   ~  /usr/bin/python3 /usr/bin/touchpad-indicator  INT ✘  10:43:28 
<gettext.GNUTranslations object at 0x79b66088eaa0>
No LSB modules are available.
#####################################################
Distributor: Pop
Description: Pop!_OS 22.04 LTS
Release: 22.04
Codename: jammy
Architecture: x86_64
#####################################################

  Touchpad-Indicator version: 2.2.3-ubuntu20.04.0
  336 1
  [Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/event6'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/mouse2'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/event7'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/mouse5'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/event8'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/mouse3'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/event9'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/mouse4')]
  [Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/event6'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/mouse2'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/event7'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/mouse5'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/event8'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/mouse3'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/event9'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/mouse4')]
  ==== start set_touch_enabled =====
  set_touch_enabled: False
  are_all_touchpad_enabled:  True
  ==?==
  ==?== 1
  ==?== 2
  [Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/event6'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4008.0008/input/input26/mouse2'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/event7'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0005/input/input27/mouse5'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/event8'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0006/input/input28/mouse3'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/event9'), Device('/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-1/1-1:1.2/0003:046D:C52B.0004/0003:046D:4072.0007/input/input29/mouse4')]
  === 1 ===
  ==== start set_touch_enabled =====
  set_touch_enabled: False
  are_all_touchpad_enabled:  False
  0.799830436706543
  0.7998275756835938
  0.0784149169921875
  0.7998359203338623
  0.46688079833984375
  0.799870491027832
  0.7903194427490234
  0.7990860939025879

2nd start
   ~  /usr/bin/python3 /usr/bin/touchpad-indicator  ✔  10:44:41 
<gettext.GNUTranslations object at 0x789f0295eaa0>
Another instance of Touchpad-Indicator is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant