how to disable window close using key combination F4?

I am new here.
Recently I tried to create custom distribution which has a single application running all the time. (kiosk mode) I would like to prevent unauthorized window closing from users. I tried:

gsettings set org.gnome.desktop.wm.keybindings close "['<Alt>w']"

on Chroot environment and my iso is Ubuntu 16.04 LTS

which throws following error:

(process:24985): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=80a6da0249c733006b0ed2ea57aaee4f --binary-syntax --close-stderr': Child process exited with code 1

Are there any other ways to set default key bindings on Ubuntu unity?

I will only create a user on OS installation.

5

1 Answer

Haha, I have this disabled!

  1. Search "shortcuts" in the thing that looks like my picture. It may be a different color.
  2. Open shortcuts and switch to the tab "shortcuts". Go to the "Window" shortcuts.
  3. Click on ALT+F4, and hit backspace to disable.
5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like