[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 2/2] builder: register html links and files with Midori
From: mihai.prica () intel ! com (Mihai Prica)
Date: 2013-08-30 13:47:36
Message-ID: 742f7781de4a0cb7dfde19bdd788069dd259d1d8.1377434794.git.mihai.prica () intel ! com
[Download RAW message or body]
HTML files and links will open in a tab in Midori.
[YOCTO #3506]
Signed-off-by: Mihai Prica <mihai.prica at intel.com>
---
.../builder/files/builder_hob_start.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh \
b/meta/recipes-graphics/builder/files/builder_hob_start.sh index bef6878..be3f911 \
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
--
1.7.9.5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic