I made a launcher in plasma for updateinterminal (EOS app or script) but it stopped working sometime last week. I get no error. I can run it through the welcome app though, so I know it still exists.
Did the name or location change? If so how/where, so I can fix the desktop file for the launcher.
That doesnât answer my question. I can open the welcome app, and from either the âAfter Installâ or âAssistantâ tab click on âUpdate System (eos-update --yay)â and it launches and works as expected, but it used to launch from a separate launcher âUpdateInTerminalâ in my launcher menu, and itâs still there, but doesnât work.
To make it even easier (I use KDE Plasma): I installed the âQuicklaunchâ widget and added it to my main panel, and copied the âUpdateInTerminalâ launcher there, so I can just click on it and update the whole system. I also have many other often used apps in the Quicklaunch for easy one click access, and still want to do it that way, rather than navigating the menu, opening the Welcome app⌠or launching the terminal and typing in whatever commands are needed to do it the very same way.
The Quicklaunch takes up a lot less space than pinning a bunch of apps to the panel, and itâs easier to see which apps are running since I have no apps pinned to the panel, but rather in Quicklaunch which has smaller icons, and even allows for a popup should I have more launchers than itâs allotted space allows.
The depreciated UpdateInTerminal launcher points at:
So those need to be changed to launch it just like the welcome app does if possible, or else I can make a separate bash script to do the same and point the launcher to it, but donât know what to put in there since I am somewhat script illiterate.
I believe itâs different than just running
yay -syuu
because it checks and downloads any EOS specific keys first before updating the system, or am I wrong?
I am on an AMD system, but that is completely irrelevant because as I said, updating the system via yay works through the welcome app just fine. So if the topic you pointed at is related, I cannot see how, nor see why you would think that after everything I wrote.
Well it is, but whoever made the Welcome app would be the one who can help me best. I looked into
/usr/share/endeavouros/scripts
and the bash script âwelcomeâ, but itâs huge and I would have to have some advanced understanding of bash scripting to understand any of it, but I donât.
I do know that it still has buttons to do the very same thing that the depreciated âUpdateInTerminalâ launcher did, so I am sure it can be recreated as a bash script in my /home/USER/bin/ folder so I can still have it depreciated or not. I still have and use the gensyslogs.sh from Antergos, so I can generate all of the the needed system logs to a folder in my home folder in a single click, to use for troubleshooting.
I cannot see why such a convenient and useful launcher would be depreciated in the first place, in favor of doing it the hard way, unless the way it was done has changed so much it would be hard to fix. If someone doesnât need it, then all they have to do is hide or delete it, and those who do use it keep and use it, no need to get rid of it altogether.
I use Konsole. So what do the --noclose and -e options do?
I just ran yay, no options at all and it did everything as usual, nothing closed prematurely. The only difference is that after the updates were all done, I didnât get the âPress Enter to close this windowâ dialog, and got the prompt instead and the terminal stayed open.
Software changes all the time. Packages change. This happens on Arch all the time and every other distro. I donât see using yay as doing it the hard way. On the contrary itâs easier because it checks for both pacman and AUR updates which is quite convenient.
Well, You are basing that on my knowing that all one needs is to type in: yay and hit [enter]! If you have been paying attention, I just found that out! Had I known that, I wouldnât be here trying to find all that out.
With all of the updating mirrors, needing the right and up to date keys, there being an additional repo for EOS specifically, and on top of that all the other apps involved like reflector⌠and that few apps would take care of all of that like yay does in as simple of a command, which is unusual in my limited experience, as I would expect it to need further instructions just as it does for many other procedures, and as most apps and commands do, and the only way it can, is by knowing some things in advance, and so is running off of a script specifically for EOS that I was obviously unaware of.
You knowâŚone could say running Arch (or itâs derivates) means that you are somewhat of an advanced user and expected to know something of your environment.
One couldâŚ
Since I am making a launcher (desktop file), and not typing it directly into terminal, and more specifically for KDE if that matters, I will make a bash script named âUpdateInTerminalâ in my /home/USER/bin folder containing konsole --noclose -e yay, and using KDEâs interface to create the launcher and fill it out like this:
Program: UpdateInTerminal
Command-Line Arguments: (blank since they are in the script)
Also I believe the â-eâ may be superfluous (not necessary) because I have other terminal commands in launchers that all run on launch automatically without it, some pointing to scripts that also do not include an -e, so may it be the case that KDE appends that automatically and runs it because it is a launcher after all?
and finally: how did the original after the updates were all done, give me the âPress enter to close this windowâ dialog, so I can include it in the script too, because itâs kindaâ cool?