You are not logged in.

#1 2010-01-29 19:21:17

xiaweitang
Member
Registered: 2010-01-03
Posts: 61

starting X application in terminal causes warnings

When starting some X applications like emacs and evince within xterm or urxvt, I always ge warnings

emacs &
GLib-WARNING **: g_set_prgname() called multiple times
evince &
** (evince:3624): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name

The applications start okay, but why those warnings?

Offline

#2 2010-01-29 22:48:17

PirateJonno
Forum Fellow
From: New Zealand
Registered: 2009-04-13
Posts: 372

Re: starting X application in terminal causes warnings

the first one happens for a lot of programs that use glib, it's probably a glib bug

the second one probably means you have to install gnome-settings-daemon


"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page

Offline

#3 2010-01-29 23:02:05

xiaweitang
Member
Registered: 2010-01-03
Posts: 61

Re: starting X application in terminal causes warnings

PirateJonno wrote:

the first one happens for a lot of programs that use glib, it's probably a glib bug

the second one probably means you have to install gnome-settings-daemon

What is gnome-settings-daemon? Why evince would need that?

Offline

#4 2010-01-29 23:15:37

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: starting X application in terminal causes warnings

xiaweitang wrote:
PirateJonno wrote:

the first one happens for a lot of programs that use glib, it's probably a glib bug

the second one probably means you have to install gnome-settings-daemon

What is gnome-settings-daemon? Why evince would need that?

Because evince is thinking to work with gnome, i imagine it needs the daemon to configure some properties, etc.

Offline

#5 2010-01-30 07:30:34

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: starting X application in terminal causes warnings

n0dix wrote:

Because evince is thinking to work with gnome, i imagine it needs the daemon to configure some properties, etc.

You may try evince-gtk from the AUR instead.

Edit:
Naah - just tried, the dbus-warning persists.

** (evince:24167): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name

This should not happen, imo. Could there be a stale setting from a previous standard evince installation I did miss?

Last edited by bernarcher (2010-01-30 07:40:08)


To know or not to know ...
... the questions remain forever.

Offline

#6 2010-01-30 12:11:42

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: starting X application in terminal causes warnings

Now I did compile evince-gtk with the --disable-dbus configure option set in the PKGBUILD. The gnome-settings-daemon dbus warning message is gone and evince appears to work properly on first simple tests.

There is a comment in the evince-gtk AUR package however:

Comment by: skottish on Tue, 10 Nov 2009 15:19:57 +0000

    Evince uses dbus to open documents in a single process and aids in inner-application communication. I would leave it unless there's a bug of some sort.

Comment by: jelly on Tue, 10 Nov 2009 12:23:29 +0000

    i could build evince-gtk without dbus, dont know if it's really better without it.
    --disable-dbus

Don't know whether this will affect the workings of this evince installation.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB