philer / mdmodern Goto Github PK
View Code? Open in Web Editor NEWAn HTML5 theme for MDM's webkit greeter
License: GNU General Public License v3.0
An HTML5 theme for MDM's webkit greeter
License: GNU General Public License v3.0
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
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:
...all of the above would be optional, because if:
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
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!
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
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?
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.
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!
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.