Em 20-08-2015 11:30, Ken Moffat escreveu: > On Thu, Aug 20, 2015 at 10:39:57AM -0300, Fernando de Oliveira wrote: >> Thanks to both of you. >> >> Trying to reply to all posts in this one, please see below. >> > [...] >>>>> >>>>> Now, I have a working link: >>>>> >>>>> [http://anduin.linuxfromscratch.org/~fernando/sddm/themes/lfs.tar.xz] >>>>> >>>> Unfortunately, I cannot test it on my latest build: any attempt to >>>> use sddm, or to run sddm-greeter -test /path/to/theme, just gives me >>>> a white screen. >> >> Ken, you need to use: >> >> sddm-greeter --test-mode --theme <theme path> >> > >> Found it at >> >> $ sddm-greeter --help >> Usage: sddm-greeter [options] [arguments] >> Options: >> --theme <theme path> Set greeter theme >> --socket <socket name> Set socket name >> --test-mode Start greeter in test mode >> >> Thought that just --test worked, but it tries to start sddm, but it also >> tries to start the daemon: >> > > It certainly used to, and messages about the daemon not running are > normal - at least, normal if you are not logged in via sddm. >> [08:45:24.880] (EE) GREETER: Cannot connect to the daemon - is it running? >> >> This may be a source of some of your test problems. >> >> >> Em 19-08-2015 20:51, Ken Moffat escreveu: >>> On Thu, Aug 20, 2015 at 12:45:52AM +0100, Ken Moffat wrote: >>>> On Wed, Aug 19, 2015 at 10:07:59PM +0100, Ken Moffat wrote: >> >> OK. But here we consider wrong the tarball and directory having >> different names. So, I will also rename the directory. >> >>> >>> And after going back to it, a third comment - the left edge of the >>> gnu, and the left edge of the L in Linux, are hard up against the >>> edge of the screen. For the L, that makes it slightly uncomfortable >>> to read. Mind you, the font used for 'from scratch' is pretty ugly >>> at this size (thin, and seems vertically flattened). >>> >>> ĸen >>> >> >> >> Perhaps it is because I cropped out the copyright (more on this below). >> >> Em 19-08-2015 20:45, Ken Moffat escreveu: >>> On Wed, Aug 19, 2015 at 10:07:59PM +0100, Ken Moffat wrote: >>>> >>>> One initial comment : although lfs/ is correct for the theme name, >>>> a tarball name of just lfs is perhaps not ideal. There seems to be >>>> some agreement that external themes should be called sddm-name-theme. >>>> My own should probably be repackaged to contain a speckledwood/ >>>> directory, with all the files in that. >>>> >>> Second comment (tried it on my other box with the 1600x1200 screen): >>> I get a grey bar along the top of the screen, which purports to let >>> me change the session and the keyboard. Didn't try the keyboard, >>> but changing the session there did nothing (i.e. I changed it from >>> LXQt to icewm, but got LXQt again). It was only when I remembered >>> that the central box came from elarun, and the session is there >>> hidden on the first icon of hte bottom row, that I managed to get >>> icewm. >> >> Changing sessions works for me. Not it does not work. You are correct. I >> don't know how to fix. >> > > Been there, had the same problem in my early attempts, in the end I > started from a different theme so that I could get rid of the grey > bar along the top. Never did manage to work out where it was coming > from. > >> I've chosen elarun, because the lfs image has the two things occupying >> most part of the screen and elarun had a small box that fitted in between. >> >>> >>> I had thought that the low height (1080p) might be a problem, but at >>> the moment it is not. Like elarun (and also like the attribution in >>> text showing the copyright in the png which Bruce provided), the text >>> is unreadable - at the bottom of the central box I suppose it is >>> reporting the day. >> >> I cropped out the Copyright. Was almost unreadable and looked like some >> dirt in the image. >> >> Yes, it is the day. Needed to decrease the size, because here: >> >> Qui Ago 20 09:01:27 BRT 2015 >> >> and it was displayed over the buttons. That was the only solution I >> found, after many unsuccessful attempts. >> >> Em 20-08-2015 01:54, Bruce Dubbs escreveu: >>> >>> To me that means that the image is resized incorrectly. >> >> I would like to understand what you mean by that. >> >> I have: >> >> $ cd /usr/share/sddm/themes/lfs/ >> $ file lfs.jpg images/background.png >> lfs.jpg: JPEG image data, JFIF standard 1.01, resolution >> (DPI), density 96x96, segment length 16, progressive, precision 8, >> 1680x1050, frames 3 >> images/background.png: PNG image data, 1920 x 1080, 8-bit/color RGBA, >> non-interlaced >> >> I need a PNG with the name background.png >> >> The other one, lfs.jpg, is only used for a user to check with an image >> viewer how the theme looks, and is generated by running >> >> sddm-greeter --test-mode --theme /usr/share/sddm/themes/lfs >> >> and making a screenshot. >> >>> The image in >>> Fernando's tarball is 1580x1050 and resizing to 1600x1200 is not working >>> properly. In addition the image has artificts that should not be there. >> >> The artifact were introduced, because after resizing, the image loses >> sharpness (is this the correct word in English?), so I ran gimp's >> "selective gaussian blur filter", with >> >> blur radius = 5.00 >> maximum delta = 50 >>> >>> If you want I can send you a properly scaled 1600x1200 jpeg to try. >>> >>> -- Bruce >>> >> >> But ISTR that I had the same problem as Ken, of things moving to the >> borders too much, with different sizes. Will test with 1600x1200 >> > > The important thing is that the screen looks ok on "supported" > screen sizes - it gets scaled, or cropped, to fit depending on the > option in Main.qml - my own image just-about works on 1600x900, but > the edge of the butterfly is under the central box.
I have fillMode: Image.PreserveAspectCrop I have not searched, but it could be modified to scale. But this would need not to preserve aspect and tux and gnu could end up behind the login box, don't really know. Cropping, result may be as Ken described: They can be cropped anf "linux" could partially disppear. > 1600x1200 is not very common, some smaller sizes are. You will find at [http://anduin.linuxfromscratch.org/~fernando/sddm/themes/] lfs.tar.xz sddm-lfs-theme-0.0.1.tar.xz sddm-lfs-theme-0.0.2.tar.xz I included 0.0.1, because was not sure if did any modification between lfs.tar.xz and it. File to be considered is sddm-lfs-theme-0.0.2.tar.xz. • Changed date format, and increased point size from 12 to 18 points. Now it is almost touching the hibernate button. • Background now is 1990x1200. • Removed top bar with non-working Session choice and this also removed Keyboard choices. • When making the background, I preferred not to respect aspect ratio, and, as wrote before, gave it a little gimp's gaussian blur filter. If you two wish to do modifications, please go ahead. If not, some editing still are necessary: 1. Bruce needs to produce a correct 1900x1200 background.png 2. You two need to decide what is the name you want to give for tarball and directory, and if versioned or not. 3. Please, verify and modify the Copyright and license. For now, I think what is there is the same as elarun: # grep -ri copyr Main.qml:* Copyright (c) 2013 Reza Fatahilah Shah <[email protected]> Main.qml:* Copyright (c) 2013 Abdurrahman AVCI <[email protected]> Main.qml:* The above copyright notice and this permission notice shall be included Main.qml:* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR metadata.desktop:Copyright=(c) 2013, Reza Fatahilah Shah ACKNOWLEDGEMENT:Copyright=GPL 2010 Roman Shtylman | [email protected], 2012 Nuno Pineheiro # grep -ri licen Main.qml:* publish, distribute, sublicense, and/or sell copies of the Software, metadata.desktop:License=GPL ACKNOWLEDGEMENT:License=LGPLv3 ACKNOWLEDGEMENT:License=GPL > >> I only did this attempt, because I think it would be good having a >> (B)LFS theme, as it would also for lxdm. >> >> But I consider it a failure. >> > > I don't consider it a failure. > > ĸen > OK. Thanks, Ken, for not giving up on me. In better mood, now I agree with you. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
