From: Jaft via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: "52044@debbugs.gnu.org" <52044@debbugs.gnu.org>
Subject: bug#52044: Various Program Settings not Saving and Icons not Recognized
Date: Sun, 28 Nov 2021 12:52:01 +0000 (UTC) [thread overview]
Message-ID: <1044076368.6013516.1638103922082@mail.yahoo.com> (raw)
In-Reply-To: <c0fc9437424d8b797df9fe0afe710ccd2459ad2e.camel@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 12140 bytes --]
Thanks so much, Liliana, for the response; this really helpful and enlightening in terms of understanding Guix better (I think I tend to learn more intuitively from examples than anything).
> On Friday, November 26, 2021, 04:45:19 PM UTC, Liliana Marie Prikler <liliana.prikler@gmail.com> wrote: >
>
> 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.
That makes sense; I definitely did not have anything dconf-related running. In case anyone else does stumble upon this E-mail thread and is curious, you can also circumvent running dconf (that was never a goal, for me; I just stumbled upon it) with xfconf; running my original setup with that installed actually caused settings to be saved perfectly.
> > 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.
This is where I'm still running into issues; I don't know if xfconf has any effect here (I haven't tested how things go without it installed) but I tried the Gnome setup that you demonstrated and, likewise, I was able to update and change (via gnome-tweaks) the icons. Out of curiosity, I tried XFCE as well (just the full setup) by adding to my services: (service xfce-desktop-service-type (xfce-desktop-configuration (xfce xfce))).
I also installed the hicolor and Adwaita icons as I read that Thunar (or maybe GTK app.s in general?) don't work at all if those aren't present (and, with mere light observance, that does seem to be true); logging into the XFCE desktop, it didn't seem like icons were working as the folders were all clearly Adwaita but, at some point, I realized that some of the icons were changing (namely, the files): it just wasn't changing all of them.
I took a look at my original setup, as well, and found the same result. I've attached some pictures of icon selection from within the XFCE desktop and it shows that the folders for a whole host of themes keep trying to use the Adwaita folders; not all of them but most.
(If I understood correctly,) you were saying that a similar setup to the Gnome example you gave could work with XFCE but running the full, plain XFCE (assuming I did that right) still resulted in this weird thing with the icons so I'm assuming there's something larger here, going on? It definitely works right, on Gnome, and I'm able to see all icons of the picked icon theme get loaded correctly but it seems, to me, that's not the case with XFCE.
Tangential but, bug-wise, unrelated: I mentioned rofi not showing application icons. Looking at the errors it produces, when run, I'm getting stuff like:
(process:30101): Helpers.IconFetcher-WARNING **: 06:23:32.467: Failed to load image: Couldn’t recognize the image file format for file “/run/current-system/profile/share/icons/Papirus-Light/96x96/apps/org.xfce.catfish.svg”
I tried searching for if anyone had run into a similar problem and found gdk-pixbuf2 2.32.1-1 with librsvg 2.40.10-1: "Couldn't recognize the image file format for file" error for SVG files · Issue #818 · msys2/MINGW-packages and [BUG] SVG rendering failed on rofi version 1.6.1 · Discussion #1235 · davatorium/rofi but the first didn't seem particularly related (beyond referencing the library, I think, rofi uses and, even then, Guix is on a later version, by now) and, in the second link, someone refers to Guix to reference how things should be setup so that didn't really bring much enlightenment, either.
I tried running rofi with G_MESSAGES_DEBUG=Helpers.IconFetcher, to get debugging messages and got:
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: ani
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: bmp
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: gif
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: icns
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: ico
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: cur
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: jpeg
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: jpe
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: jpg
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: png
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: pnm
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: pbm
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: pgm
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: ppm
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: qtif
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: qif
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: tga
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: targa
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: tiff
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: tif
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: xbm
Helpers.IconFetcher-INFO: 06:38:06.245: Add image extension: xpm
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.268: Query: preferences-desktop-theme(80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.269: starting up icon fetching thread.
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.270: Query: org.xfce.catfish(80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.270: starting up icon fetching thread.
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.271: Query: icecat(80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.271: starting up icon fetching thread.
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.271: Query: (80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.271: Query: org.xfce.powermanager(80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.272: Query: chromium(80)
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.272: starting up icon fetching thread.
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.272: found icon preferences-desktop-theme(80x80): /run/current-system/profile/share/icons/Papirus-Light/96x96/apps/preferences-desktop-theme.svg
(process:7244): Helpers.IconFetcher-WARNING **: 06:38:06.272: Failed to load image: Couldn’t recognize the image file format for file “/run/current-system/profile/share/icons/Papirus-Light/96x96/apps/preferences-desktop-theme.svg”
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.272: starting up icon fetching thread.
(process:7244): Helpers.IconFetcher-DEBUG: 06:38:06.275: found icon org.xfce.catfish(80x80): /run/current-system/profile/share/icons/Papirus-Light/96x96/apps/org.xfce.catfish.svg
SVGs don't seem to be loaded as an extension, though librsvg is a dependency of rofi (I assume it's related to SVG handling for when rofi is running).
|
|
|
| | |
|
|
|
| |
[BUG] SVG rendering failed on rofi version 1.6.1 · Discussion #1235 · da...
SVG rendering failed on rofi version 1.6.1. Fallback the version to 1.5.4 and rendering works normally. Version ...
|
|
|
|
|
|
| | |
|
|
|
| |
gdk-pixbuf2 2.32.1-1 with librsvg 2.40.10-1: "Couldn't recognize the im...
When MyPaint tries to load an icon for its initial runtime test, I get: ERROR: gui.application: Missing icon 'my...
|
|
|
>
> 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
[-- Attachment #1.2: Type: text/html, Size: 27284 bytes --]
[-- Attachment #2: Screenshot from 2021-11-28 01-56-36.png --]
[-- Type: image/png, Size: 75254 bytes --]
[-- Attachment #3: Screenshot from 2021-11-28 01-57-20.png --]
[-- Type: image/png, Size: 77353 bytes --]
next prev parent reply other threads:[~2021-11-29 5:34 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
2021-11-28 12:52 ` Jaft via Bug reports for GNU Guix [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1044076368.6013516.1638103922082@mail.yahoo.com \
--to=bug-guix@gnu.org \
--cc=52044@debbugs.gnu.org \
--cc=liliana.prikler@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.