Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-07-07 03:07:42

KitchM
Member
Registered: 2009-08-15
Posts: 304

Panel Autohide Again [Solved]

Sorry for the re-visit of this topic, but something has been left out.

I checked out my previous at
https://forum.xfce.org/viewtopic.php?id=15608 and another at https://forum.xfce.org/viewtopic.php?id=14676 and noticed something missing.

There is no mention of using Settings Editor.  Since I now prefer that tool, what must I enter, and where, to get less than a second delay in panel hiding when set to Always?

Thanks.

Last edited by KitchM (2024-07-10 19:32:49)

Offline

#2 2024-07-07 09:05:28

Tamaranch
Member
Registered: 2020-12-31
Posts: 316

Re: Panel Autohide Again [Solved]

CSS properties can't be set this way, you have to use ~/.config/gtk-3.0/gtk.css.

Offline

#3 2024-07-07 15:15:00

KitchM
Member
Registered: 2009-08-15
Posts: 304

Re: Panel Autohide Again [Solved]

Really?  Why is that?

Offline

#4 2024-07-07 15:41:05

Tamaranch
Member
Registered: 2020-12-31
Posts: 316

Re: Panel Autohide Again [Solved]

Well, because CSS properties are not xfconf properties.

Offline

#5 2024-07-08 17:22:54

KitchM
Member
Registered: 2009-08-15
Posts: 304

Re: Panel Autohide Again [Solved]

Of well, I guess I don't understand why anyone would go to the trouble of making a settings editor program without finding a way to make the program handles all the settings.

In any case, being able to set the panel timeout in a GUI manner is important.  How is that currently done?

If it isn't, then I need the exact steps to set less than second settings.

Offline

#6 2024-07-08 18:27:20

Tamaranch
Member
Registered: 2020-12-31
Posts: 316

Re: Panel Autohide Again [Solved]

It isn't, and the steps are given in the links you cited, especially the second one: https://forum.xfce.org/viewtopic.php?id=14676

Offline

#7 2024-07-10 19:00:34

KitchM
Member
Registered: 2009-08-15
Posts: 304

Re: Panel Autohide Again [Solved]

Here's what I finally got figured out.  (This works on Debian 12 with Xfce 4.18 and probably others.)

Steps to Adjust the Auto-hide Function of the Panels  (I use Always as the setting.):
    1. Set your panel(s) to Always in the auto-hide option.
    2. Open your file manager of choice.
    3. Navigate to the .config directory
    4. Find the directory entitled gtk-3.0 and enter it.
    5. Right-click in that directory and from the menu choose Create Document>Empty File.
    6. Name it gtk.css.
    7. Open that empty file in your editor.
    8. Copy and paste into it the following:
       #XfcePanelWindow {
   -XfcePanelWindow-popup-delay: 400;
   -XfcePanelWindow-popdown-delay: 2500;
}
    9. Edit the numbers to what you wish them to be.  Note the following:
        1. The first number is how long it takes for the panel to show up when the mouse cursor goes to that edge of the screen.  Sometimes they just jump open when you didn’t want that.
        2. The second number is how long they stay open when your mouse cursor is moved off of them.  This should be fast and snappy.
    10. Run xfce4-panel -r in a terminal to reload the panel with the new settings.
    11. If you make the second number too small, there may be a problem when you restart the panel(s); they may not reappear at all.  To fix that, close what you’re working on and use your menu key (the one to the left of the right Ctrl key).
    12. Go to Applications>Log Out>Log Out.
    13. Select Ctrl-Alt-F2.
    14. Log in.
    15. Change to the .config directory (cd .config and press Enter)
    16. Erase the necessary items of the session (rm -rf sessions and press Enter)
    17. Select Ctrl-Alt-F7 and then log back in.  Your panel(s) should be back.
    18. When editing the gtk.css file, changing the two numbers during the same edit before saving, may help eliminate this problem.  I have found that 600 and 10 are good settings.

Good luck!

Last edited by KitchM (2024-07-10 19:32:03)

Offline

#8 2024-07-10 19:25:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,313

Re: Panel Autohide Again [Solved]

Thanks for sharing the detailed instructions KitchM.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB