blob: 4e509a701ac9faca5b9c4089cc12f6b009f60bb7 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001#!/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
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026 #register text files with l3afpad text editor
27 xdg-mime default l3afpad.desktop text/plain
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050028fi
29
30cd /home/builder/poky
31. ./oe-init-build-env
32
33matchbox-terminal&