Skip to content

asif-mahmud/lightdm-qt5-swallowed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightdm-qt5-swallowed

Qt5 greeter for LightDM. This project is greatly inspired by 2 other greeter projects -

Here are some screenshots from lightdm debug mode -

Screenshot 1 Screenshot 2

Compiling and installing

You will need Qt5 libraries and build tools to build this greeter. Along with it you will need liblightdm-qt5 package. Install them and clone this repository. Then run the following commands inside the cloned folder -

qmake 
make release
sudo make install

After this you have to edit /etc/lightdm/lightdm.conf file and set greeter-session to lightdm-qt5-swallowed.

Configurations

At this point things get a little weird. I could not manage to modify the default /etc/lightdm/lightdm-qt5-swallowed.conf file from the greeter, so it uses a file under /usr/share/lightdm-qt5-swallowed to save the configurations. You can modify /usr/share/lightdm-qt5-swallowed/lightdm-qt5-swallowed.conf to meet your choice. The following options can be used there -

  • imageDir - you can specify any directory where you have put your background images. Images can be put in subdirectories. The greeter enlist them all for you. Currently .jpg .jpeg and .png files will be enlisted.
  • imageBaseName - the base file name of the selected background image.
  • imageAbsoluteFilePath - the absolute path of the selected background image.
  • xOffset - offset to x axis in pixels from top left corner of the screen for the login form.
  • yOffset - offset to y axis in pixels from top left corner of the screen for the login form.
  • lastUser - last user logged in.
  • username_lastSession - last session the user of username logged in.

Update version 1.2.0

  • Dragging of the login form is fixed
  • Version number added

Update

Now login form can be dragged to any suitable position.

About

Qt5 greeter for LightDM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published