How to disable drop-down QTerminal when pressing F12 in Workstation-LXQt?

I am running Whonix-Workstation-LXQt on VirtualBox. In this environment, pressing F12 opens QTerminal as a dropdown. I want to disable this feature because I do not need it and it interferes with using the Tor Browser developer tools, but I do not know how to disable it.
Removing the shortcut key from the QTerminal GUI settings does not apply the change.

This is configured in labwc’s settings. The file enabling it is /usr/share/desktop-config-dist/labwc/rc.xml, specifically this part of the code:

    <!-- For qterminal dropdown -->
    <keybind key="F12">
      <action name="Execute" command="qterminal -d" />
    </keybind>

I don’t know if there’s an easy way to override this with end-user configuration. This seems like a bad default that we inherited from lxqt-wayland-session, so we’ll probably remove this the next time we publish an update for desktop-config-dist. In the mean time, if you delete that section from that file in sysmaint mode, then reboot, F12 should no longer open a QTerminal dropdown.

1 Like

Probably, configuration files under /usr/share/ are default values and should not be edited. Do you know the path for configuration files that override these (for example, under /etc)?

The override file is in /home/user/.config/labwc/rc.xml (you may have to create the directory and/or the file), but the problem is that labwc’s configuration does not seem to allow unsetting a keybind when I looked it up. Files under /usr/share are default values and usually should not be edited, but in this instance I’d edit the file anyway since the only real risk (other than breaking the file) is that a future update of desktop-config-dist could overwrite it. If that future update no longer contains the problematic code, that won’t be a problem.

1 Like