I'm trying to set a panel up for a small touch screen and I have a shortcut which toggles autohide, enabling autohide makes it appear, but on disabling autohide there's a short delay which is annoying.

Using Xfce4 panels, there is no way I can find within the GUI of changing the autohide delay. Are there any configuration files etc I could edit to achieve this?


A bit of Googling returns this:

Add this to ~/.gtkrc-2.0.

 style "xfce-panel-window-style"
   # Time in miliseconds before the panel will unhide on an enter event
   XfcePanelWindow::popup-delay = 225

   # Time in miliseconds before the panel will hide on a leave event
   XfcePanelWindow::popdown-delay = 350
 class "XfcePanelWindow" style "xfce-panel-window-style"

Sources: Xfce Docs: Theming, ArchLinux Wiki: Xfce#Panel Autohide Delay

  • I've just tried this but it doesn't seem to make a difference. Is it possible that this would only for on ArchLinux? Jun 21 '13 at 10:06
  • Nope, it's on docs.xfce.org which does not belong to Arch
    – ignis
    Jun 21 '13 at 10:08
  • Ok, just tried it on my desktop and it's working, probably just copied it wrong or something. Thanks. Jun 21 '13 at 11:50
  • 1
    This appears to have no effect if you enter 0, but 1 is close enough, and that works as expected. Aug 29 '14 at 23:49

Your Answer

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

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