lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Terminal position with multiple monitors #301

Open achobanov opened 7 years ago

achobanov commented 7 years ago

Hello.

In short:

I like Tilda most of drop-down terminals I have tried. However it does behave a bit incorrectly with multiple screens, in my opinion. The horizontal positioning of the terminal seems to be determined with X pixels offset from the left-most (start) position of the display. There is a setting which I can use to manually set on which monitor to visualize, but that just seems to be setting the X-offset to the necessary value. I like Guake's solution - a setting, which always shows the window on the primary monitor only.

Details:

My setup:

  1. Laptop with Linux Mint 18.2, which I use to carry around and go to work
    • GPU: Radeon 7xxx m
    • screen resolution: 1920x1080
  2. External monitor: Dell P2412h
    • cable connector: VGA
    • screen resolution: 1920x1080

Disclaimer: I am very inexperienced linux user. Thus if you require more system information, please describe how and what to provite.

My Tilda configuration: I don't want Tilda to be entirely fullscreen, so I have set it up with width of 1220px and with X-position of 700px. This works great for me.

My problem: When I connect my external monitor I want to use it as primary, so I'd like my applications, including Tilda, to visualize on my main, primary monitor. As of now, If I plug in my external monitor, without changing Tilda settings, it still appears on the exact same spot on my laptop monitor. I can work-arround this, if I set X-position to 1920px or higher. What happens then is that Tilda appears and is animated onto my external monitor (primary) and it looks ok. But then when I plug my monitor out and switch back to single monitor configuration, Tilda still appears and works, but because of the 1920px X-position the animation actually happens outside of my screen and when it finishes - it hops inside my screen. It's functional, but I really like the animation.

Thoughts on resolution:

You could implement Guake;s solution - give an option to only visualize Tilda on the primary monitor. It would work like charm for me. Another theoretical fix would be to use the remainder of X-position value, divided by screen resolution, as offset. Perhaps you have already implemented similar logic, because the terminal shows on screen after the animation delay. In that case you only really need to force the animation within the screen boundaries as well.

Thanks :)

GladOSkar commented 7 years ago

I (not the maintainer) will be working an a PR for this this summer. But since i have some exams to write during the next weeks it may still take some time.

achobanov commented 7 years ago

Great :)

jetibest commented 5 years ago

Even though Tilda comes with many settings, multiple screens does not seem to be supported at all. There is a particularly annoying bug in which the open/close animation is on one screen, and then Tilda instantly moves to the other screen.

Preferred behavior is a setting to select the monitor of choice in preferences. Next to this, it would be nice to being able to change this setting by alt-dragging the window to another monitor, and then magnetic clip it to the right position (as configured).

jinuhwang commented 5 years ago

Any progress on this issue?

elig0n commented 5 years ago

I wouid also like to see better multi monitor support, like have tilda show up in the focused screen it was called, screen oriented alignment.

letuche commented 4 years ago

I'd also like it. Tilda is hands down my favorite terminal emulator, but it's getting really hard to stick to it when it simply doesn't show on my laptop screen when there's no external monitor plugged in. I'm using Kubuntu 19.04 Disco on a Dell Inspiron 7000.