I was wondering if anyone knows how I could add a top panel to the Numix lightdm login theme? In the original theme there's no panel and it's really hard to see the time and date as well as the session icons.
Any help would be greatly appreciated!
I was wondering if anyone knows how I could add a top panel to the Numix lightdm login theme? In the original theme there's no panel and it's really hard to see the time and date as well as the session icons.
Any help would be greatly appreciated!
There are alreay a panel but It's color is made transparent. If you want to change this, you need to compile Numix Theme. I've compiled it and made the panel non-transparent. Here is the procedure.
Download the Numix Theme's source files from here https://github.com/numixproject/numix-gtk-theme/releases. I used the latest one (in the time of writing this answer) v2.6.1
Install the necessary dependencies.
You need to have Ruby installed with sass gem. To install ruby use this command
sudo apt-get install ruby
After ruby is installed, install sass using this command.
sudo gem install sass
You also need these packages for building the theme.
sudo apt-get install glib-compile-schemas gdk-pixbuf-pixdata libgdk-pixbuf2.0-dev
Now extract the source file of the Numix theme and open gtk-3.0/scss/apps/_lightdm.scss file and in the line #16, there is
background-color: transparent;
Change it to
background-color: $lightdm-bg-color;
After the change, the changed area in file gtk-3.0/scss/apps/_lightdm.scss becomes
14: .menubar {
15: &, > .menuitem {
16: background-color: $lightdm-bg-color;
17: background-image: none;
18: color: $white;
19: font: bold;
20: text-shadow: 0 1px alpha($black, .5);
21: icon-shadow: 0 1px alpha($black, .5);
Note: Left columns are line numbers and aren't present in the file
Now open a terminal in the numix theme's source files and use these command to build and install the new customized Numix
make
sudo make install
This should make the panel non-transparent. Restart to see the change.
Here is a screenshot of the login screen after the change (took it by the help of this answer)
An alternative approach:
I believe the panel is actually there. It is just transparent. I recommend just changing the background image in LightDM GTK+ Greeter settings. (It must be in png format.) You can convert an image to png by using GIMP or ImageMagick in terminal. You can also just make your login screen a solid color background if preferred.
If you prefer a top panel:
When making any tweaks you can save over the same png file and your login Greeter image will be updated with that. Here is a sample image.
First of all, backup the /usr/share/themes/Numix folder, so you can restore the Numix theme in case of an unexpected error.
Ok, now open the /usr/share/themes/Numix/gtk-3.0/scss/apps/_lightdm.scss file.
(Hint: run sudo mousepad /usr/share/themes/Numix/gtk-3.0/scss/apps/_lightdm.scss from a terminal (Ctrl+Alt+T)
When the file has been opened, look for this line:
background-color: transparent;
Try to change transparent to a color (maybe using #xxxxxx color codes codes, could be better if you quote the code ("#yyyyyy")) or to something like this (found at the Greybird Xubuntu 16.04 gtk+ theme):
background-color: alpha (black, 0.5);
LightDM Greeter GTK+ Settings might be what you are looking for. It provides a GUI method to configure almost everything in your LightDM greeter. It is available from the 16.04 repositories so to install simply run:
sudo apt-get install lightdm-gtk-greeter-settings
This is how the menu looks like:
You might be particularly interested in changing the font size.