[Github-comments] [geany/geany] geometry setting in geany.conf has no effect under Ubuntu 16.04, 64 bit, plain Openbox (#1401)

Lew-Rockwell-Fan notifications at xxxxx
Wed Mar 1 15:43:47 UTC 2017


> The position of "Save window position and geometry" in the "Shutdown" section of the dialog is slightly misleading, it not only stops Geany saving it, it also stops it using any value in the file on startup . . .

Ahhh. Gotcha. Thanks. That's admirably clear, though I had to think about that before I fully saw the implications. So you're saying geany.conf cannot be used to set a default geometry, period. The line that looks like it would do so is, in fact, merely keeping a record of what the geometry WAS the last time geany was closed if the "remember" option is checked, and if the "remember" option is NOT checked, that line does nothing at all. There is therefore no point whatsoever in hand editing it.

If that is how it is intended to work, I suggest at least changing the name of the variable from "geometry" to "saved_geometry", or even to add a comment explaining this in the default geany.conf. Better still would be to replace "geometry" with 2 variables: "saved_geometry" and "default_geometry". So if the present behavior is intended, this is a feature request, or if it is NOT intended, this is a bug report.

> . . . and you will get whatever your WM decides.
Ahhh again. Could be. If Openbox is deciding what is, in effect, geany's default geometry then it is doing so rather badly. The failure of Openbox to provide user control of default window sizes (unless you count maximized and iconified),  through the rc.xml, has annoyed me before, but usually there is an alternate mechanism either with a config file for the the app or an option in invoking it, or both.

So, if you are confident that the effective window size is coming from OB, it looks like my options are:
1. Wait for Openbox to enhance rc.xml with window size control
2. Wait for Geany to enhance geany.conf with a default_geometry variable
3. Wrap Geany in a script and hit it with wmctrl or something similar
4. Try another WM

Is that a fair summary?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1401#issuecomment-283376518
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170301/50071439/attachment.html>


More information about the Github-comments mailing list