root.overrideredirect(True) komutu ile birlikte ekran minimize etme butonu eklemek

Şöyle de yapabilirsiniz ama program bütün ekranı kaplar. Bu paylaştığınız kod da galiba Ubuntu kullandığım için çalışmadı.

#!/usr/bin/python3.8
# -*- coding: utf-8 -*-

import tkinter as tk

root = tk.Tk()
root.wm_attributes("-fullscreen", "true")

w, h = root.winfo_screenwidth(), root.winfo_screenheight()    

left_frame = tk.Frame(master=root, width=10/11 * w, height=25)
left_frame.grid(row=0, column=0)

right_frame = tk.Frame(master=root, width=1/11 * w, height=25)
right_frame.grid(row=0, column=1)

exit_frame = tk.Frame(
    master=right_frame, 
    width=1/22 * w, 
    height=25, 
    bg="orange"
)
exit_frame.pack(side="right")
exit_frame.pack_propagate(False)

minimize_frame = tk.Frame(
    master=right_frame, 
    width=1/22 * w, 
    height=25, 
    bg="grey"
)
minimize_frame.pack(side="right")
minimize_frame.pack_propagate(False)

exit_label = tk.Button(
    master=exit_frame, 
    text="X", 
    bg="orange",
    command=root.destroy
)
exit_label.pack(expand=True, fill="both")

minimize_label = tk.Button(
    master=minimize_frame, 
    text="-", 
    bg="grey",
    command=root.iconify
)
minimize_label.pack(expand=True, fill="both")

root.mainloop()