Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 361A922378F for <~alpine/users@lists.alpinelinux.org>; Sun, 4 Jun 2023 09:06:25 +0000 (UTC) Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4QYrSv2xc0zDqs8; Sun, 4 Jun 2023 09:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685869583; bh=leRofVMZzMXRh3DVxvNz7P9198VXlwPD4DsV3eDIP5M=; h=Subject:From:To:Date:In-Reply-To:References:From; b=T9cFfVbTslKCZi9oT7s05saA1uDleRGZqv55v8r7Z8JWj9gjI0OQxVuGmEL0FOPNP BefJKhovrhZAVN76BK06hbBuERjx39eFC5wmsmNKOMVcdJ1tDKBosceHj45mdS8CbP UixYqGGcHF2Ve2wAm2SQfS+beN31/BEhIAY4wSKI= X-Riseup-User-ID: EE5BEDCBBE1C98BF1DE00DC52901B81CEF77FB052C613E150B38D0135E7D5778 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4QYrSt3RVDzJpNq; Sun, 4 Jun 2023 09:06:22 +0000 (UTC) Message-ID: Subject: Re: ~/.gtkrc-2.0 ~/.config/gtk-3.0/settings.ini and other pitfalls From: Ralf Mardorf To: alice , ~alpine/users@lists.alpinelinux.org Date: Sun, 04 Jun 2023 11:06:19 +0200 In-Reply-To: References: <7963ede9422221b4b93e7292bafd60730bffdac2.camel@riseup.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Sat, 2023-06-03 at 22:34 +0200, alice wrote: > this seems to be one of those weird cases: > =C2=A0$ gsettings set org.gnome.desktop.interface icon-theme Papirus > appears to work for pluma, but nothing else does. Hi, no it doesn't and it gets a lot worse... ~ $ ls -hl .config/dconf/ total 4K =20 -rw-r--r-- 1 mountain mountain 1.9K Jun 4 09:05 user ~ $ gsettings set org.gnome.desktop.interface icon-theme Papirus ~ $ ls -hl .config/dconf/ total 4K =20 -rw-r--r-- 1 mountain mountain 2.0K Jun 4 10:05 user ~ $ pluma reminder.txt=20 =20 ** (pluma:7425): WARNING **: 10:06:06.004: Could not load theme icon sys= tem-file-manager: Icon 'system-file-manager' not present in theme "Papirus" =20 ** (pluma:7425): CRITICAL **: 10:06:37.753: pluma_spell_checker_language= _to_key: assertion 'lang !=3D NULL' failed ...the icons don't change. Way more annoying is that changing the font size by the gtk configs gains absolutely nothing. ~ $ cat .gtkrc-2.0=20 gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3D"DejaVuSans 11" ~ $ cat .config/gtk-3.0/settings.ini=20 [Settings] gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3D"DejaVuSans 11" ~ $ meld .gtkrc-2.0 .config/gtk-3.0/settings.ini 2>/dev/null=20 ~ $ cat .gtkrc-2.0=20 gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3D"DejaVuSans 22" ~ $ cat .config/gtk-3.0/settings.ini=20 [Settings] gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3D"DejaVuSans 22" JIC I logged out and in, but absolutely no fontsize changed. ~ $ echo $XDG_CONFIG_HOME =20 ~ $ meld .gtkrc-2.0 .config/gtk-3.0/settings.ini 2>/dev/null=20 ~ $ cat .gtkrc-2.0=20 gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3DDejaVuSans-Bold 22" ~ $ cat .config/gtk-3.0/settings.ini=20 [Settings] gtk-theme-name=3D"Albatross" gtk-icon-theme-name=3D"Papirus" gtk-font-name=3D"DejaVuSans-Bold 22" After logging out and in all fonts are still the same. If I chose those fonts and sizes by app preferences, e.g. by Pluma's preferences, the correct font and size are used. It doesn't work for for Titles, Menus, Toolbars etc. and it was like this already before I launched obconf-qt for the very first time. Now for something [off-topic]: Regarding the Alpine Wiki it's obviously better instead of using wget [...] and apk add ./path/to/package to use tags: ~ $ cat /etc/apk/repositories=20 http://mirror.bahnhof.net/pub/alpinelinux/v3.18/main #http://mirror.bahnhof.net/pub/alpinelinux/latest-stable/main http://mirror.bahnhof.net/pub/alpinelinux/v3.18/community #http://mirror.bahnhof.net/pub/alpinelinux/latest-stable/community @e-test http://mirror.bahnhof.net/pub/alpinelinux/edge/testing @e-main http://mirror.bahnhof.net/pub/alpinelinux/edge/main @e-comm http://mirror.bahnhof.net/pub/alpinelinux/edge/community This works for my install :). Since xed failes to run, I'm on v3.18 and xed is from testing... ~ $ xed Error relocating /usr/lib/xed/libxed.so: xapp_dark_mode_manager_new: symbol= not found ...and because I need xnumlock and parcellite, I planned to rebuild xed against installed dependencies from v3.18, if possible. IOW I want to learn how to build Alpine packages. Sometimes the Alpine Wiki seems to be ambiguous. "# abuild-keygen -a -i" - https://wiki.alpinelinux.org/wiki/Creating_an_= Alpine_package#Setup_your_system_and_account I've done this, but it didn't add it to the abuild.conf and I don't understand how to edit PACKAGER_PRIVKEY=3D. Is it a path? The file content? I tested this and that but nothing works, e.g. ~ $ id uid=3D1000(mountainmouse) gid=3D1000(mountainmouse) groups=3D10(wheel),1= 8(audio),23(input),27(video),28(netdev),300(abuild),1000(mountainmouse) ~ $ cd aports/testing/xed/ ~/aports/testing/xed $ abuild -r abuild-sign: ralf-mardorf@riseup.net-647c3651.rsa.pub: File not found >>> ERROR: xed: all failed ~/aports/testing/xed $ ls -hl /etc/apk/keys/*ralf* -rw-r--r-- 1 root root 800 Jun 4 08:59 /etc/apk/keys/ral= f-mardorf@riseup.net-647c3651.rsa.pub ~/aports/testing/xed $ ls /home/mountainmouse/.abuild/abuild.conf /etc/a= build.conf ls: /home/mountainmouse/.abuild/abuild.conf: No such file or directory /etc/abuild.conf ~/aports/testing/xed $ cat /etc/abuild.conf # defaults are in /usr/share/abuild/default.conf # # uncomment line below to enable colors USE_COLORS=3D1 =20 # uncomment line below to enable ccache support. USE_CCACHE=3D1 =20 # where downloaded files are stored SRCDEST=3D/var/cache/distfiles =20 # uncomment line below to store built packages in other location # The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgre= l.apk # where $repo is the name of the parent directory of $startdir. REPODEST=3D$HOME/packages/ =20 # PACKAGER and MAINTAINER are used by newapkbuild when creating new apor= ts for # the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively= . PACKAGER=3D"Ralf Mardorf " #MAINTAINER=3D"$PACKAGER" =20 # what to clean up after a successful build CLEANUP=3D"srcdir bldroot pkgdir deps" =20 # what to cleanup after a failed build ERROR_CLEANUP=3D"bldroot deps" =20 # https://wiki.alpinelinux.org/wiki/Abuild_and_Helpers#Setting_up_the_bu= ild_environment #PACKAGER_PRIVKEY=3D in abuild.conf PACKAGER_PRIVKEY=3Dralf-mardorf@riseup.net-647c3651.rsa.pub Regards, Ralf