Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set resolution for display manager #50

Closed
jamesj2 opened this issue Feb 13, 2019 · 5 comments
Closed

Set resolution for display manager #50

jamesj2 opened this issue Feb 13, 2019 · 5 comments

Comments

@jamesj2
Copy link

jamesj2 commented Feb 13, 2019

I have a laptop with a 4k screen. The login the fonts are real small and hard to read. If I change /usr/share/sddm/scripts/Xsetup I can get a easier to read resolution. But it gets overwritten on the next boot. Would it be possible to add a xrandr command to the setup script? I''m using Manjaro with KDE5 (sddm).

#!/bin/sh
# make login on 4k screen readable
xrandr --output eDP-1-1 --mode 2048x1152
# Xsetup - run as root before the login dialog appears
exec /usr/bin/optimus-manager_Xsetup
@Askannz
Copy link
Owner

Askannz commented Feb 14, 2019

I'll look into it, but if you have the time, could you test @tgwt's pull request at #47 ? I'd be curious to know if it solves your issue.

@jamesj2
Copy link
Author

jamesj2 commented Feb 14, 2019

I tried pull request #47 but it reverted my DPI back to 75. I was using DPI 100 in the optimus-manager.conf. I have two monitors on is 4k (laptop) and the other is 3440x1440. So if I do change the DPI for one it changes for the other.

My solution was to force the laptop screen to a different resolution for the login screen after which KDE could handle the rest. Ideally one could set a hash of options that could be set per output.

@tgwt
Copy link

tgwt commented Feb 14, 2019

The driver developers set native dpi to 75 (at least nvidia). So nothing will come with my pull request. Sorry.

@tgwt
Copy link

tgwt commented Feb 14, 2019

It means that my fix is not necessary.

@Askannz
Copy link
Owner

Askannz commented May 4, 2019

Should be fixed in latest master. DPI now defaults to 96 in Nvidia mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants