diff options
author | Mihai Prica <mihai.prica@intel.com> | 2013-08-30 16:47:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-30 16:23:44 +0100 |
commit | 5c0e6cfdd9342dae634ed85facba387e03bc207b (patch) | |
tree | 82d0f5c8a162db4e20e100cf1cd1d9594a06e1bc /meta/recipes-graphics/builder/files | |
parent | 4f6358f444e211871ba1090270334cdf191938d2 (diff) | |
download | poky-5c0e6cfdd9342dae634ed85facba387e03bc207b.tar.gz |
builder: register html links and files with Midori
HTML files and links will open in a tab in Midori.
[YOCTO #3506]
(From OE-Core rev: 1177aee9a6761a6a46a6213f7c4d35827ea54022)
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/builder/files')
-rw-r--r-- | meta/recipes-graphics/builder/files/builder_hob_start.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh b/meta/recipes-graphics/builder/files/builder_hob_start.sh index bef6878ec2..be3f91108a 100644 --- a/meta/recipes-graphics/builder/files/builder_hob_start.sh +++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh | |||
@@ -12,10 +12,16 @@ export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy | |||
12 | #start pcmanfm in daemon mode to allow asynchronous launch | 12 | #start pcmanfm in daemon mode to allow asynchronous launch |
13 | pcmanfm -d& | 13 | pcmanfm -d& |
14 | 14 | ||
15 | #register folders to open with PCManFM filemanager | 15 | #register handlers for some file types |
16 | if [ ! -d /home/builder/.local/share/applications ]; then | 16 | if [ ! -d /home/builder/.local/share/applications ]; then |
17 | mkdir -p /home/builder/.local/share/applications/ | 17 | mkdir -p /home/builder/.local/share/applications/ |
18 | #register folders to open with PCManFM filemanager | ||
18 | xdg-mime default pcmanfm.desktop inode/directory | 19 | xdg-mime default pcmanfm.desktop inode/directory |
20 | |||
21 | #register html links and files with Midori | ||
22 | xdg-mime default midori.desktop x-scheme-handler/http | ||
23 | xdg-mime default midori.desktop x-scheme-handler/https | ||
24 | xdg-mime default midori.desktop text/html | ||
19 | fi | 25 | fi |
20 | 26 | ||
21 | cd /home/builder/poky | 27 | cd /home/builder/poky |