Add "Mirror panel to display" option in Panel Settings #1436
mike277202
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
I have updated the script to remove the hard coding of 2 monitors it now detects all connected monitors via xrandr and allows the user to copy the panels to more than one other monitor |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You're so close.. Why not just convert your Python to a Javascript Cinnamon extension. You can then add a Panel menu item that copies the applets from the Popup menus panel to all Panels that are completely empty of Applets. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Cinnamon has no native way to mirror a panel's applet layout across multiple monitors. Users with multi-monitor setups must manually recreate their panel on each display by individually adding applets one by one, and there is no way to keep them in sync.
Problem
When a second panel is added to a second monitor via Panel Settings, it starts completely empty. There is no option to copy or mirror the existing panel layout.
Proposed Solution
Add a 'Mirror panel to display' button inside the Panel Settings window that:
Proof of Concept
I have written a working Python script that implements this logic in full using dconf reads/writes outside of the Cinnamon codebase. It has been tested on a dual-monitor setup running Linux Mint with a NVIDIA GPU
The script is available here: https://gist.github.com/mike277202/3a33068373b965a642e43518b4b48156
I'm keen to take this further and integrate it natively into the Cinnamon codebase across panelManager.js, appletManager.js, and cs_panel.py. Would welcome any guidance from maintainers on the best approach before submitting a PR.
Environment
Beta Was this translation helpful? Give feedback.
All reactions