summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-07-17 21:57:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-07-17 22:34:57 +0900
commit0066e3149204abc023fa441d0982c26c8b48ba3c (patch)
tree03fa6ef1d36a6f920062b81c454c1082173ddaab /tdeioslave
parent93c1526bae5ae82d83a24b984e95fee142a47cc3 (diff)
downloadtdebase-0066e3149204abc023fa441d0982c26c8b48ba3c.tar.gz
tdebase-0066e3149204abc023fa441d0982c26c8b48ba3c.zip
Start media backend on TDE session startup. This resolves bug 2780.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/media/mediamanager/CMakeLists.txt1
-rw-r--r--tdeioslave/media/mediamanager/Makefile.am2
-rwxr-xr-xtdeioslave/media/mediamanager/mediabackend.desktop7
3 files changed, 10 insertions, 0 deletions
diff --git a/tdeioslave/media/mediamanager/CMakeLists.txt b/tdeioslave/media/mediamanager/CMakeLists.txt
index 21faaeaf7..a28515188 100644
--- a/tdeioslave/media/mediamanager/CMakeLists.txt
+++ b/tdeioslave/media/mediamanager/CMakeLists.txt
@@ -29,6 +29,7 @@ link_directories(
##### other data ################################
install( FILES mediamanager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+install( FILES mediabackend.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
##### kded_mediamanager (module) ################
diff --git a/tdeioslave/media/mediamanager/Makefile.am b/tdeioslave/media/mediamanager/Makefile.am
index 0641dd57e..108b4d19b 100644
--- a/tdeioslave/media/mediamanager/Makefile.am
+++ b/tdeioslave/media/mediamanager/Makefile.am
@@ -30,3 +30,5 @@ kded_mediamanager_la_LIBADD = $(LIB_TDESYCOCA) ../libmediacommon/libmediacommon.
servicesdir = $(kde_servicesdir)/kded
services_DATA = mediamanager.desktop
+autostart_DATA = mediabackend.desktop
+
diff --git a/tdeioslave/media/mediamanager/mediabackend.desktop b/tdeioslave/media/mediamanager/mediabackend.desktop
new file mode 100755
index 000000000..d9ef21939
--- /dev/null
+++ b/tdeioslave/media/mediamanager/mediabackend.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Exec=dcop kded kded loadModule mediamanager
+X-DCOP-ServiceType=wait
+Type=Service
+X-TDE-StartupNotify=false
+OnlyShowIn=TDE;
+X-TDE-autostart-phase=1