I am using Ubuntu Unity 22.10. Due to gtk3-nocsd, Cheese does not have a headerbar, and webcam settings cannot be changed.
I want to disable gtk3-nocsd for cheese, but don't want to globally disable it (to globally disable it, one can add export GTK_CSD=1 to .xsessionrc.
If I run cheese with GTK_CSD=1 cheese, the headerbars do appear.
I tried editing the .desktop file, so that I can launch cheese (with headerbars) via GUI.
However, when I edit the desktop file with Exec = env GTK_CSD=1 cheese, the environment variable is somehow not set, and the headerbar still does not appear.
How to make the desktop file follow the environment variable, so that when I open Cheese graphically, it would have the CSD headerbar?

