Archive

Posts Tagged ‘xrandr’

fluxbox gdm flaky display resolution – update

February 18, 2012 Leave a comment

Problem:
As I had mentioned here. I was having display settings issues. As I wasn’t able to change my settings using gnome-control-center I installed arandr. With arandr I am able to change back my settings from 800×600 to 1366×768. I had added the xrandr command to my ~.fluxbox/startup file but it was failing to reset my display when the settings were changing to 2214×768.

Solution:
arandr allows you to save your chosen settings to a file. It is a xrandr command.

$less .screenlayout/desired_layout.sh
#!/bin/sh
xrandr --output DP2 --off --output DP1 --off --output TV1 --off --output HDMI1 --off --output LVDS1 --mode 1366x768 --pos 0x0 --rotate normal --output VGA1 --off

I copied this command to ~.flubox/startup file replacing the old xrandr command that I had there.

I hope that this will be the end of my troubles with wrong display settings.

Update:(2012-02-22)
Yes. It works. For some reason it boots up and detects that there is a TV connected so it adjusts the display to consider that. The new xrandr command works nicely.

Advertisements
Categories: laptop issues Tags: ,

fluxbox gdm flaky display resolution

January 28, 2012 Leave a comment

Problem:
I love fluxbox, but occassionally when booting up my laptop the display resolution changes from 1366×768 to 1024×768. Why? I do not know. (Although I think it is because of the gnome-settings-daemon version 2.30.2 that I am using that has a “bug” – Not sure. Once I get this version 3.2.2-1 I will know for sure). So I finally found a fix. xrandr.

Solution.
I added this line to my ~./fluxbox/startup file.

xrandr -s 1366x768 -r 60

Which means every time fluxbox starts up the correct resolution is set.

Source.
I got that tip from here
http://fluxbox-wiki.org/index.php?title=Change_resolution

Now the only issue I have is that I can not use gnome-control-center to change settings while using fluxbox. Hopefully the newer version of gnome-settings-daemon will sort that out.

Categories: laptop issues Tags: , ,