Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thank you for this and is it possible to always show panel on secondary monitor? #3

Closed
xjvs opened this issue Aug 7, 2021 · 5 comments

Comments

@xjvs
Copy link

xjvs commented Aug 7, 2021

I have no knowledge about gnome extension development, probably there is a good reason that show panel on secondary monitor only when the primary is in fullscreen mode, but I still want to ask whether it's possible to implement the feature of always showing the panel on secondary monitor?

And thanks again, great job.

@Noobsai
Copy link
Owner

Noobsai commented Aug 7, 2021

You can change your primary display in the displays options:
Screenshot from 2021-08-07 21-11-12

@xjvs
Copy link
Author

xjvs commented Aug 8, 2021

I want the top panel show on both primary and secondary monitors, and not only when primary is in fullscreen mode.
But feel free to close this if this sounds not reasonable to you or there are some technical difficulties of implementing this.

@Noobsai
Copy link
Owner

Noobsai commented Aug 8, 2021

Sorry, I initially misunderstood the question.
Something similar to what you asked does Multi Monitors Add-On (only for gnome shell ≤3.38). If you want v40 look this PR.
For your request an extension should creates a panelBox with all inner controls (see mmpanel.js). But I don't know how other extensions will work with this custom panel. There is a lot of works and is not related to the idea of my extension.
My extension just moves the original panel to the secondary monitor by coordinates. I recreate hot corners only (because I cannot move them).

@xjvs
Copy link
Author

xjvs commented Aug 9, 2021

I see, thanks for the info, closing this.

@xjvs xjvs closed this as completed Aug 9, 2021
@realh
Copy link

realh commented Aug 22, 2021

Sorry for resurrecting a closed issue, but I'd just like to point out that it's fairly easy to show the panel on the secondary monitor instead of the primary, as opposed to both. I've just made a new panel-mover extension based on this one, which lets you move the panel manually. I wanted this because I play Trackmania Nations Forever in WINE, and it doesn't interact properly with mutter, so neither multi-monitors nor fullscreen-avoider were able to solve the problems.

I renamed the extension because the old name didn't describe the new behaviour well, but it still owes its existence to @Noobsai. I should probably add a hidden setting so that it remembers where you moved it to and restores that setting when you reload GNOME.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants