Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
jonnyc55
Posts: 10
Joined: 2017-12-08 19:45

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

#1 Post by jonnyc55 »

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.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

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

#2 Post by bw123 »

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!
resigned by AI ChatGPT

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

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

#3 Post by jonnyc55 »

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!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

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

#4 Post by stevepusser »

Does installing lightdm-gtk-greeter-settings, learning how to use it, and then using it help any?
MX Linux packager and developer

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

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

#5 Post by jonnyc55 »

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.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

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

#6 Post by GarryRicketson »

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? ... 44#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/debi ... ls.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, .....

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

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

#7 Post by jonnyc55 »

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/debi ... ls.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.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

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

#8 Post by GarryRicketson »

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.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

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

#9 Post by GarryRicketson »

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- ... s-gui.html
==================
Image
So maybe it does do what you want,...There are also options to change the
colour (background) etc.

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

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

#10 Post by jonnyc55 »

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!

Post Reply