All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Cristian Iorga <cristian.iorga@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] builder: register directories with pcmanfm
Date: Tue, 20 Aug 2013 09:38:14 -0700	[thread overview]
Message-ID: <52139B76.4090608@linux.intel.com> (raw)
In-Reply-To: <7e1d9bb3b42c08f4337e717e959326014f0144c5.1377014441.git.cristian.iorga@intel.com>

On 08/20/2013 09:05 AM, Cristian Iorga wrote:
> Register directories to be opened with PCManFM
> filemanager using xdg-open in Build Appliance.
>
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> ---
>   meta/recipes-graphics/builder/builder_0.1.bb             | 2 +-
>   meta/recipes-graphics/builder/files/builder_hob_start.sh | 9 +++++++++
>   2 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
> index 78d41e5..1e8c977 100644
> --- a/meta/recipes-graphics/builder/builder_0.1.bb
> +++ b/meta/recipes-graphics/builder/builder_0.1.bb
> @@ -1,7 +1,7 @@
>   SUMMARY = "New user to do specific job"
>   DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X"
>   SECTION = "x11"
> -PR = "r6"
> +PR = "r7"
No PR Bumps!

>   LICENSE = "MIT"
>   LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
>
> diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh b/meta/recipes-graphics/builder/files/builder_hob_start.sh
> index 40616f5..b3a0540 100644
> --- a/meta/recipes-graphics/builder/files/builder_hob_start.sh
> +++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh
> @@ -9,6 +9,15 @@ export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo
>   export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
>   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
> +if [ ! -d /home/ubik/tmp/.local/share/applications ]; then
                   ^^^^^
What's that user?  Should it be builder?

> +    mkdir -p /home/builder/.local/share/applications/
> +    xdg-mime default pcmanfm.desktop inode/directory
> +fi
> +
>   cd /home/builder/poky
>   . ./oe-init-build-env
>
>


  reply	other threads:[~2013-08-20 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 16:05 [PATCH 0/3] YB2370: Build Appliance integrates PCManFM filemanager Cristian Iorga
2013-08-20 16:05 ` [PATCH 1/3] Build Appliance: pcmanfm integration Cristian Iorga
2013-08-22 15:52   ` Burton, Ross
2013-08-22 16:44     ` Iorga, Cristian
2013-08-20 16:05 ` [PATCH 2/3] build-appliance-image: changing the icon theme to sato Cristian Iorga
2013-08-20 16:05 ` [PATCH 3/3] builder: register directories with pcmanfm Cristian Iorga
2013-08-20 16:38   ` Saul Wold [this message]
2013-08-20 16:41     ` Iorga, Cristian
2013-08-20 16:46       ` Saul Wold
2013-08-23  9:07     ` Iorga, Cristian
  -- strict thread matches above, loose matches on Subject: below --
2013-08-20 18:05 [PATCH 0/3] [PATCH v2] YB2370: Build Appliance integrates PCManFM filemanager Cristian Iorga
2013-08-20 18:05 ` [PATCH 3/3] builder: register directories with pcmanfm Cristian Iorga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52139B76.4090608@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=cristian.iorga@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.