How to assign an icon to a window icon in the Ubuntu launcher?
I made a couple of tkinter windows in Python. They both work and do what I want.
I assigned 2 launchers to them with a file like this in /home/pedro/.local/share/applications Quote:
When I click one of my launchers, the window opens and I see a grey square with a question mark in it in the launcher panel. I suppose that is the default when no icon is assigned to the window. Where can I assign a different icon to my window? Do I need to do that in Python, or where?? |
I am unfamiliar with the Ubuntu launcher panel, but:
|
The launcher panel is a panel you can place left or right or bottom, I think. I set to "autohide", so it pops up when the mouse goes to the left side of the screen. My one contains a launcher for Firefox, Libre Office, other things.
My icons for my personalized launchers show up fine in the launcher panel. But when I click the icon, the window opens and another icon appears in the launcher. That icon is the grey square with a question mark. It must be some kind of "default icon" for a window which has no icon assigned to it. I found a solution in tkinter. My master window is called master. I made a little icon with the text PyWin, it shows up nicely: Quote:
Quote:
|
All times are GMT -5. The time now is 09:15 AM. |