1#!/bin/sh 2#This script will be called via mini X session on behalf of file owner, after 3#installed in /etc/mini_x/session.d/. Any auto start jobs including X apps can 4#be put here 5 6# start hob here 7export PSEUDO_PREFIX=/usr 8export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo 9export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64 10export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy 11 12#start pcmanfm in daemon mode to allow asynchronous launch 13pcmanfm -d& 14 15#register handlers for some file types 16if [ ! -d /home/builder/.local/share/applications ]; then 17 mkdir -p /home/builder/.local/share/applications/ 18 #register folders to open with PCManFM filemanager 19 xdg-mime default pcmanfm.desktop inode/directory 20 21 #register html links and files with epiphany 22 xdg-mime default epiphany.desktop x-scheme-handler/http 23 xdg-mime default epiphany.desktop x-scheme-handler/https 24 xdg-mime default epiphany.desktop text/html 25 26 #register text files with l3afpad text editor 27 xdg-mime default l3afpad.desktop text/plain 28fi 29 30cd /home/builder/poky 31. ./oe-init-build-env 32 33matchbox-terminal& 34