Code Monkey home page Code Monkey logo

mdmodern's People

Contributors

philer avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

mdmodern's Issues

Support local language

Hi Philipp,

Firts of all: great greeter! One of the nicest on the web ๐Ÿ‘
A small suggestion: would be much nicer if the greeter could extract the appropriate localized strings displayed on the screen - instead of using 'hard-wired' HTML tags (currently in English). These strings are: "Language", "Session", "Shutdown" etc. I'm not sure how to do this with HTML greeters, so I guess you are better position to evaulate the difficulty of this request.

Cheers,

Peter

Display background image based on the actual time

Hi Philipp,

Another suggestion - enhancement. It would be great if we could somehow control which background images are displayed on the login screen, based on what is the actual sytem time of the computer.
My idea would be: add some extra params into slideshow.conf file. These params would be:
morning_start = 05:00
day_start = 09:00
afternoon_start = 15:00
evening_start = 18:00
night_start = 09:00

Each of the above params would define when a particular time of day begins considered by the user, using the hh:mm format.
Now, if we could add an extra 'tag' to the image path would define which image to display what time of day. Example:
img/blue.jpg [morning]
img/red.jpg [day]

...etc.

Finally, the array and the display functions would be needed to amend according to this logic:

  • if the actual time is between morning_start & day_start display only images tagged by [morning]
  • if the actual time is between day_start & afternoon_start display only images tagged by [day]
    ...and so on, but...

...all of the above would be optional, because if:

  • the settings (morning_start, day_start, etc.) for time of day are missing/incomplete
  • or the tagging of the images in the line of their path is missing:

then: fall back to the current behaviour

On this way the greeter could be configured a little bit more 'sophisticated', reflecting the feelings of the actual time of day, displaying images only corresponding/reflecting to that 'feelings' :)

Cheers,

Peter

Resize images to match screen size

I noticed that there is a scrollbar shown in MDM because blue.jpg and red.jpg are bigger than my screen resolution (1920x1080) and the image gets centered (so I see just a bit of the top bar). It would be great if the images could be stretched (reduced) to match the screen resolution and avoid the scrollbar.
Thanks for the great theme!

Selected session won't load

My default session is cinnamon. If i change the session the label changes (e.g to MATE). But right after submitting my username and password i can see the session turns to the default again and starts the previous session.

EDIT:
After doing some more researches it seems it is a mdm problem.
linuxmint/mdm#155

Does not handle network users

The check here (js/mdm.js:87):

// additonal safeguard: only send passwords for known users
// (MDM's replies are kinda unpredictable otherwise)
if (mdm.getUser(user)) {
  if (debug) debug.log("MDM: sending username");
  alert("USER###" + user);
  userSelected = true;
}
else {
  trigger("error", 'User "' + user + '" doesn\'t exist!');
}

prevents network users from logging in, as it claims that the user doesn't exist. Is there an alternate way to query if the user really exists/is mdm reliable enough (in recent versions) such that this check is no longer necessary?

Session changing broken (language as well, probably)

I just realized that my session (and language) selection has been broken for the longest time. So far it worked under certain circumstances but my recent changes made it completely impossible.

The reason is that if you send a username (USER###โ€ฆ) after selecting a session the session selection gets reset. Since my mdm.js tries to circumvent the way MDM handles repeated invalid login attempts by re-sending the username before each login attempt this session reset happens every time.

I'll fix it soon-ish.

Scrollbars shown due to language lists

Hi Philipp,
I guess the old bug is back. Just updated to mint 17.2 and the scrollbars appeared again in the login screen.
Maybe is because of the long language list (I do have English and Spanish languages installed.
Thanks!

Background image doens't display on login screen

I've followed your instructions, but I can't get the background image to display properly. I'm running archlinux, and have MDM setup properly. When I run MDM setup, it allows me select your theme. When I boot the machine, MDModern appears, and there is a black background displayed. I changed the default slideshow file to 'slideshow.conf' and I changed the following values in that file:

fill_style = cover

I also added a filepath file:///my_wallpaper_directory/my_image

Any suggestions?

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.