Here a step-by-step description how to make it that one can toggle show/hide menu-bar with one shortcut, what can be realized in about 5 minutes:
sudo apt install geany-plugins
Tools
and click on Plugin Manager
Lua Script
.config/geany/plugins
the folder geanylua
if no geanylua
-folder exits.config/geany/plugins/geanylua
the folder events
toggle-menu.lua
in .config/geany/plugins/geanylua
hotkeys.cfg
in .config/geany/plugins/geanylua
cleanup.lua
in .config/geany/plugins/geanylua/events
init.lua
in .config/geany/plugins/geanylua/events
Edit
click on Preferences
; click on Keybindings
; in the column Action
, in Lua Script
(should be somewhere at the end of the list; if it is not in the list, then Geany need to be closed and restarted), mark Toggle menu
; click on the marked line in the column Shortcut
; type for example F12; press enter, click on Apply
and OK
Now after every restart, the menu-bar will not be there any more. In this example one can toggle show/hide menu-bar with the shortcut F12. If you want that after every restart of Geany the menu-bar is visible at the beginning, then change in the document init.lua
the line start_action = "hide"
to start_action = "show"
. Close Geany and then restart Geany.
For more informations visit https://github.com/xiota/geanylua-scripts
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.