unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>
To: "Jorge P.de Morais Neto" <jorge+list@disroot.org>, 48300@debbugs.gnu.org
Subject: bug#48300: closed (Re: Emacs cursor theme is not inherited from the OS when using foreign Guix)
Date: Thu, 20 Jan 2022 12:45:09 +0100	[thread overview]
Message-ID: <bf019799c136b53f3aa6673a226ec6d5c448dcb3.camel@ist.tugraz.at> (raw)
In-Reply-To: <8735li7il1.fsf@disroot.org>

Am Donnerstag, dem 20.01.2022 um 08:27 -0300 schrieb Jorge P.de Morais
Neto:
> Hello.  So the solution to the bug is for the user to manually write
> the file ~/.config/systemd/user/gnome-shell-
> x11.service.d/override.conf ?
> 
> I would like to know a little more about that.  What is the advantage
> of specifying the environment variables on that file instead of
> ~/.profile?
> 
> Kind regards,
>   Jorge
In my personal experience, the value did not get sourced correctly when
I put it into .bash_profile.  I do not know about .profile, but I guess
you'll run into similar issues.  In either case, evaluation order is
something you might want to consider.

Now the advantage of doing this at all is that you get finer control
over which environment variables are set when.  It doesn't really make
sense to e.g. set the font path when you're in a terminal.  The
disadvantage is that it's obscure and brittle -- the value TZDIR will
only be correctly set inside GNOME in this example, for other desktop
environments you'd have to copy the definitions.  What if you're
launching just a terminal session?  Don't ask me.

I'm pretty sure there's some systemd file where you can put these
instead, but in the years of using it up to encountering Guix I've
never needed such a thing and now that I do use Guix, I'm quite content
with Shepherd as my PID 1.  I still remember some of systemd's major
features that I miss from shepherd, like socket activation or the
ability to control GNOME Shell at all, but ask me about some incredibly
mundane task like setting a timer and I'll have to consult a manual on
that.

Cheers




  reply	other threads:[~2022-01-20 15:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20  0:03 bug#53379: Emacs cursor theme is not inherited from the OS when using foreign Guix John Hamelink
2022-01-20  8:18 ` Liliana Marie Prikler
2021-05-08 21:19   ` bug#48300: Guix Emacs does not get "America/Sao_Paulo" timezone by name Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-08 23:56     ` Leo Prikler
2021-05-09 15:38       ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-09 15:57         ` Leo Prikler
2021-05-09 19:41           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-09 20:08             ` Leo Prikler
2021-05-09 22:23               ` Jorge P. de Morais Neto via Bug reports for GNU Guix
     [not found]     ` <handler.48300.D48300.164266674622788.notifdone@debbugs.gnu.org>
2022-01-20 11:27       ` bug#48300: closed (Re: Emacs cursor theme is not inherited from the OS when using foreign Guix) Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 11:45         ` Liliana Marie Prikler [this message]
2022-01-20 12:29           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 12:59             ` Liliana Marie Prikler
2022-01-20 14:12               ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 20:26         ` Thiago Jung Bauermann via Bug reports for GNU Guix
2022-01-21 13:11           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20  9:03   ` bug#48300: Emacs cursor theme is not inherited from the OS when using foreign Guix John Hamelink
2022-01-20  9:16     ` bug#53379: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf019799c136b53f3aa6673a226ec6d5c448dcb3.camel@ist.tugraz.at \
    --to=liliana.prikler@ist.tugraz.at \
    --cc=48300@debbugs.gnu.org \
    --cc=jorge+list@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).