Set Atom Default Window Size - atom-editor

I am new to Atom but I already fall in love with this editor. There is one problem, however, that bugs me a lot: each time I adjust the window size, I will get the window size maximized when I reopen Atom. This irritates me because I need to re-drag the window again to have the size I like.
Is there any way to set the default window size?

Related

Atom-Editor window pane resizeing

I'm having an issue where the focused window pane is very small.
I tried rm ~/.atom, but it did not change anything.
I've also tried to delete and reinstall atom.
Does anyone know how to reset the view? Or increase the window pane size?
I was able to reset the window pane size via command atom --clear-window-state

Getting position of window with font increase

i have a problem with getting position of qt window in Windows while i have text size increased in windows settings.
So i'm developing an Qt app for multimonitor setup, the app monitors it's position and returns to screen to which is associated.
I already tried to get window position with:
1.Qt function geometry()
2.Qt function frameGeometry()
3.Inside Qt window calss this->pos()
4.WinApi function GetWindowRect
All of them work fine when font size in Windows settings is set to 100%.
But when i change font size to 125% and more only on the main midle screenn, position returned by that functions are wierd, too big something like from -6800 to 6000 in pixels with font size 175%, when i have 3 monitors 1920x1080 in row from -1920 to 1920(rightest screen position) and 3840 rightest pixel column.
CCD Api returns me that i still have from -1920 to 1920 with font size increased. and so says registry in
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\UnitedVideo\CONTROL\VIDEO\
So the question is, how to get window position when font is incresed ?
And who is wrong here me, doing wrong thing or Windows have a bug?

Persistent window size for floating windows in awesomewm

I resize a floating window, let's say to some size WxH pixels. Then I change to tiling mode, so the window gets resized automatically to some new size, let's say W'xH' pixels. Now suppose I switch the window back to floating mode.
What I Want: The window automatically resizes to the last size, i.e., WxH.
Current Situation: The window just becomes floating, but still has the size W'xH'.
Is there any way of making this happen? Like some way we can save the dimenisons of a window everytime it's resized, and whenever a window enters floating mode, apply the last known size from that application?
I know it probably sounds very dumb, I'm so sorry.
There is multiple ways. The "simple" way is to use client.connect("property::floating", function(c) if c.floating then restore(c) else save(c) end) where you implement both save and restore yourself by calling c:geometry().
The more advanced way would be to use request::geometry and awful.placement built-in geometry memento support. That's preferred since it allows to prevent the client from flickering between 2 sizes. However it is much more complicated to pull off.
You can use awesome-remember-geometry from berlam.
https://github.com/berlam/awesome-remember-geometry

Adobe Air - restore a window that is maximized at start - restore size is larger?

Basically what is happening is:
Window is closed when Maximized (of type AIRWindow.as which extends Window.as)
When reopened, this window is in Maximized state, and Air has no record of a restore window size at this point.
Click the Restore button - AIRWindow.restore() calls Window.nativeWindow.restore()
AIR resizes the window, but makes it basically the same size or slightly larger than Maximized state
We don't have access to NativeWindow file, or the restore() function, so I'm not sure how to affect the default resizing of the maximized window to a restored state?
Any ideas?
Note: NativeWindow is part of the airglobal.swc package
Are you able to set the initial window size when you create it?
When I create classes derived from NativeWindow I set the x,y,width and height properties prior to calling activate(). This size is then used as the basis for restore operations if you subsequently maximize/minimize.
You could create the window at a specific size and then immediately maximize it on load if you initially want it maximized.

console2 - how to make it fullscreen?

Is there any way to make console2 go fullscreen? I edit settings and increase window and buffer size but when I restart settings are reset to 63 rows in window size.
I've found that the maximise button is disabled, but you can get around it by setting Run option of the executable's shortcut to Maximised.
Better yet you can hide the window title bar in Console2's settings (Appearance > More... > Caption).
Here's the final result:
So, I've found this fork of Console2 which is amazingly better, it's called ConsoleZ:
https://github.com/cbucher/console/wiki/Downloads
Besides the maximization, it provides find in tabs, fullscreen mode and split tabs. Totally worth to check it out, IMHO.
EDIT
Forgot to mention, you can just download and replace the binaries, and all your configurations will be kept, as far as I've perceived.
[]'s
OK I managed to do it on win7 but still no luck on XP. This is how I did it.
In Settings→Behavior, check the Initial position checkbox and left the X and Y as default 0
Restart console
After restart, resize window dragging the borders to fill whole screen
Restart again
In Settings→Appearance→More uncheck Caption and Border
I don't know why just entering rows and columns doesn't work. One has to resize the window and restart.
On my screen with this font it is 62 rows (with space left for tabs on bottom) and 238 columns. I have 24" monitor. I set font to be Consolas size 11.
You can change the number of rows to change tab settings.
Click "Edit"->"Setting"->"Tabs" and click "Add" button. Then, the new entry which name is "Console" appears in the tab name list. In the main tab menu on the bottom, input these two parameters in the fields.
Title: Cygwin
Shell: C:\cygwin\bin\bash.exe --login -i
At last, move up the "Cygwin" entry to the top and restart console2. Now you can change the number of rows.
The detail how to configure tab settings is here.
https://openshift.redhat.com/community/blogs/upgrade-cygwin-to-console2-and-improve-the-productivity-of-openshifts-rhc-client-tools-on-wind
In order to make Console2 have the desired window size (even when opening a new tab which generally causes the entire app's window to resize to smaller), do the following:
View -> Console Window
In the console window that pops up, right-click its title bar and select Properties
Set the window width/height and buffer sizes as you like and click OK
Cheers
I founded a small program called, sizer 3.34, that configure the window size of every program window you have.
When installed, it apears at the popup menu, when you click with the secundary mouse button at the top bar of a window. It allows you to config the three size profiles it has, and to add one, or more, if you want.
I think is a good solution for this issue (and for another programms that would have the same problem).
Reggards.

Resources