unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Jaft <wamm_kd_schmelingski@yahoo.com>
Cc: 52044@debbugs.gnu.org
Subject: bug#52044: Various Program Settings not Saving and Icons not Recognized
Date: Fri, 26 Nov 2021 17:45:17 +0100	[thread overview]
Message-ID: <c0fc9437424d8b797df9fe0afe710ccd2459ad2e.camel@gmail.com> (raw)
In-Reply-To: <1962172575.272360.1637610844717@mail.yahoo.com>

Hi Jaft,

> I'm not sure if it's stemming from a bug or I've just missed a package
> or service I should've included but I find there're several programs I
> have installed which aren't saving their settings.
> Catfish and thunar are two easy examples while gnome-calendar, arandr,
> and viewnior do save their preferences, when modified, just fine. In a
> sort of weird middle-ground, lxappearance will save, say, an icon
> change (I can check .config/gtk-3.0/settings.ini and see that the icons
> have been updated) but, upon opening it, again, I find that it says the
> previous icon set is what's been chosen (this doesn't affect the
> settings.ini file, though; I would need to actually reselect the old
> icon set and hit Apply for that to get updated, once more).
Many GNOME-adjacent/GTK-based applications use GSettings to store their
configuration and are backed by a dconf store.  You can use dconf-editor
to inspect/change their values manually.
Communication between your application and the dconf store is provided
by the dconf-service, which itself uses DBus.  My guess is that either
dbus is not started at all or the dconf-service is not running.

> In a sort of similar vein, icons can't seem to be recognized for
> particular programs; thunar and gnome-screenshot are easy examples and
> I've attached an image indicating what I mean. Catfish is fine but I
> think it's falling back to the HighContrast iconset (interestingly, the
> only iconset that seems to work when I set it in lxappearance). rofi,
> even, isn't able to provide any application icons when using drun mode.
> lxappearance and nitrogren are two I've noticed using the icons I set
> (Papirus-Light, mostly).
Most GTK-based applications again use the GTK icon theme set by your
window manager (usually) using GSettings/dconf.  Most applications also
typically fall back to hicolor-icon-theme, but that appears to be
lacking from your system definition.  Note that it's *not* included in
gnome-themes-standard.

You appear to be using quite anemic versions of the GNOME/XFCE desktop
environments overall.  While yes, it is a bug that those applications
typically fail to deliver icons outside of their respective
environments, it is a fact we have to deal with.  An alternative
"solution" to this problem would require us to propagate stuff like
hicolor-icon-theme from each and every one of them, resulting in
conflicts if you want to bump just a single package.

I tested around a little and with the following I can at least see
the icons of nautilus and gnome-settings-daemon, even when using
e.g. ratpoison as my window manager
--8<---------------cut here---------------start------------->8---
(define anemic-gnome
  (package
   (inherit gnome)
   (propagated-inputs
    `(;; GNOME-Core-Shell
      ("adwaita-icon-theme" ,adwaita-icon-theme)
      ("gnome-keyring" ,gnome-keyring)
      ("gnome-session" ,gnome-session)
      ("gnome-control-center" ,gnome-control-center)
      ("gnome-settings-daemon" ,gnome-settings-daemon)
      ("gnome-system-monitor" ,gnome-system-monitor)
      ("gnome-shell" ,gnome-shell)
      ("gvfs" ,gvfs)
      ("mutter" ,mutter)
      ("gnome-calculator" ,gnome-calculator)
      ("gnome-font-viewer" ,gnome-font-viewer)
      ("gnome-screenshot" ,gnome-screenshot)
      ("gnome-terminal" ,gnome-terminal)
      ("nautilus" ,nautilus)
      ;; Others
      ("hicolor-icon-theme" ,hicolor-icon-theme)
      ("font-abattis-cantarell" ,font-abattis-cantarell)
      ("gnome-themes-standard" ,gnome-themes-standard)))))
--8<---------------cut here---------------end--------------->8---
using the following values of services while either leaving packages
as %base-packages or simply consing some other window manager to it.
--8<---------------cut here---------------start------------->8---
 (services
   (cons*
    (service gnome-desktop-service-type
             (gnome-desktop-configuration (gnome anemic-gnome)))
    (service slim-service-type
             (slim-configuration (display ":0") (vt "vt7")
                                 (xorg-configuration
                                  (xorg-configuration
                                   (keyboard-layout keyboard-layout)))))
    (modify-services %desktop-services
                     (delete gdm-service-type))))
--8<---------------cut here---------------end--------------->8---

The same can surely be done for xfce-desktop-service as well.  You are
free to cut even more inputs, but be warned that at some point
gnome-desktop-service starts raising errors when you try to build your
system.  It shouldn't do that when merely missing icons, though.

Cheers




  reply	other threads:[~2021-11-26 16:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1962172575.272360.1637610844717.ref@mail.yahoo.com>
2021-11-22 19:54 ` bug#52044: Various Program Settings not Saving and Icons not Recognized Jaft via Bug reports for GNU Guix
2021-11-26 16:45   ` Liliana Marie Prikler [this message]
2021-11-28 12:52     ` Jaft via Bug reports for GNU Guix
2021-11-28 13:57       ` Liliana Marie Prikler
2021-11-29  4:01         ` Jaft via Bug reports for GNU Guix
2021-11-29  5:20           ` Liliana Marie Prikler
2021-12-02  2:10             ` Jaft via Bug reports for GNU Guix
2021-12-02 19:33               ` Liliana Marie Prikler
2021-12-02 20:16                 ` Jaft via Bug reports for GNU Guix
2021-12-02 20:50                   ` Liliana Marie Prikler
2021-12-02 23:30                     ` Jaft via Bug reports for GNU Guix
2021-12-17  6:56                       ` Jaft via Bug reports for GNU Guix
2021-12-17  9:00                         ` Josselin Poiret via Bug reports for GNU Guix
2022-01-03 22:05                           ` Jaft via Bug reports for GNU Guix
2022-01-04 20:00                             ` 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=c0fc9437424d8b797df9fe0afe710ccd2459ad2e.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=52044@debbugs.gnu.org \
    --cc=wamm_kd_schmelingski@yahoo.com \
    /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).