bug#23001: emacs in X has icons missing and throws warnings in tty

2018-04-06 Thread Ludovic Courtès
Hi George,

myg...@gmail.com skribis:

> In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
> produces these errors, so I think this should be closed.

Thanks for the update, closing!

Ludo’.





bug#23001: emacs in X has icons missing and throws warnings in tty

2018-04-05 Thread myglc2
On 04/05/2018 at 19:24 myg...@gmail.com writes:

> In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
> produces these errors, so I think this should be closed.
>
> TIA - George

Note: installation of dbus is not required & this config works too ...



eservx
Description: Binary data


bug#23001: emacs in X has icons missing and throws warnings in tty

2018-04-05 Thread myglc2

In guix (GNU Guix) 0.14.0.4032-cfb55 the attached config no longer
produces these errors, so I think this should be closed.

TIA - George



eserv
Description: Binary data


bug#23001: emacs in X has icons missing and throws warnings in tty

2017-11-15 Thread myglc2
Updating this for what I see in guix (GNU Guix) 0.13.0.4589-74bea6

On 03/12/2016 at 19:43 myglc2 writes:

> When running GuixSD on a headless server  ...
>
> ssh
> emacs
>
> ... produces emacs running in X but ...
>
> - all of the menu icons are missing except one ('file drawers')

Icons are all OK now. Yeah!

> - lots of messages are shooting in the tty session (sample below).
[...]

Now only two messages are being generated ...


g1@g1 ~$ emacs
process 27189: D-Bus library appears to be incorrectly
set up; failed to read machine uuid: Failed to open "/etc/machine-id":
No such file or directory See the manual page for dbus-uuidgen to
correct this issue.

** (emacs-25-3:27189): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.a11y.Bus was not provided by any .service files


Attempting to follow the instructions in the first message, I installed
dbus, but I don't see any dbus-uuidgen man page, or any other dbus man
pages.

The second message is referenced in bug#28088 ...

Subject: bug#28088: "The name org.a11y.Bus was not provided by any
.service files" with multiple applications

The messages seem harmless. Perhaps the bug should be downgraded?

Current config:



sys.scm
Description: Binary data


g1-emacs-dbus.scm
Description: Binary data


bug#23001: emacs in X has icons missing and throws warnings in tty

2016-05-28 Thread 宋文武
Well, now the gtk+ is linked with gdk-pixbuf+svg, with
adwaita-icon-theme and shared-mime-info (used by gdk-pixbuf at runtime)
all my Emacs toolbar icons are missing (empty), but without any warning.





bug#23001: emacs in X has icons missing and throws warnings in tty

2016-04-04 Thread Chris Marusich
myglc2  writes:

> Chris Marusich  writes:
>
>> Also, are your XDG environment variables set correctly?  See the
>> following email thread, which seems related to your issue:
>>
>> https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html
>>
>> I hope that helps,
>
> Thanks. Don't know. I looked at ...
>
> https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html
>
> ... and I have these vars ...
>
> env | grep XDG
> XDG_SESSION_ID=114
> XDG_DATA_DIRS=/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share:/gnu/store/jswsfkynf6msmsbvsh2d7hnf4wym6pm9-glib-2.46.1/share:/gnu/store/wmcakj4kvmqs5l5hzbf7iqpxy6gkxkwr-gtk+-3.18.2/share:/gnu/store/xiniqmgmyjj4k85dv07l41ay6lhwk7gp-emacs-24.5/share
> XDG_RUNTIME_DIR=/run/user/1001
>
> ... but I don't have the 'XDG_CONFIG_DIRS' var shown in that post.
>
> BTW, since I posted the bug I switched to running Guix/Debian. The same
> icons are missing and I still get similar error messages ...

I see.  What if you try setting GTK_DATA_PREFIX [1] to the profile where you
installed the themes?  I don't know if that will work; it's just a guess.

[1] https://developer.gnome.org/gtk3/stable/gtk-running
"GTK_DATA_PREFIX.  If set, makes GTK+ use $GTK_DATA_PREFIX instead of
the prefix configured when GTK+ was compiled."

