Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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 |
| 7 | export PSEUDO_PREFIX=/usr |
| 8 | export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo |
| 9 | export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64 |
| 10 | export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy |
| 11 | |
| 12 | #start pcmanfm in daemon mode to allow asynchronous launch |
| 13 | pcmanfm -d& |
| 14 | |
| 15 | #register handlers for some file types |
| 16 | if [ ! -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 Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 26 | #register text files with l3afpad text editor |
| 27 | xdg-mime default l3afpad.desktop text/plain |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | fi |
| 29 | |
| 30 | cd /home/builder/poky |
| 31 | . ./oe-init-build-env |
| 32 | |
| 33 | matchbox-terminal& |