Conemu: Move consoles to second monitor

Created on 22 May 2015  路  30Comments  路  Source: Maximus5/ConEmu

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?

window-position

Most helpful comment

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

All 30 comments

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.

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

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

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)

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

@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 :)

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

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.

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.

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

@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.

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

@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.

@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.

@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.

@admsteck You may try following GuiMacro

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

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.

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.

@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.

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?

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.

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

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

@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).

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.

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

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

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

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.

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

Was this page helpful?
0 / 5 - 0 ratings