Code Monkey home page Code Monkey logo

loginized's Introduction

Loginized

Gnome GDM Login Theme Manager. Easy and Fast Login Theme Manipulation.

Disclaimer

As from Gnome 3.36 onwards (https://help.gnome.org/misc/release-notes/3.36/) some or even all of the functionality might not work as expected. One of them might be the possibility to change the shield and I might as well remove this feature from further releases to come. However below is my test results with latest gnome-shell.

  • Tested with Manjaro 19.0.2 version having all updates from upstream using gnome-shell version 3.36.
    • Background image changing does work.
    • Theme changing does work.

Features

  • Change login wallpaper
  • Change login theme (global system theme) from themes located in /usr/share/themes
  • Change login screen shield. (Login screen's lockscreen image)
  • Enable / disable user list at login.
  • NEW! Force rounded login icon. Proven to work gnome-shell 3.32 onwards as it has support for it. Might also work earlier versions but is not tested and in case if it is not working nothing will be done to fix.

As a cherry on top of the cake Loginized comes also with command line application (loginized-cli).

Note! If you are not seeing any themes via the application or you cannot see the theme you want to see. It might be because of that theme or those themes does not have gnome-shell theme available as compilied resource. In such case see the wiki for more details WIKI.

More features are planned in further releases.

Ubuntu users

Default theme in Loginized app is the actual de facto from Gnome which is Blue adwaita based gnome-shell theme. Ubuntu overrides this theme's css file to provide different colors to login screen. When Default theme is used with Loginized that will use the standard from Gnome (blue adwaita).

In order to use the Yaru as login theme with Loginized that is standard for Ubuntu see https://github.com/juhaku/loginized/wiki/Help#ubuntu-users-yaru-gnome-shell-theme

Installation

Download package that suits most for you.

  • Read install instructions from WIKI.
  • Also it's not bad idea to check release notes in RELEASES.

Alternatively you may build the application from sources. See WIKI for more details.

Prerequisites

  • Command glib-compile-resources is used to compile and extract the themes. This must be available in operating system in order to application work correctly.
  • Command xdg-open is used to open links via application. Missing this will not stop using the application.
  • Command notify-send is used to notify new versions. Missing this will not stop using the application but will certainly break the updates notification.
  • Before Download PLEASE READ Things to consider section first.

Downloads

Distribution DL Sha1 Required packages
Arch based loginized-1.4.0.pacman efff5d37f3728dbc16832219ac346ef77af3c613 glib2, xdg-utils
RPM based loginized-1.4.0.x86_64.rpm b4e7cd93e8d765671f9bd03df1b29e7370ada60c glib2-devel, xdg-utils (Open SUSE, Fedora)
Debian based loginized_1.4.0_amd64.deb 3df077659cf0ed3cf5cd55d9cd87f0242e12ca7d libglib2.0-bin, libglib2.0-dev-bin, xdg-utils (Ubuntu)
All Loginized.1.4.0.AppImage e78e2f8eb2344adfeab25ed9f13bbae6a57502d2 Distro dependant
All loginized-1.4.0.zip f778e73ae761e2b131b6e0020c028f9577957ba2 Distro dependant

Tested on

  • Ubuntu 16.10 ->
  • Open SUSE
  • Fedora
  • Manjaro

Basically runs on every Gnome based distribution with GDM as login manager running on gnome-shell 3.26 and above. Older ones should work as well but are not tested.

Known limitations and issues

  • Currently by some unknown reason on openSUSE Thumbleweed running gnome-shell 3.30.2 with wayland it is not able to change background nor the lock screen image at login. Theme however will change.

Feel free to prove me wrong as issues are never good thing.

Things to consider

  • Login theme is actually just a global gnome-shell theme. You should use same or similar gnome-shell theme as login theme and desktop's gnome-shell theme which can be changed via Gnome Tweak Tool. If different theme is being used as shell theme and login theme there might be funny outcomes and some things won't necessarily render correctly.
  • In Ubuntu 18.04 onwards you should take a backup from /usr/share/gnome-shell/theme/ubuntu.css file. This file contains the Ubuntu flavored styles of the default gnome-shell blue theme. In Ubuntu 18.04 this file is overrided by each theme's .css file when installed as login theme. So if needed to go back to original Ubuntu flavored theme you need to manually revert this file to the original one.
  • Please backup default /usr/share/gnome-shell/gnome-shell-theme.gresource file before using Loginized in case it need to be reverted.
  • Anything you do with the application is at your own risk and you understand that something can go wrong if misused or broken themes are being used. In case of issues please refer to WIKI.

Contributing

Contributing is very well welcome. You should start with cloning the repository and then getting to know technics used in this application. If you are already familiar with them just drop A PR but make sure that you have actually tested that your changes works before submitting a PR.

As of for quite some time I haven't been using Gnome desktop because mutters inefficiency so I have no interest to develop this application actively. But I will keep it maintained at least for now.

Screenshots

Theme selection

Settings

About

License

This project is lincensed under GPL-3.0 license. See more details at LICENSE

loginized's People

Contributors

aaronrancsik avatar carolinaisslaying avatar juhaku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

loginized's Issues

fails to save with error message ubuntu 19.04

Choose file, press save and receive this error:

/opt/Loginized/loginized-cli.sh: line 176: glib-compile-resources: command not found cp: cannot stat '/tmp/shell/theme/gnome-shell-theme.gresource': No such file or directory

Loginized under Gnome 3.36.

Hi,

I appreciate your software, and it does a good job. But now you say that it is obsolete under Gnome 3.36 and that is bad news. So what's the solution now to replace Loginized ? I guess I will have to manually edit files? Is there another solution, and which one?

Thank you for your help.

Gnome 43 Power Menu Failure

Starting from Gnome 43, the power menu gets messed up after applying Loginized.

Also it's technically still working, Icons are far too large and bottom borders are missing.

Maybe you could take a look into this.

Tested an reproduced under Fedora 37.

Not properly backing up default shell theme.

A backup file was supposed to be under .config/Loginized/default/gnome-shell-theme.gresource

.config/loginized/
├── blob_storage
│   └── e83d1231-e57a-48aa-b9d5-9eb13e931cf0
├── Cache
│   ├── 88dfffac3757d66c_0
│   ├── cd0f2aba01de2d61_0
│   ├── f6588245f25c96ac_0
│   ├── index
│   └── index-dir
│       └── the-real-index
├── Cookies
├── Cookies-journal
├── GPUCache
│   ├── data_0
│   ├── data_1
│   ├── data_2
│   ├── data_3
│   └── index
├── Local Storage
│   └── leveldb
│       ├── 000003.log
│       ├── CURRENT
│       ├── LOCK
│       ├── LOG
│       ├── LOG.old
│       └── MANIFEST-000001
├── Network Persistent State
├── Origin Bound Certs
├── Origin Bound Certs-journal
└── Preferences

7 directories, 22 files

Ubuntu 18.04 Question

Hi:
Have been using Loginized for some time now, but just upgraded to Ubuntu 18.04 and it no longer works. I made sure libglib2.0-bin is installed but still get "...line 164: glib-compile-resources: command not found cp: cannot stat "/tmp/shell/theme/gnome-shell-theme.gresource': no such file or directory." " Just wondering if you have a workaround for this or will be updating soon. I absolutely love this program.

Thanks

Unable to save

I can't see any images when I select a theme, and then when I select one and save I get this error

cp: cannot stat '/home/cortopy/.config/Loginized/false': No such file or directory /opt/Loginized/loginized-cli.sh: line 238: [: ==: unary operator expected

Add font support

Fonts would be a great addition IMO since it would make the login screen and desktop even more coherent.

Getting an error when saving theme

/usr/lib/Loginized/resources/app/src/../loginized-cli.sh: line 128: /tmp/shell/theme/extensions/[email protected]/yaru.css: No such file or directory /usr/lib/Loginized/resources/app/src/../loginized-cli.sh: line 128: /tmp/shell/theme/modes/yaru.json: No such file or directory

Compiled the Yaru theme, when I select it and hit save, the above error comes up. I checked the tmp folder, and the modes folder is not getting copied to tmp, but the file exists in the /usr/share/theme/yaru... etc.

Using Manjaro Gnome stable, up to date as of posting.

clarifying question for an Ubuntu 18.04 user

I see that you have two closed issues from users who were using Ubuntu 18. Have those issues been fixed in the code itself or will I need to finangle some stuff? I'm very new to Linux and I don't want to screw up my settings but I was curious what was possible.

Also does this work for GDM3? Or do I have to install an old version of GDM? And if I can use GDM3 with this, then where do I get themes, as to my knowledge GDM3 does not have themes? Do I just use GDM themes?

Not working on Ubuntu 20.04 LTS

I used loginized on Arch Linux to change my login screen theme and It worked fine. But, when I tried it on Ubuntu 20.04 LTS its not working.

App won't start without libffmpeg.so

Installed required packages on Arch, but will not start without libffmpeg.so shared library. If it has a dependency on this it should be among the required packages

sed error in loginized-cli

Hi, I've been following the instructions on the wiki to add a custom theme:

# cd /usr/share/themes/Pop/gnome-shell/
# loginized-cli compile

But I get this error:

sed: -e expression #1, char 0: no previous regular expression

Saving Theme fails with lots of errors

When ever I try to save a theme I get this:

/opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/dash-left.svg: No such file or directory
/opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/dash-placeholder.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/dash-right.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/running1.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/running2.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/running3.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/dash/running4.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/menu/menu-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/menu/menu-separator.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/bg.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/calendar-today.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/close-active.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/close-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/close.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/corner-ripple-ltr.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/corner-ripple-rtl.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/more-results.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/osd.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/page-indicator-active.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/page-indicator-checked.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/page-indicator-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/page-indicator-inactive.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/process-working.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/ws-switch-arrow-down.png: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/misc/ws-switch-arrow-up.png: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/panel/activities-active.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/panel/activities.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/panel/panel-overview.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/panel/panel.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/switch/switch-off-selected.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/common-assets/switch/switch-on-selected.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/checkbox/checkbox-checked-focused.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/checkbox/checkbox-checked.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/checkbox/checkbox-unchecked-focused.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/checkbox/checkbox-unchecked.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/menu/menu.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/menu/submenu-open.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/menu/submenu.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/calendar-arrow-left-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/calendar-arrow-left.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/calendar-arrow-right-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/calendar-arrow-right.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message-active.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message-close-active.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message-close-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message-close.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message-hover.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/message.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/misc/modal.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/switch/switch-off.svg: No such file or directory
 /opt/Loginized/loginized-cli.sh: line 139: /tmp/shell/theme/dark-assets/switch/switch-on.svg: No such file or directory

Not sure whats broken here.

Ubuntu 19.04
Arc-Dark Theme
gresoursces built using the provided cli.

I also get the error if I just try to save the default theme as well.

Broke my desktop environment

Hello.
I am using Manjaro with GNOME and after installing this package I wanted to change both background picture and the left one (forgot what it was, something to do with shield I think)

After rebooting I got white screen saying that something has gone wrong. Any idea how to fix that?

Save fails, if selected image file name contains spaces

Hi, first thanks for this useful program. I detected a small issue. If you drag and drop some images to the program and the file name contains spaces, you are not able to save the boot screen, an error 'file or directory not found' occurs. After I removed the spaces in the file name and dragged the image again, all went fine.
E.g. for image named '2013-08-09 20.23.19', the following error message come up, when you try to save: 'Error - cp: der Aufruf von stat für '/home/[...]/.config/Loginized/2013-08-09' ist nicht möglich: Datei oder Verzeichnis nicht gefunden /opt/Loginized/loginized-cli.sh: Zeile 291: [: ==: Einstelliger (unärer) Operator erwartet.'

Corrupted Gnome 3.36.2 textures

Probably caused by the generated gnome-shell-theme.gresource, restoring default settings didn't fix, probably because of #31 :)

Issue faced after logins and it becomes too glitchy as in screenshots after changing screen resolution, sometimes even full black screen.

Bildschirmfoto von 2020-06-22 21-59-06
Bildschirmfoto von 2020-06-22 21-58-51
Bildschirmfoto von 2020-06-22 21-58-36

Add instruction for build

Hello, I want to test your program and I am also thinking of including it in Manjaro but I would like to have instructions for its compilation. You provide precompiled files for distributions but I need to write the PKGBUILD to be able to pack it. Alternatively I could use the .deb package but I do not like it.

Cheers
Stefano Capitani
Manjaro Team

Breaking sliders.

I cannot be 100% sure about this, but it seems, that after installing and changing background image, the sliders for sound/brightness from top right menu have vanished. I can still kinda move them, but they are invisible, as well as the line indicators. I can make a screenshot, if the description is too vague.
I'd appreciate if we could investigate it a bit.

No restore option

Hi, great addon for gnome but I see there is no restore option :P
I tried clear background in Loginzed and this nothing change after reboot..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.