Menu

#1166 Toolbar autoraise false still raises on mouseover

future release
open
nobody
None
5
2017-12-01
2017-12-01
dive
No

Fluxbox from git a few days ago.

1) I have set a key to :ToggleToolbarVisible and unset 'Auto Raise' in fluxbox config menu.
It still raises with mouseover though.

2) Why doesn't the :ToggleToolbarVisible change the 'visible' setting in config or init file?
It seems that changing that setting manually does do what I need in (1).

Discussion

  • dive

    dive - 2017-12-01

    Well I have made a workaround that some people may find useful:

    In keys:
    None Super_L :ExecCommand ~/scripts/flux-toggle-toolbar

    And flux-toolbar-toggle:

    #!/bin/sh
    
    INIT=$HOME/.fluxbox/init
    SET="session.screen0.toolbar.visible:"
    
    CUR=$(grep "$SET" $INIT \
      | cut -d: -f2 | tr -d ' ' | tr [a-z] [A-Z])
    
    [ "$CUR" == "TRUE" ] && CUR="FALSE" || CUR="TRUE"
    
    sed -i "s#$SET.*#$SET $CUR#" $INIT
    
    DISPLAY=:0.0 fluxbox-remote "ReConfig"
    
     
  • dive

    dive - 2017-12-01

    Oh, I also had to unset 'auto hide' and 'auto raise' too.

     

    Last edit: dive 2017-12-01

Log in to post a comment.

MongoDB Logo MongoDB