summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2013-08-20 21:05:29 +0300
committerSaul Wold <sgw@linux.intel.com>2013-08-22 09:15:35 -0700
commit06d1e6db91497ad86803f9a5ed2346cd23cfa744 (patch)
treedd3e3885bec2c35480ef1f4961ba45d897a33e07 /meta/recipes-graphics
parent34ada56cf08012ae59977a991025b18099d02fb3 (diff)
downloadopenembedded-core-06d1e6db91497ad86803f9a5ed2346cd23cfa744.tar.gz
openembedded-core-06d1e6db91497ad86803f9a5ed2346cd23cfa744.tar.bz2
openembedded-core-06d1e6db91497ad86803f9a5ed2346cd23cfa744.zip
builder: register directories with pcmanfm
Register directories to be opened with PCManFM filemanager using xdg-open in Build Appliance. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/builder/files/builder_hob_start.sh9
1 files changed, 9 insertions, 0 deletions
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