Hot answers tagged

6

In Cinnamon 2.6 and later you can have additional panels in any monitor without installing additional software. Just right-click the panel, click on Modify panel ... and then on Add panel. The top and bottom edges of all monitors should get highlighted and a new panel will be set up where you click. It works perfectly. Here is a github post from when it was ...


3

One could try fiddling with negative gamma-values and brightness-values < 1 to generate a negative gamma-ramp on a specific output. xrandr --output [output] --gamma -0.5:-0.5:-0.5 --brightness 0.1 this suffices at least to me and works out of the box, but does not take into account any existing gamma-curves for an output. might be worth a shot. ...


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.


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

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


1

You can use xrandr to do this quickly and easily. xrandr can also find the resolutions for you. You can run xrandr with no flags to get a description of your current screens. For example, if you have a laptop you might have: Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y ...


1

This looks like the screens have different resolution, specifically the left one is taller and extends both higher and lower than the one on the right.xdpyinfo can verify or disprove this.


1

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


1

For those who, for whatever reason, don't want to take the hotplug route, it is still possible to not poll within a script using inotifywait: #!/bin/bash SCREEN_LEFT=DP2 SCREEN_RIGHT=eDP1 START_DELAY=5 renice +19 $$ >/dev/null sleep $START_DELAY OLD_DUAL="dummy" while [ 1 ]; do DUAL=$(cat /sys/class/drm/card0-DP-2/status) if [ "$OLD_DUAL" != ...



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