screen resolution not saving

Jamon Camisso jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Apr 23 13:34:33 UTC 2008


Mr Chris Aitken wrote:
> Mr Chris Aitken wrote:
>> Lennart Sorensen wrote:
>>> On Mon, Apr 21, 2008 at 11:16:38AM -0400, Mr Chris Aitken wrote:
>>>  
>>>> I have to change my screen resolution every time I boot my ubuntu 
>>>> 7.10 computer.
>>>>
>>>> I get a message:
>>>>
>>>> ! User's $HOME/.dmrc file is being ignored. This prevents default 
>>>> session and language from being saved. File should be owned by user 
>>>> and have 644 permissions. User's $HOME directory must be owned by 
>>>> user and not writable by other users.
>>>>
>>>> So, I did the following:
>>>>
>>>> I ran...
>>>>
>>>> chris at bpc:~$ sudo chown chris /home/chris/.dmrc
>>>>
>>>> then I ran...
>>>>
>>>> chris at bpc:~$ chmod 644 /home/chris/.dmrc
>>>>
>>>> then I ran...
>>>>
>>>> chris at bpc:~$ sudo chown chris /home/chris
>>>>
>>>> I'm still having the same problem.
>>>>
>>>> Any next steps I can try?
>>>>     
>>>
>>> ls -ld /home/chris /home/chris/.dmrc
>>>
>>> Make sure that both are only writeable by your user (so 755 or 750 or
>>> whichever for the home directory, and 644 or 640 or whatever for the
>>> file.
> Okay, I did all you suggested:
> 
> chris at bpc:~$ chmod -R 750 /home/chris
> chris at bpc:~$ ls -ld /home/chris /home/chris
> drwxr-x--- 39 chris chris 4096 2008-04-22 21:48 /home/chris
> drwxr-x--- 39 chris chris 4096 2008-04-22 21:48 /home/chris
> chris at bpc:~$ chmod -R 644 /home/chris/.dmrc
> chris at bpc:~$ ls -ld /home/chris /home/chris/.dmrc
> drwxr-x--- 39 chris chris 4096 2008-04-22 21:48 /home/chris
> -rw-r--r--  1 chris chris   28 2008-04-22 21:48 /home/chris/.dmrc
> chris at bpc:~$
> 
> Now I'm not getting the " ! User's $HOME/.dmrc file is being ignored..." 
> error ( a good thing), but my screen resolution/frequency (that I set in 
> System > Administration > Screens and Graphics) is still not persisting 
> through logons and reboots. I had assumed that this problem and the 
> permissions problem were related. Maybe not...
> 
> Any ideas how to get my screen resolution/frequency to persist?

A friend of mine was having the same problem with the resolution on his 
24" monitor dropping down to 800x600 on each login/logout. Turns out it 
was some setting deep in gconf that was controlling it.

I have fought with gconf on other people's machines enough to seriously 
question the effectiveness of it. Compared to (what is in my mind) a 
simple .kde directory with easily edited and understood configuration 
files for each kde application, I might as well just go use Windows 
since gconf behaves in much the same way as the registry. I know that's 
not really the case, but (imo) gconf sucks pretty terribly.

Jamon
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list