Hello Gaurav, On Sat, 6 Apr 2024 at 06:13, Gaurav Pant via plug-mail < plug-mail@plug.org.in> wrote:
> See inline > > On Fri, Apr 5, 2024 at 12:12 PM Amey Abhyankar via plug-mail < > plug-mail@plug.org.in> wrote: > >> Hello All, >> >> I haven't done this in ages hence thought of asking here thank you. >> >> I have a simple shell script which will set mtu after I login via GUI. >> [Ubuntu 23.x system] >> >> I want to set it under .profile but I'm not sure exactly how to put the >> path of my script in the .profile >> I do not want to copy-paste the script in the .profile of my user. >> > > The .profile is run when you start an instance of bash. It would not run > when GUI starts. If you want the setting globally put it under the main > profile file. > Understood thanks. > > >> Any thoughts on how to do it? >> > > You can check out this link. Hopefully it provides and ans > https://askubuntu.com/questions/1391030/ubuntu-run-bash-script-on-startup-with-visible-terminal > > >> >> I tried searching for solutions at stackoverflow but all solutions I >> found so far are suggesting to put the content of the script under .profile >> >> Thanks & Regards, >> Amey. >> _______________________________________________ >> plug-mail mailing list >> plug-mail@plug.org.in >> http://list.plug.org.in/listinfo/plug-mail >> > > > -- > Dexter > ------------------------------------------- > http://OpenSourceCook.in > If you can cook, you can code. > _______________________________________________ > plug-mail mailing list > plug-mail@plug.org.in > http://list.plug.org.in/listinfo/plug-mail >
_______________________________________________ plug-mail mailing list plug-mail@plug.org.in http://list.plug.org.in/listinfo/plug-mail