From 06d1e6db91497ad86803f9a5ed2346cd23cfa744 Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Tue, 20 Aug 2013 21:05:29 +0300 Subject: builder: register directories with pcmanfm Register directories to be opened with PCManFM filemanager using xdg-open in Build Appliance. Signed-off-by: Cristian Iorga Signed-off-by: Saul Wold --- meta/recipes-graphics/builder/files/builder_hob_start.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh b/meta/recipes-graphics/builder/files/builder_hob_start.sh index 40616f5e7b..b3a054001c 100644 --- a/meta/recipes-graphics/builder/files/builder_hob_start.sh +++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh @@ -9,6 +9,15 @@ export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64 export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy +#start pcmanfm in daemon mode to allow asynchronous launch +pcmanfm -d& + +#register folders to open with PCManFM filemanager +if [ ! -d /home/ubik/tmp/.local/share/applications ]; then + mkdir -p /home/builder/.local/share/applications/ + xdg-mime default pcmanfm.desktop inode/directory +fi + cd /home/builder/poky . ./oe-init-build-env -- cgit v1.2.3