DEV Community

Discussion on: How I open and resize all my applications with just a keyboard shortcut

Collapse
 
twright profile image
Thomas Wright • Edited

On the one hand I can see many uses of such a script. On the other hand, I cannot help seeing a shorter alternative article:
"Every morning I have to open, resize and and reposition all applications I need to work, so I thought: What if I used suspend/hibernate?"

This alternative aside, I believe KDE and some other desktop environments have "restore previous session" options although, last time I checked this did not extend to restoring window positions. Perhaps this could make a useful gnome shell extension?

Collapse
 
ricardo_borges profile image
Ricardo Borges

I use dual boot, so suspend mode is not a option for me. I could use hibernate but I have learn more writing my own solution.

Collapse
 
twright profile image
Thomas Wright • Edited

Fair enough; I do see the value of such a tool even if I would not necessarily use it. This is one of the reasons I very rarely boot into windows these days, alongside the hour of Windows updates I incur every time I do so. I also keep too much other state in RAM such as my browser tabs, my tmux session, and my open jupyter notebooks to want to reboot frequently. My applications also tend to be spread over ~8 virtual desktops, which would be interesting to try and restore programmatically.