Update: Added support for user's full name (GECOS) and removed AllowUppercaseLettersInUsernames option in config, fixed many typos.

This commit is contained in:
Keyitdev
2026-07-06 17:50:44 +02:00
parent 17a4461b6c
commit 292c87b770
19 changed files with 201 additions and 136 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Column {
id: dateLabel
anchors.horizontalCenter: parent.horizontalCenter
color: config.DateTextColor
font.pointSize: root.font.pointSize * 2
font.bold: true
+75 -30
View File
@@ -9,12 +9,37 @@ import QtQuick.Controls 2.15
Column {
id: inputContainer
Layout.fillWidth: true
property ComboBox exposeSession: sessionSelect.exposeSession
property bool failed
function triggerLogin() {
var typedUser = username.text
var targetUser = typedUser
if (config.UseRealName == "true") {
for (var i = 0; i < userRegistry.list.length; i++) {
var u = userRegistry.list[i]
if (typedUser === u.realName || typedUser === u.name) {
targetUser = u.name
break
}
}
} else {
for (var j = 0; j < userRegistry.list.length; j++) {
var u2 = userRegistry.list[j]
if (typedUser === u2.name) {
targetUser = u2.name
break
}
}
}
sddm.login(targetUser, password.text, sessionSelect.selectedSession)
}
Item {
id: errorMessageField
@@ -28,13 +53,13 @@ Column {
width: parent.width
horizontalAlignment: Text.AlignHCenter
text: failed ? config.TranslateLoginFailedWarning || textConstants.loginFailed + "!" : keyboard.capsLock ? config.TranslateCapslockWarning || textConstants.capslockWarning : null
font.pointSize: root.font.pointSize * 0.8
font.italic: true
color: config.WarningColor
opacity: 0
states: [
State {
name: "fail"
@@ -81,10 +106,13 @@ Column {
model: userModel
currentIndex: model.lastIndex
textRole: "name"
textRole: config.UseRealName == "true" ? "realName" : "name"
valueRole: "name"
hoverEnabled: true
displayText: config.UseRealName == "true" ? (currentText ? currentText : currentValue) : currentText
onActivated: {
username.text = currentText
username.text = displayText
}
property var popkey: config.RightToLeftLayout == "true" ? Qt.Key_Right : Qt.Key_Left
@@ -101,18 +129,18 @@ Column {
// minus padding
width: popupHandler.width - 20
anchors.horizontalCenter: popupHandler.horizontalCenter
contentItem: Text {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: model.name
text: config.UseRealName == "true" ? (model.realName || model.name) : model.name
font.pointSize: root.font.pointSize * 0.8
font.capitalization: Font.AllLowercase
font.capitalization: Font.MixedCase
font.family: root.font.family
color: config.DropdownTextColor
}
background: Rectangle {
color: selectUser.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
}
@@ -120,19 +148,19 @@ Column {
indicator: Button {
id: usernameIcon
width: selectUser.height * 1
height: parent.height
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: selectUser.height * 0
icon.height: parent.height * 0.25
icon.width: parent.height * 0.25
enabled: false
icon.color: config.UserIconColor
icon.source: Qt.resolvedUrl("../Assets/User.svg")
background: Rectangle {
color: "transparent"
border.color: "transparent"
@@ -156,7 +184,7 @@ Column {
contentItem: ListView {
implicitHeight: contentHeight + 20
clip: true
model: selectUser.popup.visible ? selectUser.delegateModel : null
currentIndex: selectUser.highlightedIndex
@@ -220,15 +248,15 @@ Column {
horizontalAlignment: TextInput.AlignHCenter
z: 1
text: config.ForceLastUser == "true" ? selectUser.currentText : null
text: config.ForceLastUser == "true" ? selectUser.displayText : null
color: config.LoginFieldTextColor
font.bold: true
font.capitalization: config.AllowUppercaseLettersInUsernames == "false" ? Font.AllLowercase : Font.MixedCase
font.capitalization: Font.MixedCase
placeholderText: config.TranslatePlaceholderUsername || textConstants.userName
placeholderTextColor: config.PlaceholderTextColor
selectByMouse: true
renderType: Text.QtRendering
onFocusChanged:{
if(focus)
selectAll()
@@ -241,8 +269,8 @@ Column {
border.width: parent.activeFocus ? 2 : 1
radius: config.RoundCorners || 0
}
onAccepted: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
onAccepted: triggerLogin()
KeyNavigation.down: passwordIcon
states: [
@@ -261,24 +289,24 @@ Column {
]
}
}
Item {
id: passwordField
height: root.font.pointSize * 4.5
width: parent.width / 2
anchors.horizontalCenter: parent.horizontalCenter
Button {
id: passwordIcon
height: parent.height
width: selectUser.height * 1
anchors.left: parent.left
anchors.leftMargin: selectUser.height * 0
anchors.verticalCenter: parent.verticalCenter
z: 2
icon.height: parent.height * 0.25
icon.width: parent.height * 0.25
icon.color: config.PasswordIconColor
@@ -350,7 +378,7 @@ Column {
width: parent.width
anchors.centerIn: parent
horizontalAlignment: TextInput.AlignHCenter
font.bold: true
color: config.PasswordFieldTextColor
focus: config.PasswordFocus == "true" ? true : false
@@ -361,7 +389,7 @@ Column {
passwordMaskDelay: config.HideCompletePassword == "true" ? undefined : 1000
renderType: Text.QtRendering
selectByMouse: true
background: Rectangle {
color: config.PasswordFieldBackgroundColor
opacity: 0.2
@@ -369,7 +397,7 @@ Column {
border.width: parent.activeFocus ? 2 : 1
radius: config.RoundCorners || 0
}
onAccepted: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
onAccepted: triggerLogin()
KeyNavigation.down: loginButton
}
@@ -394,7 +422,7 @@ Column {
duration: 150
}
}
]
]
}
Item {
@@ -407,7 +435,7 @@ Column {
anchors.horizontalCenter: parent.horizontalCenter
visible: config.HideLoginButton == "true" ? false : true
Button {
id: loginButton
@@ -415,7 +443,7 @@ Column {
implicitWidth: parent.width
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
text: config.TranslateLogin || textConstants.login
enabled: config.AllowEmptyPassword == "true" || username.text != "" && password.text != "" ? true : false
hoverEnabled: true
@@ -502,14 +530,31 @@ Column {
}
]
onClicked: config.AllowUppercaseLettersInUsernames == "false" ? sddm.login(username.text.toLowerCase(), password.text, sessionSelect.selectedSession) : sddm.login(username.text, password.text, sessionSelect.selectedSession)
onClicked: triggerLogin()
Keys.onReturnPressed: clicked()
Keys.onEnterPressed: clicked()
KeyNavigation.down: config.HideSystemButtons == "true" ? virtualKeyboard : systemButtons.children[0]
}
}
Item {
id: userRegistry
visible: false
property var list: []
Repeater {
model: userModel
Item {
Component.onCompleted: {
var currentList = userRegistry.list
currentList.push({ "name": model.name, "realName": model.realName || "" })
userRegistry.list = currentList
}
}
}
}
Connections {
target: sddm
function onLoginSucceeded() {}
+2 -2
View File
@@ -39,10 +39,10 @@ ColumnLayout {
Layout.preferredHeight: root.height / 5
Layout.maximumHeight: root.height / 5
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
exposedSession: input.exposeSession
}
SessionButton {
id: sessionSelect
+5 -5
View File
@@ -11,7 +11,7 @@ Item {
height: root.font.pointSize
width: parent.width / 2
property var selectedSession: selectSession.currentIndex
property string textConstantSession
property int loginButtonWidth
@@ -29,7 +29,7 @@ Item {
model: sessionModel
currentIndex: model.lastIndex
textRole: "name"
Keys.onPressed: function(event) {
if ((event.key == Qt.Key_Left || event.key == Qt.Key_Right) && !popup.opened) {
popup.open();
@@ -40,7 +40,7 @@ Item {
// minus padding
width: popupHandler.width - 20
anchors.horizontalCenter: popupHandler.horizontalCenter
contentItem: Text {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
@@ -50,7 +50,7 @@ Item {
font.family: root.font.family
color: config.DropdownTextColor
}
background: Rectangle {
color: selectSession.highlightedIndex === index ? config.DropdownSelectedBackgroundColor : "transparent"
}
@@ -64,7 +64,7 @@ Item {
id: displayedItem
verticalAlignment: Text.AlignVCenter
text: (config.TranslateSessionSelection || "Session") + " (" + selectSession.currentText + ")"
color: config.SessionButtonTextColor
font.pointSize: root.font.pointSize * 0.8
+4 -4
View File
@@ -20,7 +20,7 @@ RowLayout {
Repeater {
id: systemButtons
model: [shutdown, reboot, suspend, hibernate]
RoundButton {
@@ -37,7 +37,7 @@ RowLayout {
display: AbstractButton.TextUnderIcon
visible: config.HideSystemButtons != "true" && (config.BypassSystemButtonsChecks == "true" ? 1 : modelData[2])
hoverEnabled: true
background: Rectangle {
height: 2
width: parent.width
@@ -51,7 +51,7 @@ RowLayout {
index == 0 ? sddm.powerOff() : index == 1 ? sddm.reboot() : index == 2 ? sddm.suspend() : sddm.hibernate()
}
KeyNavigation.left: index > 0 ? parent.children[index-1] : null
states: [
State {
name: "pressed"
@@ -94,4 +94,4 @@ RowLayout {
}
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ import QtQuick.VirtualKeyboard 2.3
InputPanel {
id: virtualKeyboard
property bool activated: false
active: activated && Qt.inputMethod.visible
visible: active
+2 -2
View File
@@ -15,7 +15,7 @@ Item {
visible: virtualKeyboard.status == Loader.Ready && config.HideVirtualKeyboard == "false"
checkable: true
onClicked: virtualKeyboard.switchState()
Keys.onReturnPressed: {
toggle();
virtualKeyboard.switchState();
@@ -68,4 +68,4 @@ Item {
}
]
}
}
}
+9 -9
View File
@@ -28,7 +28,7 @@ Pane {
font.family: config.Font
font.pointSize: config.FontSize !== "" ? config.FontSize : parseInt(height / 80) || 13
focus: true
property bool leftleft: config.HaveFormBackground == "true" &&
@@ -57,7 +57,7 @@ Pane {
height: parent.height
width: parent.width
anchors.fill: parent
Rectangle {
id: tintLayer
@@ -103,7 +103,7 @@ Pane {
anchors.horizontalCenter: config.VirtualKeyboardPosition == "center" ? parent.horizontalCenter : undefined;
anchors.right: config.VirtualKeyboardPosition == "right" ? parent.right : undefined;
z: 1
state: "hidden"
property bool keyboardActive: item ? item.active : false
@@ -179,7 +179,7 @@ Pane {
}
]
}
Image {
id: backgroundPlaceholderImage
@@ -190,10 +190,10 @@ Pane {
AnimatedImage {
id: backgroundImage
MediaPlayer {
id: player
videoOutput: videoOutput
autoPlay: true
playbackRate: config.BackgroundSpeed == "" ? 1.0 : config.BackgroundSpeed
@@ -206,7 +206,7 @@ Pane {
VideoOutput {
id: videoOutput
fillMode: config.CropBackground == "true" ? VideoOutput.PreserveAspectCrop : VideoOutput.PreserveAspectFit
anchors.fill: parent
}
@@ -267,14 +267,14 @@ Pane {
MultiEffect {
id: blur
height: parent.height
// width: config.FullBlur == "true" ? parent.width : form.width
// anchors.centerIn: config.FullBlur == "true" ? parent : form
// This solves problem when FullBlur and HaveFormBackground is set to true but PartialBlur is false and FormPosition isn't center.
width: (config.FullBlur == "true" && config.PartialBlur == "false" && config.FormPosition != "center" ) ? parent.width - formBackground.width : config.FullBlur == "true" ? parent.width : form.width
width: (config.FullBlur == "true" && config.PartialBlur == "false" && config.FormPosition != "center" ) ? parent.width - formBackground.width : config.FullBlur == "true" ? parent.width : form.width
anchors.centerIn: config.FullBlur == "true" ? backgroundImage : form
source: config.FullBlur == "true" ? backgroundImage : blurMask
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="Open Sans"
FontSize="13"
@@ -23,7 +23,7 @@ DateFormat="dddd d MMMM"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="false"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding="5"
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="ESPACION"
FontSize="12"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="false"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding="0"
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="KogniGear"
FontSize="12"
@@ -23,7 +23,7 @@ DateFormat="M/dd 2077"
# Default Locale.LongFormat.
HeaderText="Loading ..."
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
HideSystemButtons="true"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="true"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="pixelon"
FontSize="12"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="true"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="Thunderman"
FontSize="12"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="false"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="Electroharmonix"
FontSize="12"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="false"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="arcadeclassic"
FontSize="11"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
HideSystemButtons="true"
HideLoginButton="true"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="arcadeclassic"
FontSize="11"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
HideSystemButtons="true"
HideLoginButton="true"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="Fragile Bombers Attack"
FontSize="15"
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="true"
HideSystemButtons="true"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+10 -8
View File
@@ -4,7 +4,7 @@
ScreenWidth="1920"
ScreenHeight="1080"
ScreenPadding=""
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
# Default 0, Options: from 0 to min(screen width/2,screen height/2).
Font="Open Sans"
FontSize=""
@@ -23,7 +23,7 @@ DateFormat="dddd d"
# Default Locale.LongFormat.
HeaderText=""
# You can put somehting fun.
# You can put something fun.
#################### Background ####################
@@ -49,7 +49,7 @@ DimBackground="0.0"
CropBackground="true"
# Default false.
# Crop or fit background.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment dosn't work when set to true.
# Connected with: BackgroundHorizontalAlignment and BackgroundVerticalAlignment doesn't work when set to true.
BackgroundHorizontalAlignment="center"
# Default: center, Options: left, center, right.
# Horizontal position of the background picture.
@@ -130,16 +130,18 @@ HideVirtualKeyboard="false"
HideSystemButtons="false"
HideLoginButton="false"
UseRealName="true"
# If set to true, the user's real name (GECOS) is displayed instead of the account username. Users can log in using either their username or real name. If set to false, users can log in only with their username.
# Warning: If two or more accounts have the same real name, they cannot be distinguished during login. In that case, it is recommended to set this option to `false`.
ForceLastUser="true"
# If set to true last successfully logged in user appeares automatically in the username field.
# If set to true last successfully logged in user appears automatically in the username field.
PasswordFocus="true"
# Automaticaly focuses password field.
# Automatically focuses password field.
HideCompletePassword="true"
# Hides the password while typing.
AllowEmptyPassword="false"
# Enable login for users without a password.
AllowUppercaseLettersInUsernames="false"
# Do not change this! Uppercase letters are generally not allowed in usernames. This option is only for systems that differ from this standard!
BypassSystemButtonsChecks="false"
# Skips checking if sddm can perform shutdown, restart, suspend or hibernate, always displays all system buttons.
RightToLeftLayout="false"
@@ -159,4 +161,4 @@ TranslateReboot=""
TranslateShutdown=""
TranslateSessionSelection=""
TranslateVirtualKeyboardButtonOn=""
TranslateVirtualKeyboardButtonOff=""
TranslateVirtualKeyboardButtonOff=""
+2 -2
View File
@@ -5,11 +5,11 @@ Author=keyitdev
Website=https://github.com/Keyitdev/sddm-astronaut-theme
License=GPL-3.0-or-later
Type=sddm-theme
Version=1.3
Version=1.4
ConfigFile=Themes/astronaut.conf
Screenshot=Previews/astronaut.png
MainScript=Main.qml
TranslationsDirectory=translations
Theme-Id=sddm-astronaut-theme
Theme-API=2.0
QtVersion=6
QtVersion=6