Issue
I'm not able to display title on system top bar with code:
import tkinter as tk
root = tk.Tk()
root.title('How to display it on Fedora top bar?')
root.mainloop()
Instead of set title "Tk" is displayed. I'm working on Fedora. Is there another way of setting it? Bellow I am placing a screenshot which illustrates my problem:
Side note: I have also added desktop entry which doesn't help.
[Desktop Entry]
Type=Application
Terminal=false
Icon=/home/name/icon.gif
Name=MyApp
Exec=/usr/local/bin/app
Categories=Utility;
Solution
Solution found thanks to @stovfl explanation in comments:
import tkinter as tk
root = tk.Tk(className='Thats how!')
root.title('How to display it on Fedora top bar?')
root.mainloop()
Answered By - Ethr Answer Checked By - Dawn Plyler (WPSolving Volunteer)