Hot answers tagged

3

ImageMagick's import can take a screenshot of Xorg's root automatically and with -crop only the wanted part will be used. xrandr provides the parameter for crop. To minimize overhead, you should construct the import command once rather than querying using the display name each time you take a screenshot: mapfile -t displays < <(xrandr | grep ' ...


2

I don't know exactly how to write a default setting for xrandr when you connect an external monitor, but you can easily write a custom script and then associate it to a shortcut key, such as meta + P. Example > nano /usr/bin/custom-xrandr #!/bin/bash xrandr --output VGA1 --off --output HDMI1 --auto > chmod u+x /usr/bin/custom-xrandr Then ...


2

This thread might be old but I've just stumbled upon dual monitors and panels. Using Mint 17.2 and cinnamon. You can Modify-->copy applet configuration on your main panel, and then paste it on your secondary monitor/panel. Some of the applets cannot work on both so mint will skip them. Works like a charm right now for me.


2

I was experiencing the same issue as the OP. I did a git clone https://github.com/zoltanp/xrandr-invert-colors.git Then I installed the one dependency noted in the README, built and installed it, and it works great. Problem solved. I took a look at the source code. The bulk of the work is done with a call into the xcb library to set the gamma ramp. The ...


2

I found the answer. I updated ~/.config/monitors.xml and looked for VGA1 which is my TV and set up correct width and height (1408x792) and after a restart the configuration was applied successfully.


1

Workspaces cover all monitors. Some window managers have very flexible notions of workspaces and let you program pretty much whatever you want (Awesome, Sawfish), but even there I think you'd have to write some code to express this in terms of workspaces. What you can do in many window managers is to make a window sticky across workspaces. This means that ...


1

If Gnome doesn't have anything built in, you can write a script to do it. The following loads random wallpapers from ~/wallpapers on three monitors, assumed to be arranged left-to-right with each monitor being 1680 pixels wide. It uses xloadimage (see Multiple images on root window with ImageMagick). Adjust the monitor sizes and the wallpaper locations as ...


1

This is a known problem with xinerama (which is used for multi monitor support). The NVIDIA support page says: Using identical GPUs is recommended. Some combinations of non-identical, but similar, GPUs are supported. If a GPU is incompatible with the rest of a Xinerama desktop then no OpenGL rendering will appear on the screens driven by that GPU. ...


1

You might try the following command for your script: xrandr --output MONITORNAME --rotate right To find out your monitor name, examine the output of: xrandr | grep connected Monitor names look like LVDS (usually the internal screen), VGA-0, HDMI-0, etc. If you aren't sure which monitor is which, try one; --rotate normal will put it back the way it was ...


1

I was able to follow the steps in this post https://bbs.archlinux.org/viewtopic.php?id=191555 to create a setup on VIRTUAL1 matching my tablet resolution. Then using x11vnc -clip <appropriate resolution and offset> or x11vnc -clip xinerama<appropriate monitor number>. This only suffers from a tiny bit of lag, and the general VNC issue that I ...


1

Given the xrandr output, it seems two monitors have been recognized, eDP1 and DP1. So perhaps try telling xrandr their orientation so xrandr will stop the default mirroring behavior, by one of these commands: xrandr --output eDP1 --mode 1600x900 --right-of DP1 or if more appropriate to have DP1 to right of eDP1 instead: xrandr --output DP1 --mode ...


1

More info: xrandr --output eDP1 --mode 1366x768 --output HDMI1 --mode 1920x1080 --same-as eDP1 Then this: xrandr --output HDMI1 --pos -277x-156 seems to do EXACTLY what I want. EXCEPT only with my laptop lid left open. Closing the lid seems to reset everything :( Even lifting the laptop lid again, it doesn't remember the previous setting. I have to re-...


1

The DISPLAY environment variable can be used to reach the screens of a multi-desktop system. DISPLAY=:0.1 xfreerdp ... will probably solve your problem. 0.0 would be your first screen, 0.1 is your second.



Only top voted, non community-wiki answers of a minimum length are eligible