[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
Sun Feb 26 17:21:57 UTC 2017


Thank you, both. Mea culpa for tardiness in getting back.  Mea culpa also for not saying I have turned saving window geometry off. Anyway I tried setting geany's size by hand dragging on the edges (which works fine FOR THAT INSTANCE), closing it, and checking the conf with gedit (WTH are the gedit dev's smoking?? - it looks horrible now and seems to over-ride my WM and appearance settings). Geometry setting in
~/.config/geany/geany.conf
is still:
geometry=0;0;1358;713;0;
I assume this reflects my unchecked save-window-position-and-geometry:
pref_main_save_winpos=false

Geany still opens at about half this size (unless I set it to save position and geom, which works as expected).

Openbox ATM unfortunately, is still unable to set window geometry. It can set origin position (i.e., the position of the upper left corner) and it can do that either as a suggestion that can be over-ridden by the app or "forced" which I think can still be over-ridden, but not as easily. If Openbox COULD do this it would be great, but it can't. Not yet anyway.

man geany saith:
"Geany supports all generic GTK options, a list  is  available  on  the help screen."
>From  the menu bar Help; Help takes me to a web page with repeats the above sentence.
>From CL, "geany --help" doesn't have anything germane; neither does "geany --help-gtk". I even grepped for "geometry" just to be sure I wasn't reading right over it. I coulda sworn there was a generic gtk geometry option, but I haven't found evidence of it.

I tried as command options, all the likely seeming strings like:
geany -geometry=1300x500+0+0
geany --geometry=1760x750+0+0
geany --geometry 1760x750+0+0
geany -geometry 1760x750+0+0
geany -geometry=1760x750+0+0
geany --geometry=1760x750

but they all just return "Geany: Unknown option . . .".

I suppose I can wrap geany in a script  that zaps the window with wmctrl, but I keep thinking there ought to be a more elegant way to give it a default geometry. Where could the default it seems to act on be coming from? It is the same half-screen size every time, so it must be getting those dimensions from somewhere.

-- 
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-282571341
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170226/2f5f8c9c/attachment.html>


More information about the Github-comments mailing list