You are not logged in.
Pages: 1
how can i change the command itself to start an application in archlinux?
I only found on google where the configuration files are (/etc/) but it did not help me at all
Offline
You're going to need to be a lot more specific. Do you mean you want to create an alias so you can run `pacman` by typing something like `pac`?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You're going to need to be a lot more specific. Do you mean you want to create an alias so you can run `pacman` by typing something like `pac`?
For example, I downloaded a program, let firefox. Normally, I think running firefox (from GNOM) looks like this:
$ firefox
At this point, I want it to look like this to start firefox (when I click the firefox icon from GNOM):
$ proxychains4 firefox
I could do this from the console every time, but it would be inconvenient
Offline
You want to achieve for proxychains4 something similar to the actions firecfg performs for firejail?
Offline
when I click the firefox icon from GNOM
GNOM? Do you mean GNOME? Which program exactly, a menu, a dock, etc? In any case, if you are referring to an icon in any of those type of GUI launchers, they are almost certainly using the .desktop file - so you'll want to overide the Exec command in that as described here, specifically see sections 5.2 and 5.2.2.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
As long as the starter doesn't use absolute paths, imitating the firecfg approach should be easy enough w/ symlinks to a script that exec /usr/bin/proxychains4 /usr/bin/$(basename $0)
Offline
Pages: 1