Problem scaling login screen - Solved !
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Problem scaling login screen - Solved !
While desktop scaling is no problem on Mint 19.1 om my 4k monitor - Settings → General → Desktop scaling, set the UI to Double (Hi-DPI) - I've never been able find a way to scale the login screen, which means that text and icons there are minuscule. I'd be most grateful for any suggestions which would enable me to double their size....
Henri
Henri
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Problem scaling login screen
Hi, is monitor set to 96 dpi?
Code: Select all
xdpyinfo | grep resolution
For latest visit: SpaceEdge
Re: Problem scaling login screen
Thanks for your speedy response, cool ! Answer yes. Any suggestion as to where I can go from there ?...cool wrote: ⤴Fri Mar 01, 2019 2:43 pm Hi, is monitor set to 96 dpi?Code: Select all
xdpyinfo | grep resolution
Henri
Re: Problem scaling login screen
Open the Login Window app. Click Settings. Next to HiDPI support, change the setting from Auto to Enable.
Re: Problem scaling login screen
After searching fairly extensively for a solution online, I've gained the impression that the solution most probably lies in editing one of the
Henri
scripts underorg.cinnamon.desktop.~
such as/usr/share/glib-2.0/schemas
Alas, this is well beyond my pay grade ; are there any knowledgeable fellow-users here who could lend a helping hand ?.../usr/share/glib-2.0/schemas/org.cinnamon.desktop.interface.gschema.xml
Henri
Re: Problem scaling login screen
Thanks so much for your response, roblm ; that did the trick ! As we say here, allt är enkelt om man kan det (everything is easy if one knows how). Strange that this simple - and post festum, obvious - solution doesn't turn up immediately via an online search ; at least I was unable to find it....
If you don't mind, I'd like to extend my question further : it was not only the login screen, but even that which, in cases like my own, precedes it that I'd like to adjust. I usually have at least two Linux kernels installed on my Linux machines, which I generally configure so that the GRUB menu appears for a few seconds before the machine automatically loads the kernel I last used. I had hoped that scaling up the login screen would also scale up the screen on which the GRUB menu appears, but alas, this is not the case, which means that on my 4k monitor, the menu is so small as to be nearly unintelligible. Do you - or any other user here - have any suggestions as to how this menu can be scaled up ?...
Henri
Re: Problem scaling login screen
Use this command in the Terminal to open the grub file for editing:
Uncomment this line (remove the pound sign) and change the resolution to 800x600:
So it will look like this:
Update grub:
xed admin:///etc/default/grub
Uncomment this line (remove the pound sign) and change the resolution to 800x600:
#GRUB_GFXMODE=640x480
So it will look like this:
GRUB_GFXMODE=800x600
Update grub:
sudo update-grub
Re: Problem scaling login screen
Many thanks again, roblm ! This intervention made the GRUB menu legible, which was the most important thing for me....roblm wrote: ⤴Sat Mar 02, 2019 10:18 am Use this command in the Terminal to open the grub file for editing:xed admin:///etc/default/grub
Uncomment this line (remove the pound sign) and change the resolution to 800x600:
#GRUB_GFXMODE=640x480
So it will look like this:GRUB_GFXMODE=800x600
Update grub:sudo update-grub
Just out of curiousity : generally speaking I use
sudo xed /etc/default/grub
to edit this file ; in that case I only need to authenticate once. If, however, I use xed admin:///etc/default/grub
as you suggest, I have to authenticate twice in a row. Do you have any information about this matter ?...Henri
Re: Problem scaling login screen
You should never use sudo to start graphical programs like xed as root, because files from your Home directory may become owned by root. Prior to Mint 19, gksudo could be used.mhenriday wrote: Just out of curiousity : generally speaking I usesudo xed /etc/default/grub
to edit this file ; in that case I only need to authenticate once. If, however, I usexed admin:///etc/default/grub
as you suggest, I have to authenticate twice in a row. Do you have any information about this matter ?...
Or you can use this command in the Terminal, which doesn’t open a graphical interface:
sudo nano /etc/default/grub
The file
recently-used.xbel
in /.local/share
is usually owned by the user but is probably now owned by root. This may cause an error message in the future and other operation problems. To check if this has happened, use this command:ls -l ~/.local/share/recently-used.xbel
You will probably see root listed instead of your user name. Or you can go dircectly to /.local/share. That file will have a padlock on it if it is owned by root and right clicking it and selecting Properties > Permissions will list root as owner.
To change ownership back to yourself, use this command, substituting your-user-name with your actual user name:
sudo chown your-user-name ~/.local/share/recently-used.xbel
In this post, Pjotr says when using admin:// the first time in each session, the password must be used twice. I’ve found that to be true:
viewtopic.php?t=268140&start=40#p1477744
If you think that’s annoying, I was doing some testing recently where I had to input my password three times. This is one of the many reasons I’m staying with Mint 18.3 as long as possible.
Re: Problem scaling login screen
Thanks, roblm, for your detailed response. Enteringroblm wrote: ⤴Sat Mar 02, 2019 3:51 pmYou should never use sudo to start graphical programs like xed as root, because files from your Home directory may become owned by root. Prior to Mint 19, gksudo could be used.mhenriday wrote: Just out of curiousity : generally speaking I usesudo xed /etc/default/grub
to edit this file ; in that case I only need to authenticate once. If, however, I usexed admin:///etc/default/grub
as you suggest, I have to authenticate twice in a row. Do you have any information about this matter ?...
Or you can use this command in the Terminal, which doesn’t open a graphical interface:
sudo nano /etc/default/grub
The filerecently-used.xbel
in/.local/share
is usually owned by the user but is probably now owned by root. This may cause an error message in the future and other operation problems. To check if this has happened, use this command:
ls -l ~/.local/share/recently-used.xbel
You will probably see root listed instead of your user name. Or you can go dircectly to /.local/share. That file will have a padlock on it if it is owned by root and right clicking it and selecting Properties > Permissions will list root as owner.
To change ownership back to yourself, use this command, substituting your-user-name with your actual user name:
sudo chown your-user-name ~/.local/share/recently-used.xbel
In this post, Pjotr says when using admin:// the first time in each session, the password must be used twice. I’ve found that to be true:
viewtopic.php?t=268140&start=40#p1477744
If you think that’s annoying, I was doing some testing recently where I had to input my password three times. This is one of the many reasons I’m staying with Mint 18.3 as long as possible.
ls -l ~/.local/share/recently-used.xbel
informs me that I, rather than root, continue to be the owner of recently-used.xbel
I then tried to confirm via the file manager, but to my great surprise a search for /.local/share/recently-used.xbel
gave no results !... I try to stay away from nano for editing purposes, as I've never been able to successfully manipulate it to edit anything. Perhaps it's time I learned....
Henri
- Pjotr
- Level 24
- Posts: 20120
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: Problem scaling login screen - Solved !
Good hat it's solved. As you've wrongly used sudo for launching a graphical application (Xed), I advise to make sure that the permissions are correct for all files in your home directory:
Code: Select all
sudo chown -R -v $USER:$USER $HOME
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: Problem scaling login screen - Solved !
Thanks for your input, Pjotr ; I have followed your advice. When the long list of home directory files was scrolling past, I noticed that in every case the action displayed was «ägare av [the given file] bevarad som [my name: my name]» (owner confirmed as [my name: my name], so it would seem that no permissions were changed. But at least I've learned that usíng sudo with Xed is a no-no ; on the other hand, if I simply enterPjotr wrote: ⤴Sun Mar 03, 2019 5:18 am Good hat it's solved. As you've wrongly used sudo for launching a graphical application (Xed), I advise to make sure that the permissions are correct for all files in your home directory:Code: Select all
sudo chown -R -v $USER:$USER $HOME
Code: Select all
xed /etc/default/grub
Henri
- Pjotr
- Level 24
- Posts: 20120
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: Problem scaling login screen - Solved !
Code: Select all
xed admin:///etc/default/grub
You'll need to enter your password twice, at least the first time that you use
admin://
in a session.More about this:
https://easylinuxtipsproject.blogspot.c ... -root.html
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: Problem scaling login screen - Solved !
Many thanks, Pjotr, for your speedy response and not least for the Easy Tips Linux link, which I have bookmarked !...Pjotr wrote: ⤴Sun Mar 03, 2019 6:55 am(the three consecutive slashes are intentional and no mistake)Code: Select all
xed admin:///etc/default/grub
You'll need to enter your password twice, at least the first time that you useadmin://
in a session.
More about this:
https://easylinuxtipsproject.blogspot.c ... -root.html
Since posting my first enquiry here more than seven years ago, I've found this forum to be a thesaurus of tips and ideas for us Linux users without formal IT education. Many thanks, too, to all who devote a portion of their valuable time to helping their fellow users !...
Henri
Re: Problem scaling login screen
Sorry to dig this up but I was searching for a solution to a similar problem and this option didn't change anything sadly. Booting on dual screens, right one (no 4k) displays exactly a quarter, left one (4k) displays 75 percent of full screen, everything is fine when logging in.mhenriday wrote: ⤴Sat Mar 02, 2019 6:24 amThanks so much for your response, roblm ; that did the trick ! As we say here, allt är enkelt om man kan det (everything is easy if one knows how). Strange that this simple - and post festum, obvious - solution doesn't turn up immediately via an online search ; at least I was unable to find it....
If you don't mind, I'd like to extend my question further : it was not only the login screen, but even that which, in cases like my own, precedes it that I'd like to adjust. I usually have at least two Linux kernels installed on my Linux machines, which I generally configure so that the GRUB menu appears for a few seconds before the machine automatically loads the kernel I last used. I had hoped that scaling up the login screen would also scale up the screen on which the GRUB menu appears, but alas, this is not the case, which means that on my 4k monitor, the menu is so small as to be nearly unintelligible. Do you - or any other user here - have any suggestions as to how this menu can be scaled up ?...
Henri
Graphics card is GeForce GTX 1050Ti
Driver is 455
Linux Mint 20 x86_64
Any tips would be appreciated.
Re: Problem scaling login screen - Solved !
Please start a new post. You can include things from this post and/or reference it.