Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I close or open my laptop lid, xfce executes xfce4-display-settings --minimal. I want to make that stop, but how? I found nothing in the settings under /etc/xdg/xfce4 and .config/xfce4.

share|improve this question

The hardware triggers such as lid closing/opening can be interpreted and managed by your Desktop Environment, but since you cannot find anything related in Xfce configuration, it could mean they are handled in a generic way - by the acpid daemon. Look into the files under /etc/acpi/. You can grep for "lid" there (run grep -iR lid /etc/acpi/).

share|improve this answer
  1. Run $ xfce4-keyboard-settings as a regular user
  2. Choose "Application shortcuts"
  3. Delete the following line:

    "xfce4-display-settings --minimal XF86Display"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.