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:07:33 +0100 |
commit | 1177aee9a6761a6a46a6213f7c4d35827ea54022 (patch) | |
tree | 7983a259b3c3520369169100c781f1292ce45ff2 | |
parent | 18109cf0c71cbd3b77bcf133996774abe4bbccae (diff) | |
download | openembedded-core-1177aee9a6761a6a46a6213f7c4d35827ea54022.tar.gz openembedded-core-1177aee9a6761a6a46a6213f7c4d35827ea54022.tar.bz2 openembedded-core-1177aee9a6761a6a46a6213f7c4d35827ea54022.zip |
builder: register html links and files with Midori
HTML files and links will open in a tab in Midori.
[YOCTO #3506]
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 #start pcmanfm in daemon mode to allow asynchronous launch pcmanfm -d& -#register folders to open with PCManFM filemanager +#register handlers for some file types if [ ! -d /home/builder/.local/share/applications ]; then mkdir -p /home/builder/.local/share/applications/ + #register folders to open with PCManFM filemanager xdg-mime default pcmanfm.desktop inode/directory + + #register html links and files with Midori + xdg-mime default midori.desktop x-scheme-handler/http + xdg-mime default midori.desktop x-scheme-handler/https + xdg-mime default midori.desktop text/html fi cd /home/builder/poky |