Scaling Gnome login screen on HiDPI display












5















Running Ubuntu Gnome 17.04 on Lenovo yoga 2 pro. Display is 3200x1800. My desktop scales fine, and was done automatically without any configuration when installing. My login screen however, everything is tiny. How can I scale this to match my desktop?



I've tried



sudo xhost +SI:localuser:gdm
sudo su gdm -s /bin/bash
gsettings set org.gnome.desktop.interface scaling-factor 2


and no difference. Also setting large text in universal access settings seems to have no effect.



I thought this was the correct way to change gdm interface settings? Any other ideas?










share|improve this question

























  • any more information needed please let me know!

    – jeffer son
    Apr 20 '17 at 22:25











  • Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

    – Chen Xing
    Apr 15 '18 at 2:53


















5















Running Ubuntu Gnome 17.04 on Lenovo yoga 2 pro. Display is 3200x1800. My desktop scales fine, and was done automatically without any configuration when installing. My login screen however, everything is tiny. How can I scale this to match my desktop?



I've tried



sudo xhost +SI:localuser:gdm
sudo su gdm -s /bin/bash
gsettings set org.gnome.desktop.interface scaling-factor 2


and no difference. Also setting large text in universal access settings seems to have no effect.



I thought this was the correct way to change gdm interface settings? Any other ideas?










share|improve this question

























  • any more information needed please let me know!

    – jeffer son
    Apr 20 '17 at 22:25











  • Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

    – Chen Xing
    Apr 15 '18 at 2:53
















5












5








5


4






Running Ubuntu Gnome 17.04 on Lenovo yoga 2 pro. Display is 3200x1800. My desktop scales fine, and was done automatically without any configuration when installing. My login screen however, everything is tiny. How can I scale this to match my desktop?



I've tried



sudo xhost +SI:localuser:gdm
sudo su gdm -s /bin/bash
gsettings set org.gnome.desktop.interface scaling-factor 2


and no difference. Also setting large text in universal access settings seems to have no effect.



I thought this was the correct way to change gdm interface settings? Any other ideas?










share|improve this question
















Running Ubuntu Gnome 17.04 on Lenovo yoga 2 pro. Display is 3200x1800. My desktop scales fine, and was done automatically without any configuration when installing. My login screen however, everything is tiny. How can I scale this to match my desktop?



I've tried



sudo xhost +SI:localuser:gdm
sudo su gdm -s /bin/bash
gsettings set org.gnome.desktop.interface scaling-factor 2


and no difference. Also setting large text in universal access settings seems to have no effect.



I thought this was the correct way to change gdm interface settings? Any other ideas?







gnome login gdm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 20 '17 at 7:21







jeffer son

















asked Apr 19 '17 at 22:36









jeffer sonjeffer son

12613




12613













  • any more information needed please let me know!

    – jeffer son
    Apr 20 '17 at 22:25











  • Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

    – Chen Xing
    Apr 15 '18 at 2:53





















  • any more information needed please let me know!

    – jeffer son
    Apr 20 '17 at 22:25











  • Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

    – Chen Xing
    Apr 15 '18 at 2:53



















any more information needed please let me know!

– jeffer son
Apr 20 '17 at 22:25





any more information needed please let me know!

– jeffer son
Apr 20 '17 at 22:25













Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

– Chen Xing
Apr 15 '18 at 2:53







Did the command give you an error? xhost doesn't work in Wayland, when I ran "xhost +" and then the 2 commands in X, it works for me.

– Chen Xing
Apr 15 '18 at 2:53












2 Answers
2






active

oldest

votes


















6














Was searching for a solution as well and found this:



http://askubuntu.com/questions/469515/adjust-text-scaling-factor-for-all-users



tl/dr



sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml


Change the default value to 2 (or your desired scale factor):



<key name="scaling-factor" type="u">
<default>2</default>


and then running:



sudo glib-compile-schemas /usr/share/glib-2.0/schemas


This fixed it for me. Let me know if it works for you as well.






share|improve this answer
























  • This makes me unable to login until the changes is reverted.

    – Nur
    Sep 5 '17 at 16:16











  • I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

    – flyx
    Jan 23 '18 at 14:27



















2














Persistent over upgrades approach could be to create file
/usr/share/glib-2.0/schemas/93_hidpi.gschema.override
with



[org.gnome.desktop.interface]
scaling-factor=2
text-scaling-factor=0.87


