Hello,
I’m actually working on making a change from W7 to Manjaro for an office, they have a lots of computer so I’m looking for a quick way…
I’ve already presented them the OS and they like it but the thing is they want the LogIn Screen without the ‘manjaro logo’ on it, they actually have a wallpaper with their company name on it which they were using on W7.
So after searching my old drive I found an old .sh from ArchLinux to quickly change that wallpaper using the lockscreen wallpaper, seems even after so many years it still works perfectly with a simple chmod and an sh but to my surprise the ‘manjaro logo’ wasn’t on the basic wallpaper
So I checked the wiki about GDM and I found that :
Log-in screen logo
Either create the following keyfile
/etc/dconf/db/gdm.d/02-logo [org/gnome/login-screen] logo=' */path/to/logo.png* '
and then recompile the GDM database or alternatively log in to the GDM user and execute the following:
$ gsettings set org.gnome.login-screen logo ' */path/to/logo.png* '
Which is kinda different on manjaro as the filename is ‘10_manjaro-gdm-branding’
/etc/dconf/db/gdm.d/10_manjaro-gdm-branding [org/gnome/login-screen] logo='/usr/share/icons/manjaro/maia/logo_text_white_48px.png' [org/gnome/settings-daemon/plugins/color] night-light-enabled=false [org.gnome.desktop.screensaver] picture-uri='file:///usr/share/backgrounds/illyria-default-lockscreen.jpg'
So I simply made a ‘blank’ file named ‘logo_text_white_48px.png’ and typed ‘sudo mv /home/logo_text_white_48px.png /usr/share/icons/manjaro/maia/’ in the terminal.
The thing with that is at every manjaro or gnome update it will go off, so I need to complete the .sh file accordingly… so they would simply have to run it after an update.
Any idea on how it would be best to procede?
Is there a way to simply delete the line to delete the logo?
Or do I have to give them a blank logo file and add ‘sudo mv /home/logo_text_white_48px.png /usr/share/icons/manjaro/maia/’ in the .sh?
Here’s the script I’m using to replace the current logIn screen wallpaper by the lockscreen wallpaper :
#!/usr/bin/sh
if [ "$IMAGE" = "" ]; then
IMAGE=$(
dbus-launch gsettings get org.gnome.desktop.screensaver picture-uri |
sed -e "s/'//g" |
sed -e "s/^file:\/\///g"
)
fi
if [ ! -f $IMAGE ]; then
echo "unknown IMAGE $IMAGE"
exit 1
fi
echo ''
echo 'using the following image as login background:'
echo $IMAGE
echo ''
if [ -d ~/tmp ]; then
CREATED_TMP="0"
else
mkdir -p ~/tmp
CREATED_TMP="1"
fi
WORKDIR=~/tmp/gdm-login-background
GST=/usr/share/gnome-shell/gnome-shell-theme.gresource
GSTRES=$(basename $GST)
mkdir -p $WORKDIR
cd $WORKDIR
mkdir theme
for r in `gresource list $GST`; do
gresource extract $GST $r >$WORKDIR$(echo $r | sed -e 's/^\/org\/gnome\/shell\//\//g')
done
cd theme
cp "$IMAGE" ./
echo "
#lockDialogGroup {
background: #2e3436 url(resource:///org/gnome/shell/theme/$(basename $IMAGE));
background-size: auto;
background-repeat: no-repeat;
}" >>gnome-shell.css
echo '<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/shell/theme">' >"${GSTRES}.xml"
for r in `ls *.*`; do
echo " <file>$r</file>" >>"${GSTRES}.xml"
done
echo ' </gresource>
</gresources>' >>"${GSTRES}.xml"
glib-compile-resources "${GSTRES}.xml"
sudo mv "/usr/share/gnome-shell/$GSTRES" "/usr/share/gnome-shell/${GSTRES}.backup"
sudo mv "$GSTRES" /usr/share/gnome-shell/
rm -r $WORKDIR
if [ "$CREATED_TMP" = "1" ]; then
rm -r ~/tmp
fi
By the way because in my research I saw a lot of confusion.
The LogIn screen is the screen you get after booting the computer and you have to select an user and enter a password, it’s a different screen than the lockscreen.