Page 1 of 1

<Solved>MDM login font too small!

Posted: Fri May 25, 2012 5:51 pm
by stratus_ss
I know its not a "Desktop" per say, but this seemed like the best place for this question.

OS: Linux Mint 13 x86_64
Display Manager: MDM

System Specs:
Asus G73SW
Nvidia GTX 460
12 gigs ddr 3

Desktops installed:

Gnome-shell
awsome
lxde
Cinnamon

problem: When a second monitor (or tv) is plugged in the login screen font is unreadably too small! Using the Nvidia-settings manager I note that it is set to 30X30 for the dpi

Attempted solutions:

Code: Select all

xrandr --dpi 96
inside of the /etc/mdm/Iinit/Default

Code: Select all

Option      "DPI" "96X96"
Inside of xorg.conf (this worked when I was running Mint 12 with lxde)
This actually caused X to stop working completely I had to remove these from xorg.conf

Once I am at the desktop in Cinnamon or Gnome-Shell the dpi does not effect the operation of the desktop... So its annoying but liveable... its just too bad the login font is soooooo small.

Anyone have any suggestions?

Re: MDM login font too small!

Posted: Sun May 27, 2012 2:09 pm
by avarez
Well, I was also worried about this after installing new release. And I had to change font size from theme.xml.

Go to /use/share/mdm/themes/linuxmint and you'll find a file called theme.xml. Everything assuming you are with the same theme (linuxmint).

Code: Select all

<!-- username/password label & entry container -->
                <item type="rect">
                        <pos anchor="n" x="38%" y="340" height="box" width="box"/>
                        <normal color="#FFFFFF" alpha="0.3"/>
                        <box orientation="horizontal" spacing="10">
                                <!-- username/password label -->
                                <item type="label" id="pam-prompt">
                                        <pos anchor="n" x="56%" y="10%" />
                                        <stock type="username-label"/>
                                        <normal color="#525252" font="Sans 9"/>
                                </item>
                                <!-- username/password entry -->
                                <item type="entry" id="user-pw-entry">
                                        <normal color="#525252" font="Sans 9"/>
                                        <pos width="120" height="20"/>
                                </item>
                        </box>
                </item>
And I changed font size as you can see next:

Code: Select all

<!-- username/password label & entry container -->
                <item type="rect">
                        <pos anchor="n" x="38%" y="340" height="box" width="box"/>
                        <normal color="#FFFFFF" alpha="0.3"/>                
                        <box orientation="horizontal" spacing="10">
                                <!-- username/password label -->
                                <item type="label" id="pam-prompt">
                                        <pos anchor="n" x="56%" y="10%" />
                                        <stock type="username-label"/>
                                        <normal color="#525252" font="Sans 10"/>
                                </item>
                                <!-- username/password entry -->
                                <item type="entry" id="user-pw-entry">
                                        <normal color="#525252" font="Sans 18"/>
                                        <pos width="120" height="20"/>
                                </item>
                        </box>
                </item>
Now It's ok for me, you can try other font size values.

Re: MDM login font too small!

Posted: Sun May 27, 2012 5:00 pm
by stratus_ss
Thanks I will try this later and mark as solved if it works

Re: <Solved>MDM login font too small!

Posted: Thu May 31, 2012 3:56 pm
by stratus_ss
That worked for me thanks!