Git Product home page Git Product logo

multi-monitors-add-on's Introduction

Multi Monitors Add-On

Extension inspired by https://github.com/darkxst/multiple-monitor-panels and rewritten from scratch for gnome-shell version 3.10.4. Adds panels and thumbnails for additional monitors. Settings changes are applied in dynamic fashion, no restart needed.

Versions

  • Branch master contains extension for GNOME 3.38
  • Branch gnome-3-32_3-36 contains extension for GNOME 3.32, 3.34 and 3.36
  • Branch gnome-3-24_3-30 contains extension for GNOME 3.24, 3.26, 3.28 and 3.30
  • Branch gnome-3-20_3-22 contains extension for GNOME 3.20 and 3.22
  • Branch gnome-3-16_3-18 contains extension for GNOME 3.16 and 3.18
  • Branch gnome-3-14 contains extension for GNOME 3.14
  • Branch gnome-3-10 contains extension for GNOME 3.10

Installation from git

git clone git://github.com/spin83/multi-monitors-add-on.git
cd multi-monitors-add-on
cp -r multi-monitors-add-on@spin83 ~/.local/share/gnome-shell/extensions/

Restart the shell and then enable the extension.

License

Multi Monitors Add-On extension is distributed under the terms of the GNU General Public License, version 2 or later. See the LICENSE file for details.

multi-monitors-add-on's People

Contributors

alonsolp avatar artyomzorin avatar axxapy avatar jonnius avatar kenaco avatar rffontenelle avatar shaggyone avatar shemgp avatar spin83 avatar vombato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multi-monitors-add-on's Issues

Status bar (bottom left) position

Hi,
I'd like to ask if there is a possibility to add support for positioning of status bar - the hidden bar with status icons in the bottom left corner of the screen.

I have primary display on right and it is sometimes very hard to get mouse properly on the spot so the bar could roll out.
It would be much better if the bar could be moved to the bottom right of primary or bottom left of secondary monitor.

Thank you

Weird area at the top of the screen

With this extension enabled the weird area at the top of the screen appears and some gui elements like context menu or desktop files appear lower than that.
Here is the video of the problem: https://vid.me/6z1T

Any ideas why it is happening?

Workspace thumbnails are not level

When the display's monitors have identical heights and known to be level at the top, would it be possible for multi-monitors-add-on to take extra care about making the workspace thumbs all level? There's a bit of a staircase effect going on at the moment in this situation:

     monitor 1       monitor 2
+---------------+---------------+
|TTTTTTTTTTTTTTT|TTTTTTTTTTTTTTT|
|               |               |
|D              |W1b            |
|D           W1a|W2b            |
|D           W2a|W3b            |
|D           W3a|...            |
|D           ...|...            |
|D           ...|...            |
|            ...|               |
|               |               |
+---------------+---------------+     (current situation)

D=dock, T=topbar,
Wxy=thumbnail for workspace x monitor y

It's especially jarring to the eye when the thumbnail stacks are central and together like this: the macro view of the thumbs really should match the micro view of the monitors:

+---------------+---------------+
|TTTTTTTTTTTTTTT|TTTTTTTTTTTTTTT|
|               |               |
|D           W1a|W1b            |
|D           W2a|W2b            |
|D           W3a|W3b            |
|D           ...|...            |
|D           ...|...            |
|D           ...|...            |
|               |               |
|               |               |
+---------------+---------------+   (ideal case, for me)

To complicate matters, the levelling would need to work with or without a topbar on monitor 2, and in the presence or absence of the Hide Top Bar extension, if possible.

Date and Time on second(third, etc) panel

Hi and many thanks for this extension!

I guess this is a feature request: Would it be possible to have the date and time show up on any spawned panel?
For example, if you have a dual-monitor setup and run something in fullscreen on primary screen, having the date and time functionality on the second screen would be really really nice.

Gnome 3.18 Support

I installed the plugin manually and changed the metadata.js to enable 3.18. Everything seems to work fine, I enabled every option at least once. They all had the expected effect and there are no errors logged to the journal.

Due to this I would recommend enabling official support for Gnome 3.18.

Everything has been checked on Arch Linux running Gnome 3.18.0-1

Gnome Classic support

Would it be possible to have the extension duplicate the top/bottom bar and items on them while in Gnome Classic mode for additional monitors?

There doesn't appear to be anything that does this currently and is one of the primary reasons I'm running MATE atm.

Stop mouse on begin/end of panel

On the primary panel, you can't move the mouse further to the right when you're at the end and not moving your cursor extremely fast. I'd love to see this feature on other monitors too, both for the left and the right side of the panel.

Add support fro Fedora 24

This extension is currently not supported by Fedora 24, since it comes with a newer Gnome version. Can you please provide an upgraded version and submit it to extensions.gnome.org?

No start-animation of Overview-Windows when pressing meta-key

When triggering hot-corner, you see all open windows. The windows are moving to a nice overview, with a moving+resizing-transition (all open windows gets smaller via animation).

All works correct, even with this extension but, there is one little exception:

When pressing meta-key (the key between CTRL and ALT), there is on all non-primary screens (in my case middle and right screen) no window-animation while opening the overview. Yo see the final overview / window tiles instantly. Only the thumbnail-slider is correctly animated.

  • Primary screen works like expected in all cases.
  • Hot corner even on the non-primary screen works like expected on all screens
  • Closing-animation (for example pressing ESC) works like expected on all screens

Using Debian 9.1 stable, latest updates.

Please consider tagging releases

Thanks for this great extension! Would you consider creating tags in git so that releases can be tracked? I'm the packager for this extension in Debian (that also makes its way into Ubuntu/Mint/etc) and it would make it easier to make sure we have the latest release package rather than manually checking the commit history. Thanks!

Gnome shell crash if additonal monitor pluged when Activities overview opened

steps to reproduce (Fedora 25, Wayland, gnome-shell --version GNOME Shell 3.22.3. I have enabled only "Thumbnails-Slider on additional monitors" in extension settings)

  1. unplug a secondary monitor
  2. open activities overview
  3. plug the monitor back
    Session quits and you see a gdm login screen.

If extension disabled activities overview closing and you see your desktop, no crashes.

Indicator has a test entry

The indicator for this extension has an entry called "Test" that if clicked on, only temporary displays "Multi monitors addon". This seems like something that is shipped unintentionally and doesn't seem very useful, and should probably be removed.

possible to have separate workspace per monitor?

With this extension, I am able to have the workspace interact with both my monitors, but I would like the ability to have each monitor track their own workspaces, so I can change one without having to change the other.

Is this possible?

gnome-shell trap when unlocking, loss of unsaved work

Arch Linux x64, proprietary NVIDIA driver, Gnome 3 on xorg. All to latest versions including multi-monitors extension.

My setup includes two monitors: one 1920x1200 (secondary) and a 1080p primary.

A gnome-shell crash occurs when a user is logged in gnome and then gnome is locked from inactivity. If from another TTY a different user logs in (in my case, root), then going back to gnome, the initial user's session crashes and in most cases all open programs are lost.

A log speaks a thousand words: https://pastebin.com/uq0pE69q

Is this an issue with multi-monitors, or am I mistaking something?

Broken for Gnome Shell 3.24.2

It's broken for Gnome Shell 3.24.2 - instead of creating the second panel on the top of the second monitor, it creates second panel under first panel on the primary monitor.

Scrolling does not always work

Hello,

I am using Arch Linux with gnome-shell 3.16. When I press super to go in the overview mode, I can use the mouse scroll wheel to change workspaces or to open a new one. However, when I am on an empty workspace (not applications in the overview) scrolling on the secondary screen does not work.

Here a step by step description:

  1. Press "super"
  2. Scroll to create a new workspace
  3. Now move your mouse cursor to the secondary screen and use the scroll wheel to change to the previous workspace.

Result:
Nothing happens.

Expected:
You change the workspace to previous one.

Furthermore, when you are on a workspace with open applications than scrolling only works, if the mouse cursor is above an application preview.

To put it in a nutshell: both screens should behave identically

Windows on secondary screen change size and don't animate in overview

I have two 1080p monitors and I have enabled the thumbnail slider on the secondary display. Both thumbnail sliders are partially hidden by default. If I hover over the one on the primary display, the windows on the secondary display become bigger (the same size they are when the thumbnail slider on the secondary display is disabled). Hovering the thumbnail slider on the secondary display causes them to jump back to their smaller size.
There's also no animation when the windows on the secondary display move out of the way (when the thumbnail slider unhides) like there is on the primary display.

Question: is it possible to have the exact same topbar on second display?

I have a couple of extensions modifying the top bar, including Hide top bar, Taskbar and Media player indicator among others.
When I use Multi monitors add-on, the top bar displayed on the second display is a vanilla gnome top bar. In the preferences there is an option for adding indicators to it, but for example, auto-hiding feature and all of the customizations are absent.

Is it possible to have all the changes made to the top bar to be intact on the second display?!

Overview windows and thumbnail slider on gnome-shell 3.26.1 Arch

As some people have mentioned on the Gnome Extensions page I am also having an issue with overview windows not showing on secondary displays and the thumbnail slider almost completely cropped out on secondary displays.

Btw, thanks for the awesome extension!

Error thrown when clicking settings in TweakTool

Just installed the latest version from github but I receive this error when I click the setting gear in TweakTool:

`TypeError: redeclaration of let nameRenderer

Stack trace:
Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:74:13
wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:89:31
wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:399:5
@

:1:49
`

Hot corner support

Would love to see hot corner support (for activities menu) on all monitors.

seperated scroll

Is it possible not to scroll down first and second monitor at once?
For example: on 1st monitor i stay on workspace1 and on second i go to workspace 3.

exit
e

'Always on visible workspace'

Hello,
First - great extensions, thanks for that! 👍
Now, issue.

When I choose 'Always on visible workspace' option, if changing workspaces by keyboard shortcut (CTRL+Alt+Arrow Up/Down) everything is fine, but when I'm changing workspace by mouse window app is not visible on all workspaces.

Interested in a New Maintainer?

Just a follow up to some off topic discussion under #24. @spin83 are you still interested in maintaining this extension? There are quite a few users waiting for a formal update to Gnome 3.20, and there's been a pull request for it for the last 15 days.

If you are no longer interested in maintaining this extension, would you be willing to let someone else take over maintaining it? I'm not outright volunteering, but if no one else is interested then I guess I'd be willing to. I'm not an extension developer, but I am pretty active on GitHub and would have no problem accepting Pull Requests and/or updating the metadata.

I am also the maintainer of the AUR package of this extension and would love to get it updated for 3.20. 😉

So I'm opening this issue as a place to have this discussion properly. Don't take offense to the idea, we just really like this extension, and I, for one, would like to see it updated.

Empty workspaces on secondary monitor: clicking the background does not hide the overview

I expect to be able to dismiss the overview on empty workspaces by clicking on a blank "background" area, by which I mean the centre of the screen when no apps or search results or windows are visible. That's what works without the extension, or with multi-monitors-add-on installed on my primary monitor.

With multi-monitors-add-on installed, I expect the same behaviour on my secondary monitor. However, clicking in the blank background area on the secondary monitor on a workspace where that monitor has no windows does not dismiss the overview.

The inconsistency between the two monitors is quite jarring.

Crash when unlocking PC

I use up to date Fedora 25 (GNOME 3.22.2 @ X11) and sometimes this Add-On crashes (and takes most extensions with it) when I lock PC and later unlock it.. It's also impossible to turn it on again until gnome-shell is restarted.

Here is log:

čec 10 11:52:54 david-pc org.gnome.Shell.desktop[1696]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1e00007 (GNOME Shel)
čec 10 11:54:08 david-pc gnome-shell[1696]: gsignal.c:2641: instance '0x555bf32457d0' has no handler with id '1'
čec 10 12:12:33 david-pc gnome-shell[1696]: JS LOG: pushModal: invocation of begin_modal failed
čec 10 12:12:43 david-pc gnome-shell[1696]: gsignal.c:2641: instance '0x555bf0c490b0' has no handler with id '12502'
čec 10 12:12:43 david-pc gnome-shell[1696]: JS LOG: remove: i1x0y0w1920h1080
čec 10 12:12:43 david-pc gnome-shell[1696]: JS LOG: Disable Multi Monitors Add-On ...
čec 10 12:12:43 david-pc gnome-shell[1696]: Allocating size to ShellEmbeddedWindow 0x555bf0be0b70 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: Enable Multi Monitors Add-On ...
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: pi:0
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: i:0 x:1920 y:0 w:1920 h:1080
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: i:1 x:0 y:0 w:1920 h:1080
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: new: i1x0y0w1920h1080
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: loading default theme (Adwaita)
čec 10 12:43:25 david-pc gnome-shell[1696]: gsignal.c:2641: instance '0x555bf0c490b0' has no handler with id '12502'
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: remove: i1x0y0w1920h1080
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: Disable Multi Monitors Add-On ...
čec 10 12:43:25 david-pc gnome-shell[1696]: JS LOG: loading default theme (Adwaita)
čec 10 12:43:26 david-pc gnome-shell[1696]: JS LOG: loading default theme (Adwaita)
čec 10 12:43:26 david-pc gnome-shell[1696]: gsignal.c:2641: instance '0x555bf0c490b0' has no handler with id '12502'

Last error repeats several times and then other extensions start to fail. Is there some another, more detailed log? Or perhaps a debug mode in your extension..? Can I provide any more info?

workspace grid inconsistent on second monitor

when using (at least) two screens your multi-monitors-add-on helps a lot. thank you!

however, in my setup with two monitors there is an issue when using at the same time another add-on: workspace grid / https://github.com/zakkak/workspace-grid-gnome-shell-extension
combining both add-onds -- and using the gnome option of having workspaces not only on the primary monitor -- leads to a one-dimensional (flattened) column of workspaces on the second monitor while the main monitor displays the correct view of the grid of workspace (see attached screenshot).
this behaviour is inconvenient because the grid structure is lost and therefore the overview of the workspaces on the second screen is not given anymore.

my wish is that the combination of these two add-ons is supported.
multimonitors_workspacegrid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.