run script in Porteus 4.0 Xfce

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: run script in Porteus 4.0 Xfce

Post#16 by francois » 14 Dec 2018, 05:22

Ha! Sorry. I would not have put a sender address so not to be identified. But clearly, without a destination address, there is not much that could be done. :D

I thought this would have made a nice Christmas gift. :happy62:
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: run script in Porteus 4.0 Xfce

Post#17 by brokenman » 15 Dec 2018, 15:37

It is much safer to open a script file in a text editor by default than to execute by default, right?
Absolutely!

You can send some to me. We are talking about non-executable scripts right?
How do i become super user?
Wear your underpants on the outside and put on a cape.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

Re: run script in Porteus 4.0 Xfce

Post#18 by jssouza » 15 Dec 2018, 16:32

Lol brokenman 😂

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: run script in Porteus 4.0 Xfce

Post#19 by francois » 17 Dec 2018, 20:43

And what about encrypting the script into the form of parsley?
Prendre son temps, profiter de celui qui passe.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: run script in Porteus 4.0 Xfce

Post#20 by fulalas » 18 Dec 2018, 03:41

Image

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: run script in Porteus 4.0 Xfce

Post#21 by francois » 19 Dec 2018, 00:10

:D Oh, you prefer popcorn.
Prendre son temps, profiter de celui qui passe.

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: run script in Porteus 4.0 Xfce

Post#22 by fulalas » 19 Dec 2018, 03:21

Hahaha! Just waiting for you guys to come up with a decision. I don't want to contaminate this healthy and funny discussion you're having :teehee:

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: run script in Porteus 4.0 Xfce

Post#23 by francois » 19 Dec 2018, 15:02

We might vote on that. As I wrote, since the begining of porteus, scripts could be activated from a double click. There has never been law suits. ;)

However, donald, brokenman and you fulalas are the experts. B)
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: run script in Porteus 4.0 Xfce

Post#24 by Rava » 20 Dec 2018, 02:56

donald wrote:
14 Dec 2018, 04:58
Thanks for the offer, but I'm afraid I have to decline.
It would be discovered with great certainty at the import and my peaceful life
would be massively disturbed if the police stormed into my apartment at 5 a.m. to arrest me.
donald... are you the real Donald Trump? You either troll him or at least are pulling his leg.
Cheers!
Yours Rava

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

run script in Porteus 4.0 Xfce

Post#25 by francois » 08 Jul 2023, 12:00

It seems that Kulle proposition to run a script from thunar does not work no more:

Code: Select all

root@porteus:/home/guest# xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true
Failed to init libxfconf: The connection is closed.
root@porteus:/home/guest# 
What is going on here?
Thanks.
Prendre son temps, profiter de celui qui passe.

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

run script in Porteus 4.0 Xfce

Post#26 by Kulle » 08 Jul 2023, 18:57

Hi francois ,

you must not run this command as root

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

run script in Porteus 4.0 Xfce

Post#27 by francois » 10 Jul 2023, 20:00

@kulle:
Clearly it does not work anyway. Neither in guest mode.

I will use donald's procedure.

Thanks.
Prendre son temps, profiter de celui qui passe.

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

run script in Porteus 4.0 Xfce

Post#28 by Kulle » 11 Jul 2023, 16:01

Hi Francois,
It works for me in guest mode:
in Porteus 5.0 Xfce and also in Porteux Xfce 4.16.
Why isn't it working for you?!

Post Reply