Code Monkey home page Code Monkey logo

sddm-chili's Issues

Chili does not correctly read last logged-in user

SDDM's last logged in user, when set in /var/lib/sddm/state.conf, under [Last] and User=username, is ignored by Chili. Default SDDM theme, and every other I tested, reads this field correctly without issue. When the theme is set to Chili though, the last user seems to end up being the last user added to the system from that monitor for some reason. In my case, one monitor defaults to the second user added, the other the third - even after repeated logins and reboots as the original user.

All SDDM configs show SDDM should be functioning as intended:

/var/lib/sddm/state.conf:

[Last]
# Name of the last logged-in user.
# This user will be preselected when the login screen appears
User=gctypo


# Name of the session for the last logged-in user.
# This session will be preselected when the login screen appears.
Session=/usr/share/xsessions/i3-with-shmlog.desktop 

Excerpt from /etc/sddm.conf.d/sddm.conf:

[Theme]
Current=chili

[Users]
RememberLastUser=true

/usr/share/sddm/themes/chili/theme.conf:

[General]
background=assets/background.jpg

ScreenWidth=1440
ScreenHeight=900

blur=true
recursiveBlurLoops=4
recursiveBlurRadius=10

PasswordFieldOutlined=false

PowerIconSize=
FontPointSize=
AvatarPixelSize=

translationReboot=
translationSuspend=
translationPowerOff=

To reproduce:

  1. Have a user
  2. Install SDDM, then sddm-chili
  3. Ensure RememberLastUser=true and theme is Current=chili
  4. Add a new user with useradd
  5. Reboot, check SDDM preselected user
  6. Log in as original user, verify contents of /var/lib/sddm/state.conf, then log out
  7. Check SDDM preselected user
  8. Reboot, log in as original user
  9. Plug in second monitor
  10. Repeat steps 4-7
  11. Change theme back to default, log out
  12. Check SDDM preselected user

Missing session chooser

Most themes allow some sort of session selection (Plasma, Gnome, Wayland, ...). Please add this feature.

qt5-virtualkeyboard dependency

Chili imports Qt5.VirtualKeyboard, but it is not mentioned on README. Is it considered optional (since Chili works fine without it) or a mistake?

Wrong url in readme

I noticed the download url in the readme file points to the KDE theme page instead of this one.
Maybe this could be confusing to some.

Thank you for the theme!

Unable to set Background Images outside chilli theme directory

Hello,
it is not possible to use background images if the file for it is outside the chilli theme directory.
This is possible with other themes e.g. Vortex-SDDM, but I want to get rid of the KDE dependency.

It is possible to get the directory with the desired background images via a "bind"-mount into the themes directory, but this is a dirty workaround.

Is there a technical reason why it is possible with some themes and not with others?
And more important it can be fixed?

The on-screen keyboard opens automatically

The problem is that when you click on the password entry area, the on-screen keyboard opens automatically. I use kubuntu 18.04 and plasma 5.12.5. I know that you don't recommend using this version of the theme with plasma, but the default built-in store offers exactly that:
screenshot_20180615_134307

black screen on ubuntu 18.04

System journal log:

aug 26 04:10:55 kolba sddm-greeter[6889]: file:///usr/share/sddm/themes/chili/Main.qml:211:21: QML PropertyChanges: Cannot assign to non-existent property "y"
aug 26 04:10:56 kolba sddm-greeter[6889]: file:///usr/share/sddm/themes/chili/Main.qml:212: ReferenceError: mainStack is not defined
aug 26 04:10:56 kolba sddm-greeter[6889]: Adding view for "DVI-I-1" QRect(0,0 1600x1200)
aug 26 04:10:56 kolba sddm-greeter[6889]: Loading file:///usr/share/sddm/themes/chili/Main.qml...
aug 26 04:10:56 kolba sddm-greeter[6889]: file:///usr/share/sddm/themes/chili/Main.qml:211:21: QML PropertyChanges: Cannot assign to non-existent property "y"
aug 26 04:10:56 kolba sddm-greeter[6889]: file:///usr/share/sddm/themes/chili/Main.qml:212: ReferenceError: mainStack is not defined

Suspend/Reboot/Shutdown Misaligned

When using Chili, for some reason the clickable areas of the labels for the action buttons (Suspend, Reboot, Shutdown) are misaligned with where they would logically go. The clickable areas are placed above the actual icons, sized proportionately with the labels and completely operational but still unusual.

For reference, I'm on a fresh build of Arch Linux and my Main.qml file is slightly edited to account for my screen's resolution (1366 x 768). Nothing else in the file nor any other QML file has been changed.

dependencies on Arch Linux

On Arch Linux these necessary packages do not come automatically with sddm:

  • qt5-quickcontrols
  • qt5-graphicaleffects

Might be worth to mention in readme

how to enter username and password ?

Thanks for your beautiful job!
actually I need to enter username and password with your theme because I'm part of an Active directory system and I have bunch of usernames and passwords, for example sometime is like this [email protected] and sometime like this [email protected]
in some themes there is a button called other and you can enter both of them (user and password)
any solution ?
Thnx in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.