XFCE4 and screen resolution

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Fri Jun 12 14:20:57 UTC 2009


On Friday 12 June 2009 05:42:52 Carmel wrote:
> On Fri, 12 Jun 2009 14:40:49 +0200
>
> Polytropon <freebsd at edvax.de> wrote:
> >On Fri, 12 Jun 2009 08:27:54 -0400, Carmel <Carmel_NY at hotmail.com>
> >
> >wrote:
> >> I tried a trick I found while Googling to place 'xrandr - 1024x768 -r
> >> 85' in the '.xinitrc' file; however, that did not work either.
> >
> >Maybe your .xinitrc isn't executed? In mine, I have
> >
> >	xrandr --fb 1400x1050
> >	xrandr --size 1400x1050
> >
> >to override non-functioning X autodetect and non-working xorg.conf
> >settings.
> >
> >> Obviously I am doing something wrong here. Should I post this on the
> >> XFCE forum or does someone here have a solution.
> >
> >Do you have the same problems with other WM / DE?
>
> Evidently, it is not being executed by startxfce4. If I run the command
> once XFCE4 is started, it works.

If you're using a display manager to startup the desktop rather then 'startx' 
after console login, you need .xsession, not .xinitrc.
However, you say you execute startxfce4. When/where do you execute it? This 
program is meant to be the last command in one of the above mentioned files.
-- 
Mel


More information about the freebsd-questions mailing list