-- 
Chris


signature.asc
Description: PGP signature


bug#23001: emacs in X has icons missing and throws warnings in tty

2016-04-02 Thread Chris Marusich
Hi,

I'm using emacs in X on my GuixSD (version 0.10.0) laptop (not a
headless server), and all the icons seem to be showing up correctly for
me by default.

I think the adwaita icons are provided by the package adwaita-icon-theme
(although gnome-themes-standard also purports to supply a copy of it,
too):

--8<---cut here---start->8---
$ guix package --search=adwaita
name: adwaita-icon-theme
version: 3.18.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: gtk+-3.18.2 icon-naming-utils-0.8.90 intltool-0.51.0
+ pkg-config-0.29
location: gnu/packages/gnome.scm:597:2
homepage: http://art.gnome.org/
license: LGPL 3
synopsis: GNOME icon theme
description: Icons for the GNOME desktop.

name: gnome-themes-standard
version: 3.18.0
outputs: out
systems: x86_64-linux i686-linux armhf-linux mips64el-linux
dependencies: glib-2.46.1 glib-2.46.1 gtk+-2.24.28 gtk+-3.18.2 intltool-0.51.0
+ librsvg-2.40.13 libxml2-2.9.3 pkg-config-0.29
location: gnu/packages/gnome.scm:1609:2
homepage: https://launchpad.net/gnome-themes-standard
license: LGPL 2.1+
synopsis: Default GNOME 3 themes
description: The default GNOME 3 themes (Adwaita and some accessibility themes).
--8<---cut here---end--->8---

Are either of these packages installed on your system?  Also, are your XDG
environment variables set correctly?  See the following email thread,
which seems related to your issue:

https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00764.html

I hope that helps,

-- 
Chris


signature.asc
Description: PGP signature


bug#23001: emacs in X has icons missing and throws warnings in tty

2016-03-12 Thread myglc2
When running GuixSD on a headless server  ...

ssh
emacs

... produces emacs running in X but ...

- all of the menu icons are missing except one ('file drawers')

- lots of messages are shooting in the tty session (sample below).

This actually doesn't bother me because, hey, who uses the stinking
icons? But it is messy and  on #guix reported the same thing:

VV
 I was expecting if I do -i emacs -- to get binary emacs, not the
ony that was compiled without gdk-pixbuf incorrectly
 JeanLouis: what do you mean by "that was compiled without
  gdk-pixbuf incorrectly" ?
 https://rcdrun.com/images/upload/tmp/2016-03-12-23:41:52.jpg
 that is what I mean
 (emacs-24-5:28561): Gdk-CRITICAL **:
gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF
(pixbuf)' failed[18:06]
 I get many such when running it.
 buttons missing
^^

Here is my setup:

M-x version:
GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.2) of
2016-02-27 on localhost

Guix commit:
* master 81a9653 gnu: webkitgtk: Update to 2.10.8 [fixes CVE-2016-1726].

Example of the messages in the tty session:
V
** (emacs-24-5:18164): WARNING **: Couldn't connect to accessibility bus: 
Failed to connect to socket /tmp/dbus-JHb3wYZmX7: Connection refused

(emacs-24-5:18164): Gtk-WARNING **: Could not find the icon 'document-new'. The 
'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'document-new' for 
stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'image-missing' 
for stock: Icon 'image-missing' not present in theme Adwaita

(emacs-24-5:18164): GLib-GObject-CRITICAL **: g_object_ref: assertion 
'G_IS_OBJECT (object)' failed

(emacs-24-5:18164): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: 
assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(emacs-24-5:18164): GLib-GObject-CRITICAL **: g_object_unref: assertion 
'G_IS_OBJECT (object)' failed

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'document-new' for 
stock: Icon 'document-new' not present in theme Adwaita

(emacs-24-5:18164): Gtk-WARNING **: Error loading theme icon 'image-missing' 
for stock: Icon 'image-missing' not present in theme Adwaita
^



c05glc.scm
Description: Binary data


c05system.scm
Description: Binary data