I have Ubuntu 15.10 installed and when I first start my computer it gives me the really nice looking ubuntu lightdm login screen but anytime I lock the computer I get the really nasty looking gnome lock screen. How can I make it only use one or the other?
Things I have tried:
- reinstalling GDM
sudo dpkg-reconfigure
on gdm and lightdm
$ dm-tool lock
seems to lock correctly but pressing super + L
takes me back to the ugly gdm lock screen.
My current workaround has been to change the keyboard shortcut to use dm-tool lock
but that isn't really sustainable.
Edit:
Someone in the comments has suggested to remove the package gdm
but when I try to it wants to remove ubuntu-gnome-desktop
and the list below. Clearly this isn't what I want to do.
account-plugin-aim account-plugin-google account-plugin-jabber account-plugin-salut account-plugin-yahoo acpi-support aisleriot
app-install-data-partner apturl apturl-common argyll argyll-ref baobab bluez-cups brltty cheese dc dconf-editor deja-dup
deja-dup-backend-cloudfiles deja-dup-backend-gvfs deja-dup-backend-s3 duplicity empathy empathy-common file-roller fonts-cantarell
.....
syslinux-legacy telepathy-gabble telepathy-idle telepathy-logger telepathy-salut toshset transmission-common transmission-gtk
ttf-ancient-fonts-symbola ttf-indic-fonts-core ubuntu-sso-client unity-asset-pool uno-libs3 unoconv ure usb-creator-common
usb-creator-gtk vino whoopsie x11-apps x11-session-utils xdg-user-dirs-gtk xdiagnose xinit xorg xsltproc yelp-tools zsync
Best Answer
Super + L is a shortcut set within Compiz window manager. What is being set in the settings goes into
gsettings
( which is a framework for storring app settings, that's slightly different ) and then relays whatever shortcuts you set tognome-settings-daemon
orunity-settings-daemon
. That means we have to alter Compiz settings first.The steps I personally took were as following:
sudo apt-get install compizconfig-settings-manager
Open
compizconfig-settings-manager
withccsm
command form terminal or from dash's searchUnder
Ubuntu Unity Plugin
option findKey to lock screen
option, click on the button describing the shortcut.You will see the a small popup window. Unckeck the
enabled
option.At this point you can go to Settings -> Keyboard -> Shortcuts and set custom shortcuts with keybinding Super + L as
dm-tool lock
command.Tested on Ubuntu 14.04 LTS, Trusty
Edit
Since OP is using Ubuntu Gnome and not Unity, I used my 15.10 Ubuntu Gnome virtual machine, and found that in a normal session there's no compiz processes running , however the Super+L appears to be hard codded within the gnome-shell itself.
What I've successfully achieved is the following : run the
gsettings
command bellow and in the Settings -> Keyboard -> Shortcuts -> Custom menu set custom shortcut CtrlAltL todm-tool lock
command.After running the command and creating shortcut, instead of the usual builtin gnome lock screen , I was able to use lightdm. OP also confirmed this in our conversation in the chat , but wanted Super + L to be the actual accelerator, and with better speed of locking. At the moment I am unable to address these issues, and it seems the key combination OP wants is hard-coded, hence unchangeable, but i am not 100% certain .