Hot answers tagged

8

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

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


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


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

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