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

Move consoles to second monitor #165

Open
plato-cambrian opened this issue May 22, 2015 · 31 comments
Open

Move consoles to second monitor #165

plato-cambrian opened this issue May 22, 2015 · 31 comments

Comments

@plato-cambrian
Copy link

@plato-cambrian plato-cambrian commented May 22, 2015

I work with a second monitor plugged into my laptop. I would like to move the terminals to the second monitor. Even after setting "Window position: Free" and/or "Snap to desktop edges" I am unable to move the console to the second screen.

Is this my configuration issue or actual issue?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented May 22, 2015

I still do not know how are you trying to move the window.
And without your full config (at least screenshots of Size and Appearance pages) I can't tell you more.

@plato-cambrian
Copy link
Author

@plato-cambrian plato-cambrian commented Jun 2, 2015

I'm trying to drag the gray titlebar onto my secondary monitor. Screenshots attached.
conemu-1
conemu-2

@Dawnkeeper
Copy link

@Dawnkeeper Dawnkeeper commented Jun 24, 2015

Just noticed that if "Quake style slide down" is active you can't drag the window to another monitor.

@Jaykul
Copy link

@Jaykul Jaykul commented Jun 24, 2015

I think if you have quake mode on, you have to use the Windows+LEFT/RIGHT keys to move it to another monitor (that's assuming you don't have the ConEmu keyboard hook installed, which interferes with Win+Arrows)

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jun 24, 2015

Anyway, I consider that is a bug. ConEmu must jump to another monitor when the mouse cursor reaches it.

@plato-cambrian
Copy link
Author

@plato-cambrian plato-cambrian commented Jun 24, 2015

@Jaykul Thanks, this helped me find a successful workaround. I can't use win+left but I did disable quake mode, move the terminal, and re-enable quake mode. It's attached to the top of my second monitor as I desired :)

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jun 24, 2015

Another workaround is to set manually X coordinate on the Size/Pos settings page and press apply.

@cobrabr
Copy link

@cobrabr cobrabr commented Nov 9, 2015

Setting the coordinates when quake mode is on doesn't work properly -- if you try to move it to a second monitor by setting the X coordinate to a value larger than the width of the monitor (which is what happens when you move it with the mouse) it changes the value to the largest possible value within the first monitor. Doing so when quake mode is off works perfectly.

The same is true for moving the window with the Win Keys -- it works with quake mode off, doesn't work when it's on.

@admsteck
Copy link

@admsteck admsteck commented Mar 7, 2016

Is there a macro or combination of hotkeys that can be used as a work around to move a quake mode window to a different monitor? I don't see any hotkey to toggle quake mode.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 7, 2016

@admsteck There is Minimize/Restore hotkey, isn't it? Move the mouse to desired monitor and press these keys.

@Dawnkeeper
Copy link

@Dawnkeeper Dawnkeeper commented Mar 8, 2016

@Maximus5 The minimize/restore hotkey only opens the console on the monitor it was on. Or is there an option the change this? If not, it would be great to add it.

@Dawnkeeper
Copy link

@Dawnkeeper Dawnkeeper commented Mar 8, 2016

@Maximus5 Ok, found the option: Main>Size&Pos>Restore to active Monitor. With that it works great LittleHappyDance

@admsteck
Copy link

@admsteck admsteck commented Mar 8, 2016

@Maximus5 I'm using the minimize/restore hotkey to hide and show the quake style window, but I don't want to use the "Restore to active monitor" option because I prefer ConEmu to stay on a certain monitor. The problem is my preferred monitor is an external monitor and when I un-dock my laptop, ConEmu defaults back to the laptop display, which is good. But when I re-dock my laptop, ConEmu still restores to the laptop display and I would like to move it quickly (preferably without opening the options window) to my preferred external monitor.

@elijahgagne
Copy link

@elijahgagne elijahgagne commented Mar 8, 2016

@admsteck I think you just want to use built in Windows functionality to move a window. If you press the "windows" key and use the arrow keys, you can move any app around.

@admsteck
Copy link

@admsteck admsteck commented Mar 8, 2016

@elijahgagne I think that is what this issue it addressing, the standard windows shortcuts (win+arrow) do not work when ConEmu is in quake mode. My specific question was if anyone knew of a combination of hotkeys or a macro that could be used to achieve the desired outcome until this issue is resolved. I can move it by opening the settings dialog, turning off quake mode, moving it, then open the settings dialog again and reset a bunch of things that got reset when turning off quake mode. I was hoping for a simpler work around that wouldn't require opening the settings dialog. I'm aware of the setOption gui macro command and could string a bunch together to achieve what I want, but thought maybe someone watching this issue might already have a work around to save time.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 8, 2016

