Registered Member
|
I'm trying to change some kgpg defaults for new user accounts using XDG. I have the following snippet placed in a file called "kgpgrc" in a $XDG_CONFIG_DIR directory, but there's absolutely no effect when a user runs kgpg.
Any suggestions about how to debug this?
|
Registered Member
|
Kgpg version ? Earlier you wrote - viewtopic.php?f=289&p=381746#p381648 - that you are using the Debian. Debian Stretch ? Debian Kgpg: https://packages.debian.org/search?keyw ... ection=all Stretch has: Package: kgpg (4:16.08.3-1) - https://packages.debian.org/stretch/kgpg It is for the 'old' KDE4. The KDE4 is following the $KDEHOME -> ~/.kde or ~/.kde4 KF5 is following the $XDG_CONFIG_DIR. You could look how the mixed (KF5 / KDE4) distributions are doing it. The Kubuntu has kubuntu-settings-desktop package: https://packages.ubuntu.com/artful/kubu ... gs-desktop . It has defaults for the kgpg (KDE4) at /usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kgpgrc . The Kubuntu is using /etc/kde4rc for the KDE4. |
Registered Member
|
You're right. I extracted kubuntu's settings package and confirmed what you said. My belief now is that kgpg can be affected via kde4rc but not via xdg
$ cat etc/kde4rc [Directories-default] prefixes=/usr/share/kubuntu-default-settings/kde4-profile/default/ $ ls usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kgpgrc usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kgpgrc $ cat etc/X11/Xsession.d/70xdg-kubuntu-dir # Added a path to put Kubuntu Settings XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:/usr/share/kubuntu-default-settings/kf5-settings" $ ls usr/share/kubuntu-default-settings/kf5-settings kcm-about-distrorc muondatasourcesrc |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]