You are not logged in.

#1 2016-12-28 21:35:19

mailme45
Member
Registered: 2015-09-15
Posts: 14

How to specify sddm-greeter resolution?

Using Intel graphics, with a native resolution of 1920x1080.

As you can see from journalctl, sddm-greeter is using a resolution that is much smaller.

-- The start-up result is done.
Dec 28 15:07:24 archer sddm-greeter[1692]: Adding view for "eDP1" QRect(0,0 960x540)
Dec 28 15:07:24 archer sddm-greeter[1692]: Message received from daemon: Capabilities
Dec 28 15:07:24 archer sddm-greeter[1692]: Message received from daemon: HostName
Dec 28 15:07:26 archer NetworkManager[742]: <info>  [1482959246.4686] device (wlp2s0): supplicant interface state: r
Dec 28 15:07:30 archer sddm-greeter[1692]: Reading from "/usr/share/xsessions/herbstluftwm.desktop"
Dec 28 15:07:30 archer sddm[1410]: Message received from greeter: Login
Dec 28 15:07:30 archer sddm[1410]: Reading from "/usr/share/xsessions/herbstluftwm.desktop"
Dec 28 15:07:30 archer sddm[1410]: Reading from "/usr/share/xsessions/herbstluftwm.desktop"
Dec 28 15:07:30 archer sddm[1410]: Session "/usr/share/xsessions/herbstluftwm.desktop" selected, command: "herbstluf
Dec 28 15:07:30 archer sddm-helper[1700]: [PAM] Starting...
Dec 28 15:07:30 archer sddm-helper[1700]: [PAM] Authenticating...
Dec 28 15:07:30 archer sddm-helper[1700]: [PAM] Preparing to converse...
Dec 28 15:07:30 archer sddm-helper[1700]: [PAM] Conversation with 1 messages
Dec 28 15:07:30 archer sddm-helper[1700]: [PAM] returning.
Dec 28 15:07:30 archer sddm[1410]: Authenticated successfully
Dec 28 15:07:30 archer sddm-greeter[1692]: Message received from daemon: LoginSucceeded
Dec 28 15:07:30 archer sddm-helper[1700]: pam_unix(sddm:session): session opened for user daniel by (uid=0)

Here's what I've done so far:
1. Set custom dpi (96) in /etc/sddm.conf

[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session
Session=

# Username for autologin session
User=


[General]
# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Input method module
InputMethod=

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=none

# Reboot command
RebootCommand=/usr/bin/systemctl reboot


[Theme]
# Current theme name
Current=maldives

# Cursor theme used in the greeter
CursorTheme=Breeze_Amber

# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars
DisableAvatarsThreshold=7

# Enable display of custom user avatars
EnableAvatars=true

# Global directory for user avatars
# The files should be named <username>.face.icon
FacesDir=/usr/share/sddm/faces

# Theme directory path
ThemeDir=/usr/share/sddm/themes


[Users]
# Default $PATH for logged in users
DefaultPath=/bin:/usr/bin:/usr/local/bin

# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=

# Comma-separated list of users that should not be listed
HideUsers=

# Maximum user id for displayed users
MaximumUid=60000

# Minimum user id for displayed users
MinimumUid=1000

# Remember the session of the last successfully logged in user
RememberLastSession=true

# Remember the last successfully logged in user
RememberLastUser=true


[Wayland]
# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session

# Directory containing available Wayland sessions
SessionDir=/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log


[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# The lowest virtual terminal number that will be used.
MinimumVT=1

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp -dpi 96

# Path to X server binary
ServerPath=/usr/bin/X

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Directory containing available X sessions
SessionDir=/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to the Xauthority file
UserAuthFile=.Xauthority

# Path to xauth binary
XauthPath=/usr/bin/xauth

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr

2. Set custom mode in /usr/share/sddm/scripts/Xsetup

xrandr --output eDPI-0 --mode 1920x1080 --rate 59.93

Offline

Board footer

Powered by FluxBB