XFCE4 and screen resolution

2009-06-12 Thread Carmel
I just installed XFCE4 on a fresh FreeBSD-7.2 installation. It works
fine except that I cannot get the screen resolution to stay set after I
exit the program.

The default is: 1792x1144 @ 60 

I set it to: 1024x768 @ 85

Everything works fine until I shutdown the program. When I restart it,
it reverts to the default setting. I have 'save session' set to on.

I tried a trick I found while Googling to place 'xrandr - 1024x768 -r
85' in the '.xinitrc' file; however, that did not work either.

Obviously I am doing something wrong here. Should I post this on the
XFCE forum or does someone here have a solution.

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: XFCE4 and screen resolution

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@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?


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: XFCE4 and screen resolution

2009-06-12 Thread Carmel
On Fri, 12 Jun 2009 14:40:49 +0200
Polytropon free...@edvax.de wrote:

On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@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.

-- 
Carmel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: XFCE4 and screen resolution

2009-06-12 Thread Mel Flynn
On Friday 12 June 2009 05:42:52 Carmel wrote:
 On Fri, 12 Jun 2009 14:40:49 +0200

 Polytropon free...@edvax.de wrote:
 On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: XFCE4 and screen resolution

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 09:42:52 -0400, Carmel carmel...@hotmail.com wrote:
 Evidently, it is not being executed by startxfce4. If I run the command
 once XFCE4 is started, it works.

Of course. ..-)

What is startxfce4? Do you call it from text mode? Or is it
a command in .xinitrc or .xsession?

Because my primary dialog shell is csh, I have these:

.xsession:

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

It incorporates the settings from .cshrc and then continues
as .xinitrc.

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xrandr --fb 1400x1050
xrandr --size 1400x1050
exec startxfce4

(The last line is assumed; I have start wmaker there.)

Make sure both files are +x.




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org