how to find the command of an app to autostart it?
When I try to add any app in application autostart, it asks for the command. How to find out that command? I'm used to Microsoft Windows, where apps are easy to find the location of. Sorry I'm new to linux. For example, I need to autostart Brave browser, which I installed using Zorin 17.2 lite software app..
So this is a flatpak? Hit CTRL+ALT+T to open the terminal.
Enter the command:
flatpak list --app
Find Brave. Copy the Application ID (highlight it CTRL+SHIFT+C). The command to run it is
flatpak run application-id-that-you-copied
Well you can try that. It works for making keyboard shortcuts but I don't know if it will work for application autostart because I don't know what that is.
are you on Lite ?
right click the brave app , click edit application . you'll see the command there
btw. how did you install brave , through software centre (which is the flatpak version) ?
I suggest installing the deb. version rather. Even brave suggests to install deb. rather than flatpak...
let us know if you help to install deb.
sorry only read post again now and saw you installed through software app...
i would suggest removing that brave install through software centre , then install brave like this:
This is another good example that shows the importance of having a properly working Properties button. Not only to discover the package name but also how it's invoked, so that it can be added to the auto-start list (or change the launch options):
I've found out an easy way. I Right-clicked the app icon in the task bar, and selected "edit launcher". I found the command line there.
Thanks to your help.
deb isn't necessary better , but it's better in Brave's case
difference between flatpak/snap/appimg/deb is about dependencies ect.
someone here with more in depth knowledge could answer you better
Basically .deb files have been around a lot longer than flatpak, snap and App Image, plus .deb packages get integrated into the system, the others don't and have to be updated separately. Glad you found the command via the launcher in Menu properties. I nearly posted that but wasn't sure if it was still available as I don't use Zorin desktop or Gnome in Zorin, just Plasma and Enlightenment.
The debian package, file extension .deb is the default standard package format on Debian based systems.
Flatpak is an alternative format that carries all dependencies it needs with it which enables a piece of software to not rely on the system dependencies, but as a trade off, brings a lot of bloat.
Flatpaks also run containerized, which essentially double-sandboxes them. Flatpaks cannot communicate with the system that they are installed on. This can lead to a large variety of problems with browsers or apps that need system access in order to download/upload files, access an external drive, and so on.
Using a .deb format package would ensure that the Browser can communicate with all necessary parts of the system normally.
For me, personally, Flatpak seems like a good idea on paper. But in practice brings more problems than it solves. My first action on a fresh install is to remove Flatpak entirely. I only use the standard default .deb package format and save myself from all the headaches.
Great. I uninstalled Ftatpak. Now do I need to install deb? or is it pre-installed?
And when I use the software app, does it now use deb instead of flatpak?
No, you do not need to install anything for package management.
Debian Packages are the standard in the Repositories and are the vast majority of the packages in the Universe Repo.
The Software Store will install using those packages from the Main Repository.
don't need to install deb.
i never use the software store .
when i want to install something i go to their website and look for instructions on how to install with terminal (which would be the .deb version)
if you do want to use the software store , you can check which version they have available by clicking the drop down arrow under version , but most times it'll only be flatpak...
snap is kinda like flatpak
flatpak is completely open source , while the back end of snap is proprietary and controlled by canonical.
why not just install brave through terminal with commands given earlier?
it'll work 100%
I stand corrected. Some packages will require a terminal install. Brave Browser is one of them.
Gnome Software Store checks the repositories for the package and Brave does not place a .deb format package in the repositories. Instead, you must add their own repository, then download and install Brave.
Is there a reason some developers run a repo but don't include it in the .deb? Just a security courtesy, in not adding repos? Some do (Edge, which I checked it to help another user here, Slack, Steam if installing from their .deb), and this is the second one I've seen/seen mentioned that has the user do it by hand (the other being ProtonVPN). Notably, both ProtonVPN and Brave are privacy focused.