You are not logged in.

#1 2019-05-05 18:32:52

in0ni
Member
Registered: 2017-10-27
Posts: 13

GDM Lock screen - Remove username & reference XML/HTML

I had successfully removed the username from the GDM lock screen by modifying the following rule in gnome-shell.css:

FROM

.login-dialog-username,
.user-widget-label {
  color: #FFFFFF;
  font-size: 15pt;
  font-weight: 500;
  text-align: left;
  padding-left: 15px;
}

TO

.login-dialog-username,
.user-widget-label {
  color: #FFFFFF;
  font-size: 15pt;
  font-weight: 500;
  text-align: left;
  padding-left: 15px;
  display: none !important;
  visibility: none !important;
  opacity: 0 !important;
}

It's not the best solution, but it worked -- and with a recent update it no longer works.

Does anyone know where I can find some xml/html that I can refer to so I may edit the layout? What I am looking for is the code that takes care of the layout, which has the CSS id's and classes. Previously, would blindly edit the css file, and have to restart GDM which is painfully annoying.

I have checked GDM's gitlab, and cannot find any file that contains this layout. I might of overlooked it, but if someone can point me in the right direction, it would be greatly appreciated smile

Offline

#2 2019-05-06 15:39:07

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 89

Re: GDM Lock screen - Remove username & reference XML/HTML

Have you looked at the themes available on GNOME-LOOK.ORG?

Offline

Board footer

Powered by FluxBB