How do I customise my login screen? (Xfce) (lightDM)

If none of the more specific forums is the right place to ask

How do I customise my login screen? (Xfce) (lightDM)

Postby jonnyc55 » 2017-12-08 19:52

Is there anyway to customise the button positions of 'cancel' and 'login' on the login screen?

Technically the code for their positions exist on the machine, but where?

The 'cancel' button is too close to my avatar and looks silly. Anyway to move it ever so slightly?

Thanks!

EDIT: Oh and a way to change the login GUI colour would be nice. :). Thanks.
Last edited by jonnyc55 on 2017-12-08 20:06, edited 1 time in total.
jonnyc55
 
Posts: 10
Joined: 2017-12-08 19:45

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby bw123 » 2017-12-08 20:05

on kde 5 plasma, I have replaced sddm with lightdm

I did a search:
# find ./ -name lightdm-k*

and I have this:

Code: Select all
/usr/share/kde4/apps/lightdm-kde-greeter/themes# ls *
classic:
config.ui       main.qml  preview.png  ScreenManager.qml  theme.desktop
IconButton.qml  main.xml  private      TextField.qml      ToolButton.qml

userbar:
config.ui          ListButton.qml  preview.png        TextField.qml
Face.qml           main.qml        private            theme.desktop
FeedbackLabel.qml  main.xml        ScreenManager.qml  ToolButton.qml


I'd be interested to know what you find out. You might need to use # find ./ -name lightdm-g* if you are using another greeter?

Thanks for the research!
User avatar
bw123
 
Posts: 2589
Joined: 2011-05-09 06:02
Location: TN_USA

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby jonnyc55 » 2017-12-08 20:22

bw123 wrote:on kde 5 plasma, I have replaced sddm with lightdm

I did a search:
# find ./ -name lightdm-k*

and I have this:

Code: Select all
/usr/share/kde4/apps/lightdm-kde-greeter/themes# ls *
classic:
config.ui       main.qml  preview.png  ScreenManager.qml  theme.desktop
IconButton.qml  main.xml  private      TextField.qml      ToolButton.qml

userbar:
config.ui          ListButton.qml  preview.png        TextField.qml
Face.qml           main.qml        private            theme.desktop
FeedbackLabel.qml  main.xml        ScreenManager.qml  ToolButton.qml


I'd be interested to know what you find out. You might need to use # find ./ -name lightdm-g* if you are using another greeter?

Thanks for the research!


Thanks for the reply.

I couldn't find your files on my system. I could find nothing special in any files when i search "find / -name lightdm-g* except /etc/lightdm/lightdm-gtk-greeter.conf which does not mention anywhere about buttons or positions of buttons.

Is there no way to search the system to search for the word 'cancel' in files? Is there a command for that? Surely the 'cancel' button and its positioning is described or mentioned in a file somewhere.

Thanks!
jonnyc55
 
Posts: 10
Joined: 2017-12-08 19:45

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby stevepusser » 2017-12-08 20:30

Does installing lightdm-gtk-greeter-settings, learning how to use it, and then using it help any?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.7.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.3, Firefox 57.0.4, QMPlay2 17.12.31
User avatar
stevepusser
 
Posts: 9034
Joined: 2009-10-06 05:53

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby jonnyc55 » 2017-12-08 20:55

stevepusser wrote:Does installing lightdm-gtk-greeter-settings, learning how to use it, and then using it help any?


https://packages.debian.org/stretch/lig ... r-settings Will this GUI cover buttons, positioning, colour? Anyone have it who can confirm?

I see window position: https://screenshots.debian.net/package/ ... r-settings

I don't really want to install it if it doesn't have it.

Unless the install is easy? apt-get lightdm-gtk-greeter-settings , will that work? lol, sorry i am new to Linux.

Thanks.
jonnyc55
 
Posts: 10
Joined: 2017-12-08 19:45

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby GarryRicketson » 2017-12-09 01:34

sorry i am new to Linux.

No need to apologize, no problem we all started "new' , and besides that
the way things change so fast, we all are "new", ...
This won't really help solve your problem learning how to customize your login screen, that will just take time, you can learn how to make your system do and
look like what ever you want, it just takes time.

I use the 'locate' command myself, to find files, others prefer 'find'
Code: Select all
man locate

