MDModern | HTML theme & development base

Show your artwork
Forum rules
No support questions here please

MDModern | HTML theme & development base

Postby philer on Fri Aug 08, 2014 3:03 am

An HTML5 theme for MDM's webkit greeter.

screenshot.jpg

The theme functions both as a regular theme and as an easy to use dev kit. Features a configurable
background slideshow, accessible controls etc. A default config with two background wallpapers is
included.

You can simply use this theme as is and customize it using the available configuration options, or
you can modify the sources to create something completely new.

Web developers may be happy to find several well documented JavaScript modules, including an
easy-to-use MDM interface, which you can use to build your very own theme. The main point in
creating this theme was to provide a JavaScript wrapper for MDM's rather peculiar API.

Files and installation instructions as well as documented sources can be found on github.
Feedback and Opinions are appreciated. Enjoy.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Linux Mint is funded by ads and donations.
 

Re: MDModern | HTML theme & development base

Postby killer de bug on Fri Aug 08, 2014 5:19 am

Ohhhh it looks great! :)
If I have seen further it is by standing on the shoulders of giants. [Isaac Newton]
User avatar
killer de bug
Level 7
Level 7
 
Posts: 1924
Joined: Tue Jul 08, 2008 1:49 pm
Location: Austria

Re: MDModern | HTML theme & development base

Postby anandrkris on Fri Aug 22, 2014 10:21 am

Justy tried your theme..Awesome...Great Job...Thanks. :D

Update: Sorry to niggle, i think, it does not show auto-login message?
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Fri Aug 22, 2014 11:31 am

@anandrkis: niggle away, that's why I asked for feedback :D
And yes, I've hidden any messages other then errors since I don't use autologin. But if that's a think people use I'll check it out as soon as I get to it.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Mon Sep 01, 2014 10:04 am

philer wrote:@anandrkis: niggle away, that's why I asked for feedback :D
And yes, I've hidden any messages other then errors since I don't use autologin. But if that's a think people use I'll check it out as soon as I get to it.


Auto-login is useful for me. I have one account for myself and guest account, and set 10 seconds before my primary account auto-logs. Another thing, in slideshow config, instead of files can it support folder path. For instance, I want to link it to Backgrounds folder...

P.S. I actually have a collection of some nice wallpapers stored in a folder (dropbox). Currently, i ls-ed the folder images and used the names.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Mon Sep 01, 2014 2:38 pm

I'd prefer folders, too. Sadly that's not how it works.
The long version: I'm using ajax requests (XMLHttpRequest) to retrieve the config files and it's curious enough that that works. Browsers are very restrictive about accessing local files, for obvious reasons. The engine behind MDM's HTML themes (webkit) is basically just a browser showing a local document. The fact that it's all local is why the request are getting through at all. However XMLHttpRequests are specifically designed to retrieve individual files from a given path (or rather a URL) so they simply cannot retrieve a directory listing. The only way to make that possible would be ton run a local webserver in the background that provides that list, which would be quite an overkill.
So yeah, you're stuck with ls -1 >> slideshow.conf.

As for the auto login, I'll take a look at it as soon as I get to it (hopefully in a few days).
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Mon Sep 01, 2014 11:00 pm

philer wrote:I'd prefer folders, too. Sadly that's not how it works.
The long version: I'm using ajax requests (XMLHttpRequest) to retrieve the config files and it's curious enough that that works. Browsers are very restrictive about accessing local files, for obvious reasons. The engine behind MDM's HTML themes (webkit) is basically just a browser showing a local document. The fact that it's all local is why the request are getting through at all. However XMLHttpRequests are specifically designed to retrieve individual files from a given path (or rather a URL) so they simply cannot retrieve a directory listing. The only way to make that possible would be ton run a local webserver in the background that provides that list, which would be quite an overkill.
So yeah, you're stuck with ls -1 >> slideshow.conf.

As for the auto login, I'll take a look at it as soon as I get to it (hopefully in a few days).

Hmm, thanks for clarifying. I got it.

BTW, Clem seemed interested in this theme when I shared the link. Below is a Roadmap commit where he made a note to look into this -
https://github.com/linuxmint/Roadmap/co ... 74ab04a02f
+ mdm: new theme based on mdm-modern, with slideshow
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Tue Sep 02, 2014 10:59 am

Well that's a nice surprise :D
Gotta try and catch him on the IRC some time.

So I pushed an update to the github repo. It now has a countdown indicator in the top bar next to the sessions menu. It's not too fancy but should do the job.
The fact that it just resets on every keystroke confused me a little but that's just how MDM handles it. Personally I'd have expected the countdown to be stopped on first interaction.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Tue Sep 02, 2014 10:52 pm

philer wrote:Well that's a nice surprise :D
Gotta try and catch him on the IRC some time.

So I pushed an update to the github repo. It now has a countdown indicator in the top bar next to the sessions menu. It's not too fancy but should do the job.
The fact that it just resets on every keystroke confused me a little but that's just how MDM handles it. Personally I'd have expected the countdown to be stopped on first interaction.

Yes, you should do that and hear any suggestions from him. I was in fact about to suggest that ... :)
http://segfault.linuxmint.com/2014/08/mint-x-colors - Not sure, if you have seen this Maybe you can create / add all colors planned to be offer for Mint X as slideshow images...
Thanks, will check it out. Yeah, it did confuse me as well...
Also, is language selection intentionally left out?
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Fri Sep 05, 2014 10:10 pm

Yeah, language isn't something I ever use in the login screen. I can actually only imagine very few scenarios where someone would need that to be there.

Though again, if this is gonna get more attention I can add it easy enough.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Fri Sep 05, 2014 11:44 pm

philer wrote:Yeah, language isn't something I ever use in the login screen. I can actually only imagine very few scenarios where someone would need that to be there.

Though again, if this is gonna get more attention I can add it easy enough.


Even I dont need it actually, i guess, some people need it to select for keyboard layout perhaps...Say, when you attach keyboard to a laptop...

And if Clem decides to use this as default theme, it would need all bells and whistles :D
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby caribriz on Sat Sep 06, 2014 12:17 am

philer -

Thank you for creating this beautiful theme.
Very classy.

I'd vote for it to be the default. :D
Image
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 17 Cinnamon)
caribriz
Level 5
Level 5
 
Posts: 907
Joined: Mon Nov 28, 2011 7:43 am

Re: MDModern | HTML theme & development base

Postby philer on Fri Sep 12, 2014 2:55 pm

Well I doubt it's gonna become a default theme just like that. But who knows… ;D
Clem seemed interested in the background slideshow though.

Anyway, let me know if you need anything in particular to be added.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Tue Oct 07, 2014 11:27 pm

Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Wed Oct 08, 2014 3:49 pm

Awesome, thanks for telling me. :D

I'll probably add a language chooser one of these days, just gotta find some time for it.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Re: MDModern | HTML theme & development base

Postby anandrkris on Mon Oct 13, 2014 2:14 am

And now you've been made famous.... :D :wink:

http://blog.linuxmint.com/

Last but not least, as mentioned in the introduction, the Mint-X theme received a beautiful new slideshow. A new developer, Philipp Miller, created a flexible and adaptable theme called MDModern, full of innovations and elegance from which was inspired this slideshow and which could be used by artists to produce the next generation of MDM themes.

The team is currently working with Philipp, not only on the theme but on the MDM theme API and we’re hoping to add MDModern to Linux Mint 17.1.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 951
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: MDModern | HTML theme & development base

Postby philer on Mon Oct 13, 2014 6:48 pm

Now that is awesome! :D
I'm not even sure I deserve that.

Meanwhile I added a language selection and updated some of the API. Get the update from github, if you care, and let me know about any issues you might encounter.
In case someone has already been using the API and needs a changelog, let me know.
MDModern – A fresh theme for your Linux Mint login screen (also on github)
User avatar
philer
Level 1
Level 1
 
Posts: 13
Joined: Wed Aug 06, 2014 9:10 pm

Linux Mint is funded by ads and donations.
 

Return to Other artwork

Who is online

Users browsing this forum: No registered users and 1 guest