can i write code in init.coffee to make window not be fullscreen?
Yes, that’s possible, add this line to your
but ，， in OSX 10.10.5, is uesless.
it first become small, and then still become fullscreen
Does it work if add a
process.nextTick -> atom.getCurrentWindow().unmaximize()
atom.getCurrentWindow().unmaximize() work at all? You can test it by opening the dev tools console with ctrl-shift-i (maybe cmd-shift-i on Mac, I don’t know…), then run the command. If it doesn’t work, you should probably file an issue on the Atom or the Electron repo (and please post a link to the issue here). If it is working, try the following:
- Close every instance of Atom
rm -r ~/.atom/storage(or
mv ~/.atom/storage ~/.atom/storage.bakif you want a backup)
- (Make sure the
atom.getCurrentWindow().unmaximize()line is still in your
- Start Atom again
Wait, I see now that you said “full screen” which I interpreted as “maximized”… If it’s actually full screen you’re talking about, try
Nope, doesn’t work here (OSX). I would love for something to make Atom forget its fullscreenness, for some reason it’s annoying.