multiple-monitors

How to extend chrome browser to dual display on fullscreen

橙三吉。 提交于 2019-12-12 04:09:06
问题 I am trying to figure out how to make the browser to cover both displays (on a dual-screen setup, with same resolution on both screens) on Fullscreen mode under MS Windows. I have checked the developer tools, but that only emulates the display. Some MS Windows utilities do offer this feature but it doesn't work for Google Chrome browser. And also its not fullscreen mode. If there isn't any chrome-extension available, can you point out if this is possible through writing a chrome-extension ?

How to deploy a JFrame in multiple monitor configuration

北慕城南 提交于 2019-12-12 01:55:25
问题 I'd like to build an app that has 2 windows. The first one should always be in the first monitor, and can't be maximized. The second one should be launched in second monitor (a perfect example is like PowerPoint's presentation mode), is running "on top" of any other applications' window, and always maximized. This window is launched using a listener given to the first window. Note that these "monitors" may be LCD projectors used in presentations, or real desktop computer monitors. I know that

Linux force application to full screen on a specific display

时光毁灭记忆、已成空白 提交于 2019-12-11 19:09:13
问题 For work, I am developing a very specialized piece of software has needs to run two full screen applications, one on each monitor. For the sake of simplicity, I am currently using LUbuntu 64 bit, with an AMD Radeon HD graphics card (can't recall the exact version currrently, but it's fairly new). I'd like to stick with SDL2 if possible, but if I need to do some hacking with that or move to a different library, I'm fairly comfortable with that. So, my question is, is it possible to have two

How to detect native screen resolution or scaling factor of the secondary monitor at Windows 10

两盒软妹~` 提交于 2019-12-11 16:55:08
问题 Have two monitors: secondary to the left from primary. Resolutions: Primary: 2560*1440 scaling 100% Secondary: 1920*1200 scaling 150% At the program start it does EnumDisplayMonitors which gives following RECTs: Primary: 0,0,2560,1440 Secondary: -1920,0,-640,800 Also I tried the code: int width, height; RECT rect = { -1920, 0, -640, 800 }; SystemParametersInfoA(SPI_SETWORKAREA, 0, &rect, 0); width = GetSystemMetrics(SM_CXSCREEN); height = GetSystemMetrics(SM_CYSCREEN); but width and height

wpf window ghosting problem when resizing over two screens

杀马特。学长 韩版系。学妹 提交于 2019-12-11 13:31:56
问题 The title pretty much describes it. If I resize my WPF app so that it stretches over two monitors in a dual monitor setup, and resize it back, there will be a ghost window in the second monitor that does nothing, but is still moved when I move the original window in the first screen. Has anyone had issues like this? I think its a refresh bug on some OSs (I use WINXP 32 bit), but would like to confirm with the community. 回答1: This is because AllowsTransparency is set to true. Haven't figured a

How to keep popup on one screen in Intellij IDEA?

余生长醉 提交于 2019-12-11 11:14:37
问题 When I type dot and press ctrl + space , I see a pop-up with list of possible methods. when I press ctrl + q i see another pop-up with javadoc for the selected method. The problem is half of the popup is on the one screen and second half is on another screen. it's unreadable. how to make the pop-up stay on one screen? ubuntu 14.04, mate, 2 monitors (extended desktop), intellij 2016.1.1 回答1: The pin is your friend! Press that pin in the top right corner to "Open as tool window"! From that

How to get a list of the desktops in applescript

删除回忆录丶 提交于 2019-12-11 07:52:08
问题 I'm trying to make an applescript that let's me change the desktop picture to a random picture in a folder on my hard drive tell application "Finder" set desktopPictures to folder "Path:To:Desktop:Pictures:" set fileList to name of every file of desktopPictures set theNum to random number from 1 to (count fileList) with seed ((time of (current date)) * 4) set fileName to item theNum of fileList set desktop picture to file fileName in desktopPictures end tell So far it works perfectly, the

When running as a windows service, how do i get the number of active monitors? C++

社会主义新天地 提交于 2019-12-11 07:51:47
问题 I have ran into an issue when retrieving the number of active monitors while the exe is running as a windows service. I have tried using EnumDisplayDevices and GetSystemMetrics(SM_CMONITROS) to get the number of monitors, these two methods woulds give me the correct number of monitors when running them as console mode (meaning initiated by the user), but when I register the exe as a service and run it through the windows service, the number of monitors that was reported turned out to be

what's the difference between the sum of a screens WorkingArea and it's Bounds

巧了我就是萌 提交于 2019-12-11 07:35:16
问题 In the .NET, what is the difference between myScreen.WorkingArea.Left + myScreen.WorkingArea.Right and myscreen.Bounds 回答1: Working Area: Gets the working area of the display. The working area is the desktop area of the display, excluding taskbars, docked windows, and docked tool bars. Bounds: Gets the bounds of the display. So, in the first instance you're working with actual space, while in the second visual space. 回答2: WorkingArea excludes Taskbar (and a few other thinds. see msdn). Bounds

window.open() on a multi-monitor/dual-monitor system - where does window pop up?

99封情书 提交于 2019-12-11 06:57:15
问题 When using javascript window.open() on a multi-monitor system, how do you control which monitor, or where in the display space the popup opens? It seems out of control to me and otherwise random in it's behavior. 回答1: Result of "window.open dual-screen" search revealed this fancy nugget: Dual Monitors and Window.open "When the user clicks on a link that opens a new window using window.open. Make the window appear on the same monitor as its' parent." // Find Left Boundry of the Screen/Monitor