Re: Running a sample nautilus-python script..

Rathinam Signup via nautilus-list <[email protected]> Thu, 29 Nov 2018 00:40:38 +0530
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CAPzkV1yRGZN==VtORVmjbC-q=Y_VBsb0OCE3fKt0uTgLOHX47A@mail.gmail.com>
--===============7969714773974561059==
Content-Type: multipart/alternative; boundary="000000000000c3e95d057bbe53f5"

--000000000000c3e95d057bbe53f5
Content-Type: text/plain; charset="UTF-8"

Finally I figured out how to run the script
1) Copy the sample script file into
~/.local/share/nautilus-python/extensions
2) Provide execute permission for the file from permissions tab
3) nautilus -q and then nautilus --no-desktop [In this way python
Exceptions will get printed in the console itself]

The documentation is not so clear and beginners will find it difficult to
understand


On Wed, Nov 28, 2018 at 9:26 PM Rathinam Signup <[email protected]>
wrote:

> Hi all,
>
> I'm trying to run an example provided in
> https://projects-old.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-example.html#id2684063.
> Though I copied the python script under
> ~/.local/share/nautilus-python/extensions and restarted nautilus, the menu
> fails to show up in files/folders. Only copying the script is enough or do
> I need to do any other thing? FYI I'm trying with Python 2.7
>
> Thanks in advance.
>

--000000000000c3e95d057bbe53f5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Finally I figured out how to run the script</div><div=
>1) Copy the sample script file into ~/.local/share/nautilus-python/extensi=
ons<br></div><div>2) Provide execute permission for the file from permissio=
ns tab<br></div><div>3) nautilus -q and then nautilus --no-desktop [In this=
 way python Exceptions will get printed in the console itself]</div><div><b=
r></div><div>The documentation is not so clear and beginners will find it d=
ifficult to understand</div><div><br></div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr">On Wed, Nov 28, 2018 at 9:26 PM Rathinam Signup &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div dir=
=3D"ltr"><div>Hi all,</div><div><br></div><div>I&#39;m trying to run an exa=
mple provided in <a href=3D"https://projects-old.gnome.org/nautilus-python/=
documentation/html/nautilus-python-overview-example.html#id2684063" target=
=3D"_blank">https://projects-old.gnome.org/nautilus-python/documentation/ht=
ml/nautilus-python-overview-example.html#id2684063</a>. Though I copied the=
 python script under ~/.local/share/nautilus-python/extensions and restarte=
d nautilus, the menu fails to show up in files/folders. Only copying the sc=
ript is enough or do I need to do any other thing? FYI I&#39;m trying with =
Python 2.7<br></div><div><br></div><div>Thanks in advance.<br></div></div><=
/div>
</blockquote></div>

--000000000000c3e95d057bbe53f5--

--===============7969714773974561059==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
nautilus-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/nautilus-list
--===============7969714773974561059==--