(0.87 to make fonts bit smaller, safe to omit if you don't want to)



And reinit schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas






share|improve this answer





















  • 1





    I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

    – Peter De Maeyer
    Mar 19 at 18:24













  • Yes, thank you. It is!

    – Lauri
    Mar 20 at 8:53












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f906797%2fscaling-gnome-login-screen-on-hidpi-display%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














Was searching for a solution as well and found this:



http://askubuntu.com/questions/469515/adjust-text-scaling-factor-for-all-users



tl/dr



sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml


Change the default value to 2 (or your desired scale factor):



<key name="scaling-factor" type="u">
<default>2</default>


and then running:



sudo glib-compile-schemas /usr/share/glib-2.0/schemas


This fixed it for me. Let me know if it works for you as well.






share|improve this answer
























  • This makes me unable to login until the changes is reverted.

    – Nur
    Sep 5 '17 at 16:16











  • I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

    – flyx
    Jan 23 '18 at 14:27
















6














Was searching for a solution as well and found this:



http://askubuntu.com/questions/469515/adjust-text-scaling-factor-for-all-users



tl/dr



sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml


Change the default value to 2 (or your desired scale factor):



<key name="scaling-factor" type="u">
<default>2</default>


and then running:



sudo glib-compile-schemas /usr/share/glib-2.0/schemas


This fixed it for me. Let me know if it works for you as well.






share|improve this answer
























  • This makes me unable to login until the changes is reverted.

    – Nur
    Sep 5 '17 at 16:16











  • I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

    – flyx
    Jan 23 '18 at 14:27














6












6








6







Was searching for a solution as well and found this:



http://askubuntu.com/questions/469515/adjust-text-scaling-factor-for-all-users



tl/dr



sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml


Change the default value to 2 (or your desired scale factor):



<key name="scaling-factor" type="u">
<default>2</default>


and then running:



sudo glib-compile-schemas /usr/share/glib-2.0/schemas


This fixed it for me. Let me know if it works for you as well.






share|improve this answer













Was searching for a solution as well and found this:



http://askubuntu.com/questions/469515/adjust-text-scaling-factor-for-all-users



tl/dr



sudo nano /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml


Change the default value to 2 (or your desired scale factor):



<key name="scaling-factor" type="u">
<default>2</default>


and then running:



sudo glib-compile-schemas /usr/share/glib-2.0/schemas


This fixed it for me. Let me know if it works for you as well.







share|improve this answer












share|improve this answer



share|improve this answer










answered May 7 '17 at 16:00









gilroygilroy

611




611













  • This makes me unable to login until the changes is reverted.

    – Nur
    Sep 5 '17 at 16:16











  • I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

    – flyx
    Jan 23 '18 at 14:27



















  • This makes me unable to login until the changes is reverted.

    – Nur
    Sep 5 '17 at 16:16











  • I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

    – flyx
    Jan 23 '18 at 14:27

















This makes me unable to login until the changes is reverted.

– Nur
Sep 5 '17 at 16:16





This makes me unable to login until the changes is reverted.

– Nur
Sep 5 '17 at 16:16













I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

– flyx
Jan 23 '18 at 14:27





I am using 200% scale in GNOME's display settings on my desktop. This solution for the login screen stacks with my setting, so that I do have proper text size on the login screen, but suddenly have 4 times text scaling on my desktop.

– flyx
Jan 23 '18 at 14:27













2














Persistent over upgrades approach could be to create file
/usr/share/glib-2.0/schemas/93_hidpi.gschema.override
with



[org.gnome.desktop.interface]
scaling-factor=2
text-scaling-factor=0.87


(0.87 to make fonts bit smaller, safe to omit if you don't want to)



And reinit schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas






share|improve this answer





















  • 1





    I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

    – Peter De Maeyer
    Mar 19 at 18:24













  • Yes, thank you. It is!

    – Lauri
    Mar 20 at 8:53
















2














Persistent over upgrades approach could be to create file
/usr/share/glib-2.0/schemas/93_hidpi.gschema.override
with



[org.gnome.desktop.interface]
scaling-factor=2
text-scaling-factor=0.87


(0.87 to make fonts bit smaller, safe to omit if you don't want to)



And reinit schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas






share|improve this answer





















  • 1





    I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

    – Peter De Maeyer
    Mar 19 at 18:24













  • Yes, thank you. It is!

    – Lauri
    Mar 20 at 8:53














2












2








2







Persistent over upgrades approach could be to create file
/usr/share/glib-2.0/schemas/93_hidpi.gschema.override
with



[org.gnome.desktop.interface]
scaling-factor=2
text-scaling-factor=0.87


(0.87 to make fonts bit smaller, safe to omit if you don't want to)



And reinit schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas






share|improve this answer















Persistent over upgrades approach could be to create file
/usr/share/glib-2.0/schemas/93_hidpi.gschema.override
with



[org.gnome.desktop.interface]
scaling-factor=2
text-scaling-factor=0.87


(0.87 to make fonts bit smaller, safe to omit if you don't want to)



And reinit schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 at 9:40

























answered Mar 18 at 23:01









LauriLauri

664




664








  • 1





    I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

    – Peter De Maeyer
    Mar 19 at 18:24













  • Yes, thank you. It is!

    – Lauri
    Mar 20 at 8:53














  • 1





    I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

    – Peter De Maeyer
    Mar 19 at 18:24













  • Yes, thank you. It is!

    – Lauri
    Mar 20 at 8:53








1




1





I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

– Peter De Maeyer
Mar 19 at 18:24







I suppose "persistent approach" here means that it's "persistent across upgrades", while the first approach is just "persistent until the file is overwritten again by an upgrade".

– Peter De Maeyer
Mar 19 at 18:24















Yes, thank you. It is!

– Lauri
Mar 20 at 8:53





Yes, thank you. It is!

– Lauri
Mar 20 at 8:53


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f906797%2fscaling-gnome-login-screen-on-hidpi-display%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局