[systemd-devel] mate desktop user service file

arnaud gaboury arnaud.gaboury at gmail.com
Sat Nov 29 01:48:23 PST 2014


I only use some settings from mate desktop (clipboard, appearance...)
thus looking for a service file to start mate-settings-daemon.


/home/gabx/.config/systemd/user/mate-settings-daemon.service
---------------------------------
[Unit]
Description=Mate settings daemon

[Service]
Type=daemon
ExecStart=/usr/lib/mate-settings-daemon/mate-settings-daemon

[Install]
WantedBy=wm.target
--------------------------------

The above service leave me with an error:

----------------------------------------------
gabx at hortensia ➤➤ ~ % systemctl --user status mate-settings-daemon
● mate-settings-daemon.service - Mate settings daemon
   Loaded: loaded
(/home/gabx/.config/systemd/user/mate-settings-daemon.service;
disabled)
   Active: failed (Result: exit-code) since Sat 2014-11-29 10:29:09
CET; 14min ago
  Process: 26343
ExecStart=/usr/lib/mate-settings-daemon/mate-settings-daemon
(code=exited, status=1/FAILURE)
 Main PID: 26343 (code=exited, status=1/FAILURE)

Nov 29 10:29:09 hortensia systemd[914]: Started Mate settings daemon.
Nov 29 10:29:09 hortensia mate-settings-daemon[26343]: No protocol specified
Nov 29 10:29:09 hortensia mate-settings-daemon[26343]: **
(mate-settings-daemon:26343): WARNING **: Unable to initialize GTK+
--------------------------------------------------

I have tried unsuccessfully to change parts of the service file.
Running manually the command < $
/usr/lib/mate-settings-daemon/mate-settings-daemon > works.

N.B: display is in my environment.
-----------------------------------------------
gabx at hortensia ➤➤ ~ % systemctl --user show-environment
DBUS_SESSION_BUS_ADDRESS=/run/user/1000/dbus/user_bus_socket
DISPLAY=:0
----------------------------------------------


I have no idea what I do wrong. Thank you for advices.


-- 

google.com/+arnaudgabourygabx


More information about the systemd-devel mailing list