Back to Monitor

UUID: back-to-monitor@nathan818fr
Last edited:
1 month ago 2022-06-03, 07:34
Last commit: [8cfd7734] Updates Italian translations

Move windows back to their original location when (re-)connecting a monitor.

README

Close

Back to Monitor - A Cinnamon extension

A Cinnamon extension to move windows back to their original location when (re-)connecting a monitor.

Screenshot

Features

  • Remember window locations based on monitor connection (can be switched on/off)
  • Minimize windows when a monitor is disconnected (can be switched on/off)

The goal of this extension is only to operate on windows that are moved automatically when a monitor is disconnected.\ It is therefore not possible (and will never be) to create/save/restore layouts on demand.

Installation

Cinnamon Spices

Not available yet.

From source

To download the source and install it, execute the following as a normal user:

git clone git@github.com:nathan818fr/cinnamon-back-to-monitor.git
cd cinnamon-back-to-monitor
cinnamon-install-spice extension files/back-to-monitor@nathan818fr

Issues

If you find any bug, you can report on the Github issues page.

Contributing

Contributions are welcome. Please submit pull requests to the extension repository (not the Spices repository, which is only a distribution channel).\ It is recommended to open an issue before introducing new features to discuss them.

FAQ

• Tiled/snapped windows are not restored correctly

The required APIs are not exposed to cinnamon extensions.\ Therefore, tiled/snapped windows can only be restored to the predefined dimensions.

• Fullscreen windows are not restored

The required APIs are not exposed to cinnamon extensions.\ Therefore, fullscreen windows are ignored by this extension.

• The "Always on Visible Workspace" option is not restored

The required APIs are not exposed to cinnamon extensions.\ Therefore, windows that had this option enabled will not keep it. Instead, they will be moved to the last workspace where they were present.

Log In To Comment!

1 Comments

Simen Eriksen
Simen Eriksen-3 months ago
Thank you! This works just how you'd expect it! I have a dual monitor setup on my laptop, and I often go back and forth to meethings. Coming back at my desk, plugging in my docking station and seeing everything back to where it was is truly an amazing experience. It just works, that's a nicely done feat!