- How to reset Display and Monitor > Display Configuration > Scale Display
- 3 Answers 3
- You must log in to answer this question.
- Linked
- Related
- Hot Network Questions
- Subscribe to RSS
- How to reset monitor settings to default through terminal?
- 5 Answers 5
- Thread: How can I reset display settings back to defaults (XFCE)
- How can I reset display settings back to defaults (XFCE)
- Re: How can I reset display settings back to defaults (XFCE)
- Re: How can I reset display settings back to defaults (XFCE)
- Re: How can I reset display settings back to defaults (XFCE)
- Re: How can I reset display settings back to defaults (XFCE)
How to reset Display and Monitor > Display Configuration > Scale Display
On upgrading to 16.04 from 15.10, my font size was tiny. Somewhere I found the suggestion to go to: System Settings > Display and Monitor > Display Configuration > Scale Display And change the scale setting. I did this (changed it to 3), it change the size of the GUI but not the font, and I eventually fixed the font size by setting the DPI in the xorg.conf generated by nvidia-settings . I would now like to undo the scale display setting. But I can’t because now the GUI is so large that that part of the Display and Monitor window is off the screen. (In fact, I can only get to Display and Monitor by changing System Settings to the tree view, otherwise it’s off the screen as well.) There is a scroll bar, but it won’t scroll far enough. I though I had found the file where this is stored in, ~/.config/startupconfig , which has the line:
kdeglobals_kscreen_scalefactor=3
However, when I change the 3 to a 1, it turns back to a 3 next time I restart KDE and the problem persists. I tried running systemsettings5 using ssh to display it on another computer, but it crashes as soon as I go into the Display and Monitor part. Any idea of where this is stored or how I could reset it without losing all my other KDE settings?
3 Answers 3
In case anyone else runs into this, this is what I did (though I imagine there must be a better way): I got a spare monitor and connected it to the computer (after turning it off), along with the original monitor. (Fortunately my video card had multiple plugs.) On rebooting, I used nvidia-settings to move the new monitor’s position to below the other one. That gave enough room for all (or at least enough) of the System Settings window to be visible, so I could get to the Scale Display bit and reset it back to 1. Then I shutdown the computer and removed the extra monitor. On restart, the GUI was back to normal size and I could see all of the System Settings window.
To reset scaling settings in KDE5 I did the following:
- Removed [KScreen] section (it contained two options — ScaleFactor and ScreenScaleFactors ) from ~/.config/kdeglobals .
- Commented kdeglobals_kscreen_screenscalefactors= in ~/.config/startupconfig .
This worked for me: Start a terminal window CTRL ALT T In the terminal, type dconf reset -f / Then type exit to close the terminal window. That will get you back to your tiny fonts.
You must log in to answer this question.
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.14.43533
Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
How to reset monitor settings to default through terminal?
I have a tricky problem regarding multiple monitors on KDE (Kubuntu). I have a laptop which, at home, is connected to two monitors — VGA and HDMI. That works only when the built-in laptop display is disabled (at least I was told that). The problem is that now I took the laptop away and booted it up with no external monitors connected. The system remembers that the built-in display was disabled, so it disables it even though it is the only monitor connected. Obviously, that makes the laptop pretty much unusable. Switching to a terminal through Ctrl + Alt + F# works, I can login; even Guest works normally. The question is, how do I (re)set an account’s monitor settings through terminals, since I can’t use the GUI? Thanks
This helped when I could use the console on the second monitor, xrandr was able to set my settings. However, when i can only use the non-gui terminal, xrandr says it can’t open display, so it’s pretty useless.
I don’t know if there’s a relevant difference to KDE, but in standard ubuntu it works just fine for me (with the internal monitor switched off via the GUI, with the laptop lid closed and the laptop sitting comfortably in its docking station).
do you mean that I have to set the settings every time I use the laptop with and without external monitors? If so, that sucks. Anyway, I need to know how to do that through tty
5 Answers 5
The command xrandr -s 0 should reset your displays in terminal. More can be found at the following site or from man xrandr in terminal.
Welcome to Ask Ubuntu! While this answers the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
Yes, this works. The other answers are just too bloated, complicated or not efficient. Also might be of some value to note that if you experience a black screen (and cannot see anything), you can open your terminal with shortcut keys and blindly type «xrandr -s 0». That’s what i did 🙂
Note that in two-monitor setups, this command may deactivate the second monitor, rather than setting both monitors to their default resolution.
On my system, the command disables both external monitors, but also resets their configuration to default — which fixes the VGA DCC detection that gets broken from time to time. After which I just need to re-enable the screens and reposition them using the Displays tool. Its not ideal but its is very workable and better than my previous solution, which was to suspend and wake the computer a few times until it resets the VGA port.
Whenever I put my Lubuntu laptop to sleep when it’s exclusively displaying on my TV and wake it up after having unplugged it, I end up with a black screen because the wrong resolution is assigned. So same problem as you, I need to set the resolution from the TTY1 virtual terminal I can reach with Ctrl-alt-F1, but xrandr doesn’t seem to work. I scoured pages of Google search results before coming upon the solution, so I thought I’d share.
The key thing is that xrandr apparently only works on the currently focused display. So you have to chain a sleep command before your xrandr command to give you time to switch back to the X server with Ctlr-alt-F7 so the command is executed there. Otherwise you get an error like xrandr: Configure crtc 0 failed .
To get the names of connected screens (and assuming your X server is running on :0 ):
To modify display settings:
Substitute LVDS1 by the output you want to modify, and —auto by whatever xrandr parameters you wanna use.
- Switch to the X server with Ctrl-alt-F7 before the sleep delay you set in the command above elapses.
There HAS to be a better way to do this. But it works.
Check out this comment for a possible improvement to my solution (not tested myself).
Thread: How can I reset display settings back to defaults (XFCE)
Spilled the Beans
How can I reset display settings back to defaults (XFCE)
I’m running XUbuntu 15.04. After spending far too many hours trying to get my settings to work properly with HiDPI on my notebook (Lenovo Y50-70) and a regular 1080p external monitor I’ve given up on the effort. After setting the notebook display back to 1920×1080 my system continues to misbehave after I thought I had undone all changes I made in the HiDPI effort.
I’d like to just get all of my display settings back to their originals defaults that were defined after the first install. And then run both the notebook and external displays at 1920×1080 (the only stable setting I’ve seen so far).
Any suggestions (short of re-installing XUbuntu).
Ubuntu Member
Join Date Jul 2010 Location ozarks, Arkansas, USA Beans 14,051 —> Beans 14,051 Distro Xubuntu 22.04 Jammy Jellyfish
Re: How can I reset display settings back to defaults (XFCE)
Keep in mind that 15.04 is systemd :
In 14.04 one can revert to defaults as :
Xfce stores the display information, as defined from the Display configuration applet, in $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. Deleting that file should restore it to its defaults.
Check that these files exist in 15.04, and maybe the same procedure will be effective ?
Spilled the Beans
Re: How can I reset display settings back to defaults (XFCE)
Ubuntu Member
Join Date Jul 2010 Location ozarks, Arkansas, USA Beans 14,051 —> Beans 14,051 Distro Xubuntu 22.04 Jammy Jellyfish
Re: How can I reset display settings back to defaults (XFCE)
Again check and make sure these files exist in 15.04 as this procedure is ubuntu release 14.04 and xfce4 version 4.10 .
1. Shut down the panel first, xfce4-panel —quit
2. Kill the xfce4 configuration daemon, pkill xfconfd
3. First delete settings for the panel, rm -rf ~/.config/xfce4/panel
4. Clear out the settings for xfconfd, rm -rf ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
5. Restart the panel, run xfce4-panel. This will respawn xfconfd automatically. Note if you need or want to restart xfconfd manually know that on my installation it was in /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd which was outside of $PATH.
This clears it for the running session, regenerates the files, and sets up the default for future sessions.
Mind you once more, I do not know as I am not on 15.04 and not tested.
Xubuntu from dawn to dusk and beyond
Join Date Jul 2005 Location I think I’m here! Maybe? Beans 25,276 —> Beans Hidden! Distro Xubuntu 22.04 Jammy Jellyfish
Re: How can I reset display settings back to defaults (XFCE)
Try logging out, then at login screen use Ctrl+Alt+F1 to go to TTY command line at which you can login with your username and password, (the password will not show on screen; just type and hit Enter).
At the command line when logged in rename the ~/.config/xfce4 with command
mv .config/xfce4 .config/xfce4backup