arismelachroinos / lscript

The LAZY script will make your life easier, and of course faster.
GNU General Public License v3.0
4.06k stars 1.08k forks source link

[SOLUTION] How to fix "L" not opening the lazy script. #301

Open Dyno0311 opened 3 years ago

Dyno0311 commented 3 years ago

type this in your terminal

alias l='/root/lscript/l'

Oh yeah, The one who gave the solution was @YeetyDankEngine. I am simply copy & paste'd the solution from his answer.

So thanks @YeetyDankEngine!

qualk commented 3 years ago

put it in a zsh_rc file so it is permanent Because that command stays only for that session

Korto9 commented 3 years ago

How do we put it in a zsh_rc file?

qualk commented 3 years ago

Sorry, I meant zsh_alias. Do cd ~ && touch zsh_alias Then, enter the line of code in the first comment in the zsh_alias file with your preferred editor.

Korto9 commented 3 years ago

Didnt work here is a screenshot Screenshot_2021-04-12_18_39_36

qualk commented 3 years ago

Why is there a cd at the end?

Korto9 commented 3 years ago

Still dont work Screenshot_2021-04-12_21_32_39

qualk commented 3 years ago

no i mean enter that line of code into that newly created file do nano zsh_alias, and then put that line of code, then press Ctrl+x, then y, then enter.

kevtheskin commented 3 years ago

Hello there, Did not work for me either. Thanks for your time . Kev

marvinmi0325 commented 2 years ago

type this in your terminal

alias l='/root/lscript/l'

Oh yeah, The one who gave the solution was @YeetyDankEngine. I am simply copy & paste'd the solution from his answer.

So thanks @YeetyDankEngine!

This is work for me, thanks. But I have another question: When I input "gnome-terminal" as a root user, it failed, so when I installed lscript, it failed open a new terminal, so I just thought I didn't install it success. Btw, when I input "gnome-terminal" as a normal user, it success, just failed when I am a root user. Very thanks for ur reply.

kruzader1 commented 2 years ago

This only worked for me as a root user. In fact, I could only install the app as a root user. Applying the above help worked great in root, but as a regular user, even using sudo, no good.

AgentSells commented 2 years ago

alias l='sudo /root/lscript/l'

for non root users

qualk commented 2 years ago

put it in the zsh or bash alias file tho.

ghost commented 1 year ago

Hi, I had the same issue with starting lscript. But what I did was to type ./l and it started normally. Sometimes it won-t work with just "l" and enter, but you must type ./l and enter, and it will start normally.

qualk commented 1 year ago

Hi, I had the same issue with starting lscript. But what I did was to type ./l and it started normally. Sometimes it won-t work with just "l" and enter, but you must type ./l and enter, and it will start normally.

People want it to access the script from anywhere, not just the local folder.

HD3M9 commented 1 year ago

bro i am new in linux but i just try this command {use root terminal} command: cd lscript/ zsh ./l i try this it work's for me

Jose7200 commented 1 year ago

This solution worked for me ( https://trendoceans.com/solved-failed-to-execute-child-process-dbus-launch-no-such-file-or-directory-while-x-forwarding/ ) : "A dbus acronym stands for Desktop Bus is interprocess communication, which is used to pass information from one application to another process on Linux and Unix-based systems.

By passing single command can resolve this issue in a swift manner: $ sudo apt install dbus-x11

That’s all to resolve on Debian based machine “failed to execute child process “dbus-launch” (No such file or directory) while x-forwarding”."

ScamBustersNZ commented 1 year ago

There is an error in line 6572 of the code, in a file called Iagree.txt As I am new to Kali, I don't know how to fix this error. When trying to install Lazy Script, I get to the page where it asks you to agree to the terms, I press any key to continue, type YES at the prompt, and then the error code comes up referring to the above error.

I've had it running in Kali before, but it never seems to install properly. If anyone knows how to edit the Iagree text file, please let me know.

Mk-1000 commented 10 months ago

Use the command below in your terminal to specify that you want to add execution authorization

chmod u+x l