1

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.

0 Answers0