Kb layout fix & Update BG
|
@ -1,4 +1,4 @@
|
|||
# SDDM-Themes
|
||||
# SDDM Themes
|
||||
![Version](https://img.shields.io/badge/version-0.1-blue.svg?style=flat-square&logo=appveyor) ![Qt](https://img.shields.io/badge/Qt-5.7+-blue.svg?style=flat-square) ![GitHub repo size](https://img.shields.io/github/repo-size/Rokin05/SDDM-Themes.svg?style=flat-square) ![GitHub](https://img.shields.io/github/license/Rokin05/SDDM-Themes.svg?style=flat-square)
|
||||
|
||||
Dynamics and highly customizable themes build from scratch for [SDDM display manager](https://github.com/sddm/sddm) with [QtQuick 2](https://doc.qt.io/qt-5/qtquick-index.html) (Qt 5.7 >=).<br>
|
||||
|
@ -169,6 +169,11 @@ icon format : USERNAME.face.icon
|
|||
<br>
|
||||
|
||||
#### ● My Keyboard layouts are not visibles in the selectbox
|
||||
There is a "cosmetic" bug with sddm who use xcb API to list the keymaps :<br>
|
||||
On the initial loading, the keyboard layout dropdown menu shows "English (US)" only (your true keyboard layout is selected but this may be visual wrong).
|
||||
As soon as any key is pressed then XCB_XKB_NEW_KEYBOARD_NOTIFY event will be issued and then it will return correct layout.<br>
|
||||
This "bug" is Independent of the theme but for better "deal with that", i have update the theme code and the selected keyboard layout real name is now automatic returned after a first key is pressed which was not the case before.
|
||||
|
||||
- [SDDM Issue - Keyboard layout not detected](https://github.com/sddm/sddm/issues/202)
|
||||
- [Arch wiki - Xorg Keyboard configuration](https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration)
|
||||
|
||||
|
|
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[General]
|
||||
type=color
|
||||
color=#383c4a
|
||||
color=#383c4a
|
||||
type=color
|
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
After Width: | Height: | Size: 710 B |
Before Width: | Height: | Size: 815 KiB After Width: | Height: | Size: 815 KiB |
|
@ -1,4 +1,3 @@
|
|||
[General]
|
||||
type=color
|
||||
color=#191225
|
||||
background="components/artwork/background.png"
|
||||
type=color
|
||||
|
|
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 708 B |
After Width: | Height: | Size: 89 KiB |
|
@ -129,6 +129,8 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: passwordBox.forceActiveFocus()
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
TextBox {
|
||||
|
@ -145,6 +147,7 @@ GridLayout {
|
|||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 500 } }
|
||||
onAccepted: grid.login()
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
}
|
||||
|
||||
LoginButton {
|
||||
|
|
|
@ -226,6 +226,9 @@ Skel {
|
|||
// ==============
|
||||
// Misc
|
||||
// ==============
|
||||
|
||||
// See : https://github.com/sddm/sddm/issues/202 (keyboard.layouts)
|
||||
Keys.onPressed: keyboardButton.displayText = keyboard.layouts[keyboard.currentLayout].longName;
|
||||
|
||||
Component.onCompleted: {
|
||||
getPosition(clock, root.conf("position.clock"));
|
||||
|
|
Before Width: | Height: | Size: 410 KiB After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 410 KiB |
|
@ -18,7 +18,7 @@
|
|||
|
||||
# BACKGROUND :
|
||||
# type : color, image
|
||||
type=image
|
||||
type=color
|
||||
color=#130a10
|
||||
background="components/artwork/background.jpg"
|
||||
background.blur=true
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[General]
|
||||
type=color
|
||||
color=#130a10
|
||||
color=#130a10
|
||||
type=color
|