Any way, I made this , with this thread in mind:
http://forums.debian.net/viewtopic.php?f=3&t=9196&p=660544#p660544

Unless the install is easy? apt-get lightdm-gtk-greeter-settings , will that work?

It is pretty easy to install a package,
As far as I know "apt-get" still works as well, but now they are using just "apt'
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html
To install the foo package and all its dependencies, run:
apt install foo

The part that had me confused, was when I first tried, I kept getting a "package not found" type message,... it took me a lot of searching, but once
I figured out what the"foo"part was, I no longer had the problem.
Code: Select all
apt install lightdm-gtk-greeter-settings

Should work, assuming it is in the Debian repositories, and your /etc/apt/sources.list file is correct, .....
User avatar
GarryRicketson
 
Posts: 4588
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby jonnyc55 » 2017-12-09 13:01

GarryRicketson wrote:No need to apologize, no problem we all started "new' , and besides that
the way things change so fast, we all are "new", ...
This won't really help solve your problem learning how to customize your login screen, that will just take time, you can learn how to make your system do and
look like what ever you want, it just takes time.


:D True and thanks. Yeah I reckon time will reveal tips and tricks. I will come across documentation that reveals things to me.


It is pretty easy to install a package,
As far as I know "apt-get" still works as well, but now they are using just "apt'
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html


Interesting. Thanks.

The part that had me confused, was when I first tried, I kept getting a "package not found" type message,... it took me a lot of searching, but once
I figured out what the"foo"part was, I no longer had the problem.
Code: Select all
apt install lightdm-gtk-greeter-settings

Should work, assuming it is in the Debian repositories, and your /etc/apt/sources.list file is correct, .....



Ah ok. Thanks for clarifying that for me. I shall install the greeter-settings and have a look then.
jonnyc55
 
Posts: 10
Joined: 2017-12-08 19:45

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby GarryRicketson » 2017-12-09 14:02

The 'cancel' button is too close to my avatar and looks silly. Anyway to move it ever so slightly?

I am not at all experienced with greeter settings package, but since Steve suggested it, it may have what your looking for. All though I use some XFCE utilities, I don't use the full DE, ... How did you add a avatar ? My thoughts are
that might be a more practical approach, if you can re-locate where the avatar
is displayed, instead of where the cancel button is.
All though what you are trying to do sounds trivial, it isn't,
Technically the code for their positions exist on the machine, but where?

You might find a different theme, that is more to your liking, that is not to complicated,... Yes, the code for the positions of items, exist, but often it
is in the source code of the theme you are using, and the source code is
available, so if you really wanted to create a customized theme, you could
use the source code of some other theme, as a "template", so to speak, with
your editor (depending on the editor), there are options to find specific text, lines, or words , For example , I am working on something for a fluxBB mod,
This part of the "read me", (instructions), there are 82 lines of code that need
to be modified, the "readme" file could actually be used as a script to do this,
but because it is for older versions of fluxBB, the line numbers, and some of the code is not the same, so it needs to be done manually,...
Code: Select all
#---------[ 4. OPEN  ]---------------------------------------------------------
#

post.php

#
#---------[ 5. FIND ]---------------------------------------------------------
#

f.id, f.forum_name, f.moderators, f.redirect_url,

### NOTE: There will be two occurences of this, one two lines below the first. This step applies to both. ###         

#
#---------[ 6. AFTER, ADD ]---------------------------------------------------
#

f.force_approve,

#
#---------[ 7. FIND ]---------------------------------------------------------
#

$stick_topic = isset($_POST['stick_topic']) && $is_admmod ? '1' : '0';

First I open post.php with a editor, then while it is open,
I can locate the lines, by using the "find" option , in my editor, copy / paste the
text(code) I am looking for, into the search box, and if the line with that code/text exists, it finds it and is highlighted....and I add the "f.force_approve,"
as instructed, and so on. With php scripts, no compiling is needed, but with
many of the theme code,(python I think) after your done, you compile it,...
So any way, it is not trivial, and for some one "new ", to this sort of thing,
well , any way you probably are think "OH no this is way to hard,"... but that
is because you are new, .. Of course, if the " greeter settings package", GUI
includes options to change the location of either the avatar, or the cancel button, great, it will be pretty easy,... if not , and that is the problem with
GUI's, you are limited to the options they give you.
Any way, the login screen is not really that important, after you login, you no longer see it,.... I think what would be more to your advantage is to get more familiar with the XFCE DE, learning about it, what tools and GUI's are available, and also learning more about the linux commands, etc. Then later when you
have more experience, you can create the "pefect" theme, for you. Instead of trying to use other themes, that others have decided is perfect for them,...
just saying,...
Last edited by GarryRicketson on 2017-12-09 15:31, edited 1 time in total.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4588
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby GarryRicketson » 2017-12-09 15:26

