On Sun, 29 Jun 2014 15:35:37 -0400 Steve Litt <sl...@troubleshooters.com> wrote:
> Hi all, > > My old box with Xubuntu, running the dwm window manager via lightdm, > got the right resolution when X started. My new box, with Debian, > running dwm via startx, starts with a resolution of 1980x1200 instead > of 1920x1080, resulting in either the top or the bottom of every > window going offscreen. [clip] > > Anyone have any ideas? I made shellscript /d/bats/xraa looking like the following: =================================================== #!/bin/bash sudo xrandr --output default --mode 1920x1080 =================================================== Obviously, I modified sudoers to let user slitt run xrandr as root without a password. Then I added /d/bats/xraa to my .xinitrc as follows: =================================================== /d/bats/xraa exec /home/slitt/dwm-6.0/dwm =================================================== Now X always comes up as 1920x1080. Crude, but effective. SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140629161130.0107e...@mydesq2.domain.cxm