On Sat, Jul 25, 2015 at 03:10:41PM -0500, Bruce Dubbs wrote:
> Ken Moffat wrote:
> >
> >I'll take a look at trying to create my own theme.  This may take
> >some time, I really do not understand any of this at the moment.
> 
> I'll be interested in what you find out.  I've felt that a section on how
> themes, icons, fonts, images, etc are used in a desktop would be a good
> addition to the book.
> 
> I know there is /usr/share/{themes,applications,fonts,icons,pixmaps} and
> probably some other files, but I suspect things are different for gtk2,
> gtk3, and qt.
> 
Just to be clear, I'm only going to look at how to create a theme
for sddm : it uses QML (spelling?) from qt5.  Initially, this is
just to get something which works for me (a background which I like,
no stupid user icons - I have not managed to use my own icon anyway,
usable shutdown/reboot/login, clock, no keyboard selection).  Of
course, the clock probably needs the same change as plasma (symlink
for /etc/localtime) so it is anyway not going to play nice if /usr
is a separate filesystem.

Ideally, of course, I would also like suspend (to RAM) from the DM:
sddm apparently supports this, and gentoo has a patch which is
supposed to allow it to work in a non-systemd machine (just comments
out one line, a sed can do that) but neither as-shipped nor patched
sddm worked for me.  Maybe I'll try to dig down, but no promises.

Adding a section sounds useful and could perhaps replace most of
what we put in Xorg about modern fonts (can you tell that I still
think BLFS is living in the past with its use of legacy Xorg fonts ?
;-) but I suspect the details are going to be *very* different for
each desktop, or at least for each toolkit.

e.g. plasma uses oxygen for its default fonts.  You can change this
in the settings application/menu.  For xfce, Fernando pointed me to
lxappearance - I forget whether that was to sort out icons or
something else.

Perhaps each DE in the book ought to have a section with some
details of how to change the appearance of that DE ?

At the moment, I think we put DMs in with their DE - arguably, sddm
could also be used for lxqt (I have not checked to see what Fernando
put into the book for lxqt, but I think it has an alternative DM).

Themes themselves seem to be in various places - for kde4 ISTR that
there was a general kde site (I won't be building kde4 again, unless
I manage to resurrect the machine which seems to have totally died).
For sddm (which is not a DE but has its own themes) I'm having
difficulty finding a reliable site - found a couple of things, but
no general site for themes not included upstream.  I thought I saw
one the other day, but today my google-fu did not work.

I'll also note that I cannot use the breeze sddm theme from kde5 -
probably because kf5 and plasma are in /opt/kf5, in the same way
that I cannot use plasma from sddm (nowhere to specify the PATH and
related environment variables).  Yesterday I tried exporting all the
KF5 variables in my script which starts sddm, but that runs as user
sddm and once a user logs in the desktop is fired up (or not) from
the chosen .desktop file which has nowhere to pass even $PATH.  So
for a desktop, things should be in /usr (might manage with qt5 in
/opt, but not with kde in /opt/kf5).

ĸen
-- 
This one goes up to eleven!
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to