Hot answers tagged xrandr
19
Modify /etc/lightdm/lightdm.conf to add the following options:
display-setup-script > calls your mycustomloginvideo.sh before the login screen appears
session-setup-script > calls your mycustomdesktopvideo.sh before the user desktop session starts
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
# for your login screen, e.g. LightDM ...
14
Native resolution for Samsung SyncMaster B2030 is 1600 * 600 60 Hz
Generate the modeline using cvt:
cvt 1600 900 60
which will be:
# 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
Get the name of the output to which your display is connected:
...
6
The new version of gnome-settings-daemon stores its configuration information in dconf rather than gconf.
To do the equivalent of what you were doing on 11.04, try the following:
Install the dconf-tools package, and then run dconf-editor.
In the tree on the left, navigate org -> gnome -> settings-daemon -> plugins -> xrandr.
Uncheck the active checkbox.
6
I think you can add the display modes to /etc/X11/xorg.conf.
If you don't have a xorg.conf, then you can use the following as a basis. You need to replace the entries with the names Modeline, Driver and Modes with the correct entries for your system. Depending on your hardware, you may need additional entries, for example if your system has more than one ...
5
alt+f2
gksu xkill
you click on the window you want to close.
Also you could try with terminal
lets say banshee is stuck when you tried to listen an online radio station..
sudo ps -A|grep bans
10304 bla bla bla
^ the result of the command
sudo kill 10304
you could try sudo kill -s kill 10304.
a more easy way
gksu gnome-system-monitor
this is ...
5
I managed this little basic script below that answers my question. Now, whether the external monitor is connected or not, Lightdm uses the right resolutions at the greeter stage. Nevertheless, this same script needs to be modified to be generic, in a way that the user wouldn't need to specify manually resolutions of its laptop and monitor screens.
(Parse ...
5
Issue xrandr on the console will show you the names of different outputs available on your system (LVDS, VGA-0, etc.) and resolutions available on each:
If you see the desired resolutions available for the output that you want (tv screen), set it via xrandr --output <output> --mode <mode> (example: xrandr --output LVDS --mode 1360x768)
If your ...
4
.bashrc (as it name may suggest) is only executed on startup of a bash shell.
You have to edit ~/.profile to apply changes to your graphical session. Note that this file is intended for setting environment variables and such. You'd better create a startup script to accomplish this task.
4
Thanks to Geppetvs for his suggestion, but I have one that is up and running and working very well.
I have a Sapphire HD6770 fleX Edition card.
I believe any of the ATI "Eyefinity" cards would work. Most of them require a DisplayPort monitor to support 3 displays, or a DP->DVI adapter. The Sapphire fleX cards can work with 2xDVI + 1xHDMI (which can be ...
4
I was trying to change the default resolution of LXDE on Ubuntu (LXDE is also used in Lubuntu) and I found a solution for this problem. I also have Lubuntu installed and I've checked that this file actually exists which it does (Ijust tried this fix as well and it worked).
So, the fix....
Open up a terminal, press ctrl+alt+t
I'm guessing you have a ...
4
This is still an issue as of Ubuntu 12.10 released October 18, 2012. A bug fix for this seemed to be in the works so that at least there is an easier way to re-configure the key bindings, but it has since been marked invalid because this was supposedly fixed in gnome-settings-daemon.
Ultimately this problem is supposedly due to some hardware vendors ...
4
Ok, just solved it. I typed in the terminal:
xrandr --output VGA1 --mode 1280x1024 --rotate normal
If you have the same kind of problem, you have to change "VGA1" with the right output (just type xrandr in the terminal to have a list of your your video outputs) and "1280x1024" with the resolution you want.
3
I found that problem with ATI video drivers, with deactivated driver all works.
Use
xrandr --verbose
to determine your ctrtc number? And try correct output syntax, e.g.:
xrandr --crtc CRT1 --output CRT1 --brightness 0.7
other outputs:
the Intel driver uses LVDS, VGA, TMDS-1 (TMDS-2, ...), TV
the ATI driver uses LVDS, VGA-0 (VGA-1, ...), DVI-0 ...
3
First list your monitors and resolutions:
xrandr -q
Take note of your monitors names, example (I truncated the output so as to not list all the resolutions)
bodhi@zenix:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 4096 x 4096
DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 520mm x 320mm
1920×1200 ...
3
Let me answer my own question; the answer is bizarrely involved. The trick is that the desired desktop behavior (which held in 10.04) is now (in 11.04) controlled by Compiz, which has a notion of "outputs": that is, screens to draw on. These are configured in the CompizConfig Settings Manager (package compizconfig-backend-gconf or -kconfig), in the ...
3
First, you should try to change the resolution using System->Preferences->Monitors, and then reboot. It's likely that it's stored somewhere and it will be restored it at login.
If it doesn't work you can add the xrand command to the items in System->Preferences->Start up Applications.
You will only need to add the last line:
xrandr --output VGA1 --mode ...
3
Laying them out left-to-right is not the xrandr default, but the gnome-settings-daemon default. From gnome-settings-daemon 2.32 onwards, the last configuration should just be loaded from monitors.xml; so if you've done the vertical layout once, then next time it would automatically pick that up without kicking out Compiz.
So are you running 10.04 Lucid by ...
3
The nvidia binary drivers do not support XRandR 1.2, and so the xrandr tool is very limited when working with the nvidia binary. You can pretty much only query the list of available modes and set one, not add new modes.
So the failure of the xrandr tool is entirely expected.
Secondly, the nvidia binary driver abuses the reported refresh rate to work ...
3
I have been trying to solve a similar problem for a while now and found a solution that works for me so hopefully it will help...
I have an old aspire one AOA110 that I have broken the screen on too many times and after buying a new laptop decided that I would try to turn it into a HTPC but the external display I have is not recognised by X so I have had to ...
2
I've had a similar problem with my laptop as above, and I wanted to add something to the conversation. If you don't care about the login resolution (I don't), but want the actual workspace to be the right resolution, you can add your monitor information to LightDM but not turn on full resolution until you login.
I just added the following script for my ...
2
As an enhancement for Jon Roberts answer, let me specify that arandr does not include in its sh script generation all parameters working in the current session. Primary monitor (in case you are using a dual monitor configuration), refresh rate and gamma settings for each monitor are not included, for example. My session script looks like that:
#!/bin/sh
...
2
Some one posted another workaround although I must say It didn't work for me probably could work for you, in my case it breaks down unity, can only move my mouse cursor around and the app indicator top panel looks empty, but after unplugging my LCD I was able to delete the added lines and everything went back to normal.
edit the file ...
2
The simple answer is that with the current state of X hotplug, you can't. If you're sufficiently motivated, my (extremely limited) understanding of the stack of work to do is as follows:
1) Test/verify XRandR support in xserver-xorg-video-displaylink
2) Add a udev rule that calls a hotplug activation script
3) Have the activation script initialise the ...
2
It isn't enough to list the resolutions in the Screen section of xorg.conf. If the monitor doesn't advertise that mode, then it will ignore the mode.
Looking at the log file, you can see the mode that the video driver has queried the display for the list of modes that it supports, which match up with the output of xrandr (ignoring the doublescan modes that ...
2
My best guess here is that the position of the right screen is causing the problems. you could try modifying the ServerLayout section like this:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "DisplayLinkScreen" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
...
2
There is a not very satisfying solution I found that blinks for .1 sec.
sh -c 'redshift -o -t 1600:1500 -l 53:15&' ;sleep .1; redshift -l 53:15 -x
But it would be nicer if it would phase in from red to normal like it normally does using redshift.
Edit: Well well, this'll have to do for now I guess.
2
$ xrandr --auto
From xrandr man page:
--auto: For connected but disabled outputs, this will enable them using their preferred mode (or, something close to 96dpi if they have no preferred mode). For disconnected but enabled outputs, this will disable them.
2
Using 2 GPU's can be as expensive as a hardware related solution and for high demanding tasks such as working with more than 2 monitors it would be a better idea considering a solution like the Matrox TripleHead2Go
Which seems to be plug-and-play and the windows/mac compatible software is mentioned for special arrangement/management of your video ...
2
I Also have a Netbook with a native 1024x600 resolution which is too small sometimes.
I struggled hard with xrandr and searched a lot in www and so on.
Finally, I got a Solution which works for my EeePc.
I Use a trick: I configure a not-connected VGA-Output, that helped increase the resolution
without the mouse been catched.
This Example shows a scaling by ...
2
I got this working. It is very difficult if you don't know a lot about xorg.conf files. Here is my setup: 2 nvidia cards. The main one has 4 outputs, but only 2 may be used in Linux at any time (kernel limitation apparently). The second one has 3 outputs, but I only use one. To make the three screens that I am using work, I must define all 7 outputs in ...
Only top voted, non community-wiki answers of a minimum length are eligible
