From: ludo@gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke@gnu.org>, iyzsong@member.fsf.org
Cc: guix-devel@gnu.org
Subject: Re: gnome-tweak-tool tweaks
Date: Fri, 10 Jun 2016 14:24:27 +0200 [thread overview]
Message-ID: <87ziqt2pvo.fsf@gnu.org> (raw)
In-Reply-To: <87wpm23l2w.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 06 Jun 2016 08:09:11 +0200")
Hello!
Jan Nieuwenhuizen <janneke@gnu.org> skribis:
> When starting gnome-tweak-tool, it prints a warning
>
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
>
> The patch below has gnome-tweak-tool communicate with gsettings instead
> of using the `memory. I'm not sending it as a fix yet because
> gnome-tweak-tool does not list any themes, as davexunit reported.
So does the patch fix something? (Sorry, I’m quite ignorant about
GNOMEy things.)
> I/O error : Permission denied
> I/O error : Permission denied
> Failed to write XML file; For permission problems, try rerunning as root
I found that string comes from ‘shared-mime-info’, which is itself used
by the ‘xdg-mime-database’ hook in (guix profiles) (a hook that runs
when the profile is created to update the MIME database):
--8<---------------cut here---------------start------------->8---
static gboolean save_xml_file(xmlDocPtr doc, const gchar *filename, GError **error)
{
#if LIBXML_VERSION > 20400
if (xmlSaveFormatFileEnc(filename, doc, "utf-8", 1) < 0)
{
g_set_error(error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
"Failed to write XML file; For permission problems, try rerunning as root");
return FALSE;
}
#else
--8<---------------cut here---------------end--------------->8---
宋文武: any idea what the problem might be? Perhaps
‘update-mime-database’ is trying to write to /gnu/store/…-something?
Also, it’s a problem that ‘update-mime-database’ returns 0 here, as
seems to be the case.
Thanks,
Ludo’.
next prev parent reply other threads:[~2016-06-10 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 6:09 gnome-tweak-tool tweaks Jan Nieuwenhuizen
2016-06-10 12:24 ` Ludovic Courtès [this message]
2016-06-11 3:49 ` 宋文武
2016-06-12 19:42 ` Ludovic Courtès
2016-06-11 7:21 ` Jan Nieuwenhuizen
2016-06-12 20:21 ` Ludovic Courtès
2016-06-12 21:18 ` Jan Nieuwenhuizen
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=87ziqt2pvo.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=iyzsong@member.fsf.org \
--cc=janneke@gnu.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 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.