@admsteck You may try following GuiMacro

SetOption("Check",2333,0); WindowMode("MNEXT"); SetOption("Check",2333,1);

@admsteck
Copy link

@admsteck admsteck commented Mar 8, 2016

That sort of works, but for some reason several other settings get modified and need to be put back where I want them. Auto-hide is turned off, but I can use setoption("Check",2466,1) to get it back. The window height and min/max is also off. Here is what I am currently using:
setoption("Check",2333,0); WindowMode("MNEXT"); setoption("Check",2333,1); setoption("Check",2466,1); windowpossize(0,0,0,30); windowmode("MAX");

The only one I can't figure out now is the "Frame width" setting is getting reset to -1 when I had it set at 0.

@elijahgagne
Copy link

@elijahgagne elijahgagne commented Mar 8, 2016

win+arrow works for me when ConEmu is in quake mode. I'm thinking that I may have removed a ConEmu macro that was bound the win+arrow to get that working. Also, I'm on Win 10 in case that's relevant.

@admsteck
Copy link

@admsteck admsteck commented Mar 9, 2016

@elijahgagne I'm on Windows 7. I've disabled the keyboard hooks and also unassigned the hotkeys for win+shift+right/left and it still does nothing while in quake mode.

The macro I have now is working pretty well, the only thing it is missing is resetting the "frame width" setting to 0 since something is changing it to -1. @Maximus5 are there any plans to allow numeric or text options like frame width to be set through gui macros?

In case anyone is curious, what I'm at right now is:
setoption("Check",2333,0); WindowMode("NOR"); WindowMode("MNEXT"); setoption("Check",2333,1); setoption("Check",2466,1); windowpossize(0,0,0,30); windowmode("MAX");
2333 is quake mode, 2466 is autohide, I have my window height at 30 when in quake mode. I also have another macro that is the same but uses MPREV instead of MNEXT.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 9, 2016

I've disabled the keyboard hooks and also unassigned the hotkeys for win+shift+right/left and it still does nothing while in quake mode.

Windows' bugs must be reported to Microsoft, don't they?

Maximus5 pushed a commit that referenced this issue Mar 29, 2016
@chickerson
Copy link

@chickerson chickerson commented Jun 29, 2016

may be late but with my laptop I have the external monitor set as the default screen, ie the start button goes there.

I pin conemu there and when I undock my laptop it becomes the default screen and conemu follows. When I re-dock it goes back to the external monitor.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jun 29, 2016

@chickerson Hmm? Seems like Windows move window to newly attached monitor.

@giggio
Copy link

@giggio giggio commented Sep 20, 2016

There should be an option to set the default monitor. I have not found an easy mode to do this using quake mode.

@Igonato
Copy link

@Igonato Igonato commented Oct 10, 2016

@giggio +1
Saved windows position xy values in settings change when the window is moved to another monitor, and they affect position on start, but the monitor is always the one that was active (restore to active monitor is unchecked).

@yuyoyuppe
Copy link

@yuyoyuppe yuyoyuppe commented Nov 18, 2017

FYI, it seems there's no way to move qauke-style window while it's maximized, but if you can drag it if it's not.

@Igonato
Copy link

@Igonato Igonato commented Nov 18, 2017

@yuyoyuppe try win + shift + left or right arrow key

@yuyoyuppe
Copy link

@yuyoyuppe yuyoyuppe commented Nov 18, 2017

@Igonato doesn't work for me. (win10)

@jmlucjav
Copy link

@jmlucjav jmlucjav commented Nov 19, 2017

@Igonato works for me, only not maximized of course!! cool (win10)

@Igonato
Copy link

@Igonato Igonato commented Nov 19, 2017

This is what I've been using for the last year. For me it works in the maximized mode as well, maybe just the F11 mode, not the quake mode.

@jmlucjav
Copy link

@jmlucjav jmlucjav commented Nov 19, 2017

ok what I meant is: it works with a quake windows if it is not maximized.

@ilukic
Copy link

@ilukic ilukic commented Jan 7, 2021

image
if you choose this setting "Restore to active monitor" then the console will show up on which ever screen you have the mouse on when you use the hot key to cause the console to render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
ConEmu
  
In progress
Linked pull requests

Successfully merging a pull request may close this issue.

None yet