New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload configuration by command line #1849
Comments
can your tool do mnemonic keystrokes? |
Thank you shown me the right direction with alt+t. Problem was first the F2 (focus on editor) is remaped with Super+space in my distribution, but was looking at the online docs (!). So from the geany terminal, to reload the configuration using
It is a bit hacky, looking forward for a better solution, it is tricky to focus on geany by his window ID from another shell (Many different id are opened by geany). |
Its very unlikely that reloading configuration remotely is going to happen unless somebody contributes the code, and maybe not even then. Alternatively you could make a plugin that listened on some IPC mechanism of your choice and did a reload, or the plugin could even spawn the editor and just listen to the stdout of the child process for reload commands. That would make a nice integrated facility. |
Thank you very much for the replies. I think a little gif is worth the explanation! As you can see a simple way to reload the configuration from the command line would be better. (I am using php/js on a local server, that is live modifying my config files) |
Why do you want the user to have to execute a command to update Geany? As I said in the previous post a plugin that spawned the editor can listen to its output for commands to reload and execute the reload command via the plugin and it will all happen automatically without user action. |
I am looking to reload the config by script, not by an user action. It can be a command line, ideally |
Okay answering back for anyone. From another subshell, to focus Geany and reload the config automagically, using
Now my little workaround works perfect! I have no idea how to create a Geany plugin otherwise, while not knowing anything about C/C++, i always find my way quickly with php and took me no more than 2-3 hours to create it. ;) I would be glad to share. Edit: Here the repo https://github.com/webdev23/Geany-editor-dynamic-color-schemes |
Is there a way to reload the config by command line.
Same as
Tools
->Reload Configuration
?Found no capability by the command
geany --help
, nor any keyboard shortcut (to automate withxdotool
.Hint: I am building a dynamic color scheme editor, by modifying my config files. it works fine, but I am currently forced to reload the config at any action. I am looking to keep the same instance running, with the new config?
The text was updated successfully, but these errors were encountered: