Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
    
I've just tried this but it doesn't seem to make a difference. Is it possible that this would only for on ArchLinux? –  Henry Gibson 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. –  Henry Gibson Jun 21 '13 at 11:50
    
This appears to have no effect if you enter 0, but 1 is close enough, and that works as expected. –  Tarnay Kálmán 12 hours ago

Your Answer

 
discard

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.