Questions tagged [xrandr]

`xrandr` is a configuration utility to the RandR X Window System extension. This utility is useful for screen configuration.

xrandr is a configuration utility to the RandR X Window System extension. This utility is useful for screen configuration.

For more information, please visit this website

https://wiki.archlinux.org/index.php/xrandr

113 questions
0
votes
1 answer

convert HDMI timings modline to fbset

I have the following custom timing, I would like to convert it to fbset. There are two parameters which I cannot find horizontal sync length (in pixels and vertical sync length (in pixel lines): # hdmi_timings=
Nima
  • 13
  • 1
  • 8
0
votes
1 answer

Video mode list in Windows

How do I get a list of all available video modes in Windows? I would like to see both resolutions and refresh rates. Under Linux I would use xrandr without arguments which give me this perfect list: 1024x768 60.0 + 120.0 85.0 75.0 …
Simon
  • 497
  • 1
  • 6
  • 11
0
votes
1 answer

xrandr / arandr RRSetScreenSize and RRSetCrtcConfig errors

I'm trying to get X to use 3 external monitors from my laptop. TLDR; It works 10% of the time. arandr shows a light gray box that contains the monitors (see image). When the monitors don't all fit, I get errors. What is the light gray background…
Michael Cole
  • 15,473
  • 7
  • 79
  • 96
0
votes
1 answer

Two screen toggle xrandr

i'm trying to create a bash script which lets me toggle external screens based on which screens are connected to my laptop (I have two ports). To be honest, my expertise in bash is limited, so this could also be a logical bash mistake. I have the…
user1213904
  • 1,830
  • 4
  • 23
  • 39
0
votes
1 answer

clone with scaling using xrandr

I regularly use my notebook for teaching, with the full screen shown on the projector. With projectors getting better, I often find the projectors resolution to be higher or different than the ones offered by my LCD screen (in the past I just used…
user52366
  • 1,035
  • 1
  • 10
  • 21
0
votes
1 answer

script not running before sleep

I am trying to create a script that runs just before sleeping. Can someone tell me what I am doing wrong here? This script runs perfectly when I run the command in terminal. king@death-star /etc/pm/sleep.d $ ls total 1MB drwxr-xr-x 2 root root 1MB…
Rilcon42
  • 9,584
  • 18
  • 83
  • 167
0
votes
1 answer

Can't execute xrandr command in crontab(even with $DISPLAY arg supplied)

I have the following script(/home/vitidn/Downloads/adjust_contrast.sh) to adjust display contrast: #!/bin/sh export DISPLAY=":0" echo "adjust the display..." xrandr --display :0 --output eDP1 --prop --verbose --gamma 0.5:0.5:0.45 it works fine if…
user1560335
  • 79
  • 2
  • 11
0
votes
1 answer

Change screen resolution without monitor programmatically under Linux?

I'm writing a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution sets of the monitor using xrandr and parse…
CodyChan
  • 1,776
  • 22
  • 35
0
votes
1 answer

Add Screenresolutions to Ubuntu 14.04 automatically with xrandr

I use Ubuntu 14.04 with a Laptop and an external screen with a resolution of 1600x900. On the original installation the resolution is limited to 1024x768. So I configured a script that runs automatically on booting using xrandr: #/bin/bash xrandr…
miwalder
  • 21
  • 1
  • 4
0
votes
1 answer

Xrandr debian black screen when changing resolution

Impossible to change the resolution on wheezy to 1920x1080 I'm stuck and I'd down a bit as 1360x768. At the beginning in nvidia-settings i only had the choice to 1920x1080, after adding: Option "ModeValidation" "AllowNonEdidModes" in my xorg.conf…
Adandev
  • 98
  • 1
  • 8
0
votes
0 answers

xrandr can't find gamma on VirtualBox Ubuntu

I have a fresh install of Ubuntu 14 32-bit guest on a Windows server host. As usual, the default resolution is so small that I'm not able to see any window in its entirety. My usual procedure is: Install Guest Additions Install DKMS Install the…
Hack-R
  • 22,422
  • 14
  • 75
  • 131
0
votes
1 answer

Possible resolutions with multiple displays using Xinerama

I am trying to list all the displays with Xinerama and Xrandr. This is the code that should do it: int i, j, screenCount, sizeCount, eventBase, errorBase; char displayName[64]; DIR *dir; struct dirent *direntry; XRRScreenSize…
tversteeg
  • 4,717
  • 10
  • 42
  • 77
0
votes
1 answer

VirtualBox - Two monitors - XRandR

Thats the problem. I have two monitors... Both are configurated on VirtualBox... The VirtualBox Guest Addons are installed... I dont know whats the problem is. I hope you can help me :) The default configuration at the moment is, that the monitors…
PatrickB
  • 3,225
  • 5
  • 31
  • 55
0
votes
0 answers

GLX/X11 Changing the rendering resolution

I have made a simple application that creates a window with an OpenGL 4.2 context and takes user input. I have implemented making the window go fullscreen with XRandR and can change the display resolution. I would like to change this so that I don't…
RamblingMad
  • 5,332
  • 2
  • 24
  • 48
0
votes
2 answers

Awesome WM 3.5 seperate config files

I'm not sure if it is ok to ask about this things here so tell me if it is not :) . I have no idea where else to ask. I have problem with Awesome WM. I try to separate rc.lua into different files (because is starts to be long) and just load them in…
kotrfa
  • 1,191
  • 15
  • 22