This is for Ubuntu, but the "greeter settings package" is basically the same, you just want to be sure you use the one for Debian in the Debian repos, not the ubuntu one,...
http://www.webupd8.org/2014/10/lightdm-gtk-greeter-settings-gui.html
==================
Image
So maybe it does do what you want,...There are also options to change the
colour (background) etc.
User avatar
GarryRicketson
 
Posts: 4588
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I customise my login screen? (Xfce) (lightDM)

Postby jonnyc55 » 2017-12-12 22:22

GarryRicketson wrote:
The 'cancel' button is too close to my avatar and looks silly. Anyway to move it ever so slightly?

I am not at all experienced with greeter settings package, but since Steve suggested it, it may have what your looking for. All though I use some XFCE utilities, I don't use the full DE, ... How did you add a avatar ? My thoughts are
that might be a more practical approach, if you can re-locate where the avatar
is displayed, instead of where the cancel button is.
All though what you are trying to do sounds trivial, it isn't,
Technically the code for their positions exist on the machine, but where?

You might find a different theme, that is more to your liking, that is not to complicated,... Yes, the code for the positions of items, exist, but often it
is in the source code of the theme you are using, and the source code is
available, so if you really wanted to create a customized theme, you could
use the source code of some other theme, as a "template", so to speak, with
your editor (depending on the editor), there are options to find specific text, lines, or words , For example , I am working on something for a fluxBB mod,
This part of the "read me", (instructions), there are 82 lines of code that need
to be modified, the "readme" file could actually be used as a script to do this,
but because it is for older versions of fluxBB, the line numbers, and some of the code is not the same, so it needs to be done manually,...
Code: Select all
#---------[ 4. OPEN  ]---------------------------------------------------------
#

post.php

#
#---------[ 5. FIND ]---------------------------------------------------------
#

f.id, f.forum_name, f.moderators, f.redirect_url,

### NOTE: There will be two occurences of this, one two lines below the first. This step applies to both. ###         

#
#---------[ 6. AFTER, ADD ]---------------------------------------------------
#

f.force_approve,

#
#---------[ 7. FIND ]---------------------------------------------------------
#

$stick_topic = isset($_POST['stick_topic']) && $is_admmod ? '1' : '0';

First I open post.php with a editor, then while it is open,
I can locate the lines, by using the "find" option , in my editor, copy / paste the
text(code) I am looking for, into the search box, and if the line with that code/text exists, it finds it and is highlighted....and I add the "f.force_approve,"
as instructed, and so on. With php scripts, no compiling is needed, but with
many of the theme code,(python I think) after your done, you compile it,...
So any way, it is not trivial, and for some one "new ", to this sort of thing,
well , any way you probably are think "OH no this is way to hard,"... but that
is because you are new, .. Of course, if the " greeter settings package", GUI
includes options to change the location of either the avatar, or the cancel button, great, it will be pretty easy,... if not , and that is the problem with
GUI's, you are limited to the options they give you.
Any way, the login screen is not really that important, after you login, you no longer see it,.... I think what would be more to your advantage is to get more familiar with the XFCE DE, learning about it, what tools and GUI's are available, and also learning more about the linux commands, etc. Then later when you
have more experience, you can create the "pefect" theme, for you. Instead of trying to use other themes, that others have decided is perfect for them,...
just saying,...



Thank you Gary for the very detailed post. It is food for thought, sorry for the delay replying my Debian distro died on me - in a nutshell.

I will look into custom themes, i never thought of that!
jonnyc55
 
Posts: 10
Joined: 2017-12-08 19:45


Return to General Questions

Who is online

Users browsing this forum: userpdq and 7 guests

fashionable