From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [ART] Updated SLiM theme with GuixSD logo Date: Sun, 15 Mar 2015 14:47:21 +0100 Message-ID: <87egoqv0d2.fsf@gnu.org> References: <235bf91f40c7ff2027aa3e33911cbeb9@hcoop.net> <878uezznfr.fsf@gnu.org> <0238f8a2c6ff25aa3ed2857c1637afc9@hcoop.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YX8t6-0001Mm-6u for guix-devel@gnu.org; Sun, 15 Mar 2015 09:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YX8t2-0003W3-5i for guix-devel@gnu.org; Sun, 15 Mar 2015 09:47:28 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YX8t2-0003Vz-2O for guix-devel@gnu.org; Sun, 15 Mar 2015 09:47:24 -0400 In-Reply-To: <0238f8a2c6ff25aa3ed2857c1637afc9@hcoop.net> (=?utf-8?B?Ig==?= =?utf-8?B?55m944GE54aK77yg55u45pKy6YGTIidz?= message of "Sat, 14 Mar 2015 18:44:25 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?55m944GE54aK77yg55u45pKy6YGT?= Cc: guix-devel@gnu.org =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B=B8=E6=92=B2=E9=81=93 skribis: > On 2015-03-14 15:03, ludo@gnu.org wrote: >>> The new theme is elegant, however I'd like to use the Gnu one out of >>> nostalgia. Where can I set it so SLiM shows the GNU logo instead? >> >> See the #:theme and #:theme-name options of =E2=80=98slim-service=E2=80= =99. >> >> HTH, >> Ludo=E2=80=99. > > Thanks for this. I've checked the options and understand theme-name > gives the dir of the theme. However, I've checked the two dirs of slim > I have installed in the store. One of them is the original one, which > boots with the GNU, the other one is the current one with the GuixSD > logo. However both only contain a `default' theme dir, plus none of > these contain either the GNU or GuixSD background. > > So, SLiM must be getting them from somewhere else. But where? I ran a > file search for common graphics types with names containing gnu, GNU, > and uix, but found nothing. I must be missing something. Could you > help me move further along? The default theme and theme name of =E2=80=98slim-service=E2=80=99 are defi= ned in (gnu services xorg): --8<---------------cut here---------------start------------->8--- (define %default-slim-theme ;; Theme based on work by Felipe L=C3=B3pez. #~(string-append #$%artwork-repository "/slim")) (define %default-slim-theme-name ;; This must be the name of the sub-directory in %DEFAULT-SLIM-THEME that ;; contains the actual theme files. "0.8") --8<---------------cut here---------------end--------------->8--- The =E2=80=98artwork-repository=E2=80=99 variable here comes from (gnu artw= ork): --8<---------------cut here---------------start------------->8--- (define %artwork-repository (origin (method git-fetch) (uri (git-reference (url "git://git.savannah.gnu.org/guix/guix-artwork.git") (commit "61ae7c8"))) (sha256 (base32 "102fxk2l6b0ibry3n430q8ljhwrnbml9qgalzkz6v09r7sx6a532")))) --8<---------------cut here---------------end--------------->8--- To use the =E2=80=9CGNU=E2=80=9D SLiM screen, you need to use an older revi= sion of the guix-artwork.git repository. So, in your OS config file, you can write something like this (untested): --8<---------------cut here---------------start------------->8--- (define %old-artwork (origin (method git-fetch) (uri (git-reference (url "git://git.savannah.gnu.org/guix/guix-artwork.git") (commit "3236581"))) ;pre-GuixSD branding (sha256 (base32 "0ayg0693agck8zkcxfymph5ccc3y44cdf9i4y0qvxajhac8rkcaj")))) (define %old-slim-theme #~(string-append #$%old-artwork "/slim")) (define %old-slim-theme-name "0.8") (operating-system ;; ... (services (cons (slim-service #:theme %old-slim-theme #:theme-name %old-slim-theme-name) ;; ... ))) --8<---------------cut here---------------end--------------->8--- HTH! Ludo=E2=80=99.