-
-
Notifications
You must be signed in to change notification settings - Fork 117
Ubuntu 24.04 xrdp gui task icon shows, but not clickable #342
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
Comments
That looks a little bit like the icon, but clearly has display issues. Perhaps an issue in parsing its content. Have you looked at the dependencies and setup section of the readme? There are a few Linux-specific previous issues here that may have a solution. Apart from this, does the proxy work normally? If not, have you tried Please could you enable |
Hi, yes I checked all dependancies and setup. After starting emailproxy with: I see this in the logs:
No problem as far. But the Icon looks like above in the screenshot. |
The proxy uses pystray to build and display the icon. What happens if you try a basic pystray icon on its own? For example, what do you see with this sample from that project's usage page: from pystray import Icon as icon, Menu as menu, MenuItem as item
from PIL import Image, ImageDraw
state = False
def create_image(width, height, color1, color2):
image = Image.new('RGB', (width, height), color1)
dc = ImageDraw.Draw(image)
dc.rectangle((width // 2, 0, width, height // 2), fill=color2)
dc.rectangle((0, height // 2, width // 2, height), fill=color2)
return image
def on_clicked(icon, item):
global state
state = not item.checked
icon = Icon('test name',
icon=create_image(64, 64, 'black', 'white'),
menu=menu(item('Checkable', on_clicked, checked=lambda item: state))).run() |
Update: Now the test2.py works
But it does works with emailproxy. There the icon is still dead. |
Update: This is now my work through:
Now is the icon accessable. |
Thanks for following up – I'm glad this was resolved. The intent is that |
Hello,
I followed a lot of FAQs and many issues helps, but I can't fix it.
We are using Ubuntu 24.04 with xrdp for headless display manager.
emailproxy is installed in a venv and pip.
I installed all mentioned packages. read about 3 hours forum, issues etc.
But the emailproxy is running, no errors, Icon shows up, but than nothing. no menu or rightclick action.
The icon seems not correct either. it more like greyed out.
any one can help on that?
The text was updated successfully, but these errors were encountered: