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. 1600x1200 is not very common, some smaller sizes are. > 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 -- This one goes up to eleven: but only on a clear day, with the wind in the right direction. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
