Problèmes et questions sur les environnements graphiques et les applications.
Répondre

service notifications XFCE

#1Messageil y a 1 an

Bonjour,

J'essaie par tous les moyens d'activer le service xfce4-notifyd.

Pas de traces dans le Wiki de Manjaro - ou je n'ai pas bien cherché.

J'ai suivi le Wiki d'Archlinux, mais cela ne fonctionne pas.

Dans le panneau, j'ai "aucune notification ne sera affichée car le service n'est pas démarré.

J'ai essayé sudo systemctl --user start xfce-notifyd : cela ne fonctionne pas.
sudo --user start xfce-notifyd-config : ne fonctionne pas non plus.

Comment démarrer ce service.

Cette documentation ne m'en dit pas plus non plus.

service notifications XFCE

#2Messageil y a 1 an

Curieux.....

[steph@steph-pc ~]$ systemctl status xfce4-notifyd
Unit xfce4-notifyd.service could not be found.
Mais si je lui mets un grep:

[steph@steph-pc ~]$ systemctl status |grep xfce4-notifyd
           │   │ ├─xfce4-notifyd.service
           │   │ │ └─884 /usr/lib/xfce4/notifyd/xfce4-notifyd
           │     └─1793 grep --color=tty -d skip xfce4-notifyd
Donc c'est actif chez moi.
Tu devrais le voir avec xfce4-notifyd-config. Si la fenêtre s'ouvre, c'est que le service est actif.

service notifications XFCE

#3Messageil y a 1 an

Oui, la fenêtre s'ouvre, mais j'ai une bande rouge qui me dit :

Le service de notification n'est pas en cours d'exécution. Aucune notification ne sera affichée.:siffle:desole::desole:

Perso, je n'ai que ce retour :

$ systemctl status |grep xfce4-notifyd
           │     ├─23844 grep --colour=auto xfce4-notifyd
Quand je regarde le status :

systemctl status xfce4-notifyd.service
● xfce4-notifyd.service - XFCE notifications service
   Loaded: loaded (/usr/lib/systemd/user/xfce4-notifyd.service; linked; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-07-29 00:45:01 CEST; 21s ago
  Process: 23904 ExecStart=/usr/lib/xfce4/notifyd/xfce4-notifyd (code=exited, status=1/FAILURE)
 Main PID: 23904 (code=exited, status=1/FAILURE)

jui 29 00:45:01 bruno systemd[1]: Starting XFCE notifications service...
jui 29 00:45:01 bruno xfce4-notifyd[23904]: Unable to init server: Impossible de se connecter : Connexion refusée
jui 29 00:45:01 bruno xfce4-notifyd[23904]: cannot open display: 
jui 29 00:45:01 bruno systemd[1]: xfce4-notifyd.service: Main process exited, code=exited, status=1/FAILURE
jui 29 00:45:01 bruno systemd[1]: xfce4-notifyd.service: Failed with result 'exit-code'.
jui 29 00:45:01 bruno systemd[1]: Failed to start XFCE notifications service.
Et xfdesktop-gtk3 n'a pas de problème :

[bruno@bruno ~]$ pacman -Qi xfdesktop-gtk3
Nom                      : xfdesktop-gtk3
Version                  : 4.13.5-4
Description              : A desktop manager for Xfce
Architecture             : x86_64
URL                      : http://www.xfce.org/
Licences                 : GPL2
Groupes                  : xfce4-gtk3
Fournit                  : xfdesktop
Dépend de                : exo-gtk3  garcon-gtk3  hicolor-icon-theme  libwnck3  libxfce4ui-gtk3  thunar-gtk3
Dépendances opt.         : --
Requis par               : --
Optionnel pour           : --
Est en conflit avec      : xfce4-menueditor  xfdesktop
Remplace                 : xfce4-menueditor
Taille installée         : 2,94 MiB
Paqueteur                : Philip Mueller <philm@manjaro.org>
Compilé le               : jeu 18 jui 2019 21:35:59 CEST
Installé le              : dim 28 jui 2019 00:25:33 CEST
Motif d’installation     : Explicitement installé
Script d’installation    : Non
Validé par               : Signature
Ce post ou intervient même lemust à l'inter ne me résout rien non plus ! :tetu!

Et journalctl -xe :

[bruno@bruno ~]$ journalctl -xe
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- An ExecStart= process belonging to unit xfce4-notifyd.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
jui 29 00:56:52 bruno systemd[1]: xfce4-notifyd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- The unit xfce4-notifyd.service has entered the 'failed' state with result 'exit-code'.
jui 29 00:56:52 bruno systemd[1]: Failed to start XFCE notifications service.
-- Subject: L'unité (unit) xfce4-notifyd.service a échoué
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- L'unité (unit) xfce4-notifyd.service a échoué, avec le résultat failed.
jui 29 00:56:52 bruno audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=xfce4-notifyd comm="systemd">
jui 29 00:56:52 bruno kernel: audit: type=1130 audit(1564354612.147:158): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=>
jui 29 00:56:52 bruno sudo[24458]: pam_unix(sudo:session): session closed for user root
jui 29 00:57:42 bruno dbus-daemon[798]: [session uid=1000 pid=798] Activating service name='org.freedesktop.thumbnails.Cache1' >
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer heif-thumbnailer -s %s %i %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer atril-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer evince-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer ffmpegthumbnailer -i %i -o %o -s %s -f
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer gsf-office-thumbnailer -i %i -o %o -s %s
jui 29 00:57:42 bruno dbus-daemon[798]: [session uid=1000 pid=798] Successfully activated service 'org.freedesktop.thumbnails.C>
lines 1280-1310/1310 (END)
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- An ExecStart= process belonging to unit xfce4-notifyd.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
jui 29 00:56:52 bruno systemd[1]: xfce4-notifyd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- The unit xfce4-notifyd.service has entered the 'failed' state with result 'exit-code'.
jui 29 00:56:52 bruno systemd[1]: Failed to start XFCE notifications service.
-- Subject: L'unité (unit) xfce4-notifyd.service a échoué
-- Defined-By: systemd
-- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- L'unité (unit) xfce4-notifyd.service a échoué, avec le résultat failed.
jui 29 00:56:52 bruno audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=xfce4-notifyd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
jui 29 00:56:52 bruno kernel: audit: type=1130 audit(1564354612.147:158): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=xfce4-notifyd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
jui 29 00:56:52 bruno sudo[24458]: pam_unix(sudo:session): session closed for user root
jui 29 00:57:42 bruno dbus-daemon[798]: [session uid=1000 pid=798] Activating service name='org.freedesktop.thumbnails.Cache1' requested by ':1.25' (uid=1000 pid=890 comm="/usr/bin/Thunar --daemon ")
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer heif-thumbnailer -s %s %i %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer atril-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer evince-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer ffmpegthumbnailer -i %i -o %o -s %s -f
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
jui 29 00:57:42 bruno org.freedesktop.thumbnails.Cache1[798]: Registered thumbnailer gsf-office-thumbnailer -i %i -o %o -s %s
jui 29 00:57:42 bruno dbus-daemon[798]: [session uid=1000 pid=798] Successfully activated service 'org.freedesktop.thumbnails.Cache1
J'ai posé la question aussi à l'inter, on verra bien ;)

service notifications XFCE

#4Messageil y a 1 an

bonjour

je ne connais pas du tout cette application mais je vois dans tes retours une drôle de chose : c'est normal qu'il "plante" car il n'est pas lancé en utilisateur : c'est l'un ou l'autre - il faut donc dé-valider en premier la version système

service notifications XFCE

#5Messageil y a 1 an

Je vais attendre l'intervention de lemust - s'il le veut bien - j'ai vu qu'il avait eu le cas et posé la question à l'inter.

Mais je ne sais pas du tout comment il l'a résolu.

service notifications XFCE

#6Messageil y a 1 an

Bonjour.
Pour être franc, je n'ai rien fait, c'était une mise à jour qui avait réglé le problème.
Essaies de rétrograder xfdesktop-gtk3 pour voir.

service notifications XFCE

#7Messageil y a 1 an

Cela m'est impossible.

C'est une réinstallation.

Je n'ai plus les anciennes versions.

service notifications XFCE

#8Messageil y a 1 an

Allons allons ....
Installe downgrade, puis:

sudo downgrade xfdesktop

service notifications XFCE

#9Messageil y a 1 an

En cherchant, j'avais aussi tenté ceci:

nano .config/autostart/notifieur.desktop
####coller ce qui suit###
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Notifieur
Comment=
Exec=/usr/lib/xfce4/notifyd/xfce4-notifyd
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false
Ensuite , créer un démarrage auto dans xfce4-session-settings

service notifications XFCE

#10Messageil y a 1 an

J'ai fait exactement ce que tu m'as indiqué.

Le notifieur était déjà indiqué dans les Démarrage automatique d'application

J'ai relancé la commanse sudo /usr/bin/xfce4/notifyd/xfce4-notifyd et voici ce qaue me renvoie le terminal :

[bruno@bruno ~]$ sudo /usr/lib/xfce4/notifyd/xfce4-notifyd 
[sudo] Mot de passe de bruno : 

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.745: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GObject-WARNING **: 23:16:28.745: invalid (NULL) pointer instance

(xfce4-notifyd:6859): GLib-GObject-CRITICAL **: 23:16:28.745: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.745: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.745: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.745: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.745: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.745: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.745: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.745: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.745: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.745: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.745: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.745: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.745: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

(xfce4-notifyd:6859): GLib-CRITICAL **: 23:16:28.748: g_propagate_error: assertion 'src != NULL' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
Un autre démon de notification est en cours d’exécution, arrêt.

(xfce4-notifyd:6859): GLib-GIO-CRITICAL **: 23:16:28.748: g_dbus_interface_skeleton_has_connection: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(xfce4-notifyd:6859): xfconf-CRITICAL **: 23:16:28.748: xfconf_init() must be called before attempting to use libxfconf!

(xfce4-notifyd:6859): GLib-GObject-WARNING **: 23:16:28.748: invalid (NULL) pointer instance

(xfce4-notifyd:6859): GLib-GObject-CRITICAL **: 23:16:28.748: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
:tetu!:tetu!

service notifications XFCE

#11Messageil y a 1 an

Salut,

Le service de notification doit être lancé au niveau utilisateur (--user). systemctl ne doit pas être utilisé avec sudo.

systemctl --user start xfce-notifyd

systemctl --user status xfce-notifyd pour vérifier.

Si c'est bon, valider le service pour qu'il se lance à chaque connexion (login) :
systemctl --user enable xfce-notifyd
Répondre