Page 1 of 1

Does anyone know how to fix this?

PostPosted: Wed Apr 30, 2008 11:42 pm
by jmos
I recently installed Ultimate Editon on a Toshiba Satellite laptop that has a resolution of 1280 x 800. When I login, the text is always bigger than it should be. The titlebar of my theme is also displayed larger than it should be but only occasionally, not all the time like the login window.

I have attached screenshots to illustrate what is going on. I do not know which file controls these settings. If you know, I would appreciate it if you shared your knowledge. Thanks a lot in advance.

jmos

Re: Does anyone know how to fix this?

PostPosted: Thu May 01, 2008 1:27 am
by cowboy
Well first welcome to Ultimate Edition..have you installed the Restricted Drivers yet?..What are you running in the Lap..Nvidia or ATI...?
To set your resolution...System>Preference>Screen Resolution...
To me it looks like you are running 800x600..or less. :?:

Re: Does anyone know how to fix this?

PostPosted: Sun May 04, 2008 3:06 am
by jmos
The laptop I have has an onboard video card. The following lines are from the output I get after issuing the lspci command:

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03
)

I checked the screen resolution settings before I did anything else. The display is set to 1280 x 800. I have attached a screen shot my screen resolution preferences
As far as restricted drivers go, the only driver that shows up is the driver for my wireless connection. I attached a screen shot from the restricted drivers manager as well. The onboard video card is not a Nvidia or an ATI card but it is capable of running compiz with no complications.

My screen resolution is 1280 x 800 at all times except the rare occasion when the titlebar is displayed too large and during the login screen. The screenshots in the first post were resized using Gimp to be friendly for people with a lower screen resolution.

When the titlebar is displayed too large a reboot will resolve the issue but a logout and log back in does not fix anything.
The login window is alays displayed incorrectly however. This caused me to believe that the resolution here is controlled by a method other than setting the screen resolution preferences. I went to System>Administration>Login Window but I did not see anything there to change the resolution. After trying that, I opened the xml file of my gdm theme to see if I could find anything there. The following lines from the xml file contain the only things that I thought may be able to help.

<!-- username-label -->
−
<item type="label" id="pam-prompt">
<pos x="5" y="50%" width="100%" height="box" anchor="w"/>
<normal color="#ffffff" font="Bitstream Vera Sans Bold 10"/>
<stock type="username-label"/>
</item>
<!-- user-pw-entry -->
−
<item type="entry" id="user-pw-entry">
<pos x="5" y="50%" width="300" height="20" anchor="w"/>
<normal font="Bitstream Vera Sans 10"/>
</item>
</box>
</item>
−
<item type="rect">
<pos x="0" y="55" width="100%" height="60" anchor="nw"/>


The font for both is set to 10 which is not very big. I tried changing the font size to see if that would help but it did not fix the problem I am having.

The gdm theme I am using was created with the gdm maker found here:
http://www.forumubuntusoftware.info/vie ... 6e88#p3158

I do not know if this extra info will be useful, but it is all I could come up with.

jmos

Re: Does anyone know how to fix this?

PostPosted: Sun May 04, 2008 5:48 pm
by tranz
JMOS Welcome to the forum! :)
This caused me to believe that the resolution here is controlled by a method other than setting the screen resolution preferences.

I am not absolutely sure on this but I think the "controlled by another method" is your GDM settings. You say that you used GDM Maker to make a new theme (which by the way, from your screenshots, is a VERY ATTRACTIVE theme! :!: IMHO). Have you tried switching back to the 'original' theme to see if the issue clears up? I realize you would like to utilize the Theme you created but for troubleshooting purposes, this could narrow the culprit down to the GDM settings.
For a little further reading on GDM try this link http://www.gnome.org/projects/gdm/docs/2.18/gdm-info.html It contains about everything there is to know on the subject of GDM! Post back the results or what you have tried and I'm sure one of us can help!

Re: Does anyone know how to fix this?

PostPosted: Sun May 04, 2008 11:06 pm
by jmos
The theme I made is the same as the original Ultimate theme. I just changed the colors of the dragon and the login box and then made it into a gdm theme with gdm maker. I am attaching a photo of the original gdm theme showing that the oversized text is present there as well. If there are no other settings to control this, it may just be an incompatibility with my laptop.

The resolution of my desktop computer is 1024 x 768 and both gdm themes work fine on it. The desktop never displays the titlebar incorrectly either.

Re: Does anyone know how to fix this?

PostPosted: Mon May 05, 2008 1:29 am
by tranz
Alright...
Like I mentioned before, "I THINK" your problem is in GDM.. So I took a look and I believe your solution maybe found in gdm.conf...

The following advice is to be used at YOUR OWN RISK! I don't own your laptop, I don't know your computer, and I am not a Linux tech of any sort... Just a guy on the forum! ;)

Read the whole post before you start. (always a good idea when using this or any other forum)
Code: Select all
sudo gedit /etc/gdm/gdm.conf


Look for the following info:

[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0
flexible=true
# Indicates that the X server should be started at a different process
# priority. Values can be any integer value accepted by the setpriority C
# library function (normally between -20 and 20) with 0 being the default. For
# highly interactive applications, -5 yields good responsiveness. The default
# value is 0 and the setpriority function is not called if the value is 0.

An easy way to do it is to go to the search>find on the top bar of your editor.

Once you have found server-standard
in the part that says command=/usr/bin/X-br -audit 0
Change this to read command=/usr/bin/X -br -audit 0 -dpi 96

your adding -dpi 96 to the end of the line.

just to be redundant the section should now look like this:

[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0 -dpi 96
flexible=true
# Indicates that the X server should be started at a different process
# priority. Values can be any integer value accepted by the setpriority C
# library function (normally between -20 and 20) with 0 being the default. For
# highly interactive applications, -5 yields good responsiveness. The default
# value is 0 and the setpriority function is not called if the value is 0.


OH YEAH... It's dumb i know, but ya never know. Hit save and look at the bottom left of the editor and wait until it is done saving before closing it up! (It's dumb I know cause i've closed it before it was done saving! nearly lost everything... like I said I aint a lInux tech.. I learn from the expieriences! ;) )

restart your computer and hopefuly this will have done the trick....

Re: Does anyone know how to fix this?

PostPosted: Tue May 06, 2008 11:54 am
by jmos
Thanks, that fixed my login screen. I really appreciate the help.

Re: Does anyone know how to fix this?

PostPosted: Wed May 07, 2008 7:28 pm
by DaddyX3
Good Job Tranz! <BREW>