Score:1

Enable close window warning for gnome-terminal

cn flag

When I run a command in gnome-terminal to install a critical software using sudo priviliges, for example sudo apt install blender and I accidentally close the window by pressing the close button, I want a pop up warning message asking for confirmation. How do I add this funtionality?

I tried using gsettings but did not succeed. Changing desktop entry for gnome-terminal might be a solution. However i do not have the mileage and confidence to carry out this. So I need help.

vanadium avatar
cn flag
I cannot reproduce that. When a process is ongoing, a prompt appears when I want to close either clicking the close button or hitting Alt+F4. Indicate your Ubuntu version.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.