You are not logged in.
how can i set commandline prefix for apps launched from Application tab and from desktop
(i want to set nice level by doing this)
Offline
Hello and welcome.
What exactly do you mean by "commandline prefix"? Can you give an example?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello and welcome.
What exactly do you mean by "commandline prefix"? Can you give an example?
if i start firefox it will run `firefox`, if i start telegram it will run `telegram`
i want to add `nice -n 1` prefix so these will run `nice -n 1 firefox` and `nice -n 1 telegram` instead
Offline
Copy the desktop file from /usr/share/applications to ~/.local/share/applications (create the directory if it doesn't exist) and then edit the "Exec=" line and prepend the nice value/command. For example,
Exec=firefox
...would become:
Exec=nice -n 1 firefox
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Copy the desktop file from /usr/share/applications to ~/.local/share/applications (create the directory if it doesn't exist) and then edit the "Exec=" line and prepend the nice value/command. For example,
Exec=firefox
...would become:
Exec=nice -n 1 firefox
seems i can't apply it for all apps unless i do this for every app
thanks i will do this for apps i use most and runs heavy
it will be great if xfce support this but usage seems too niche
Offline
[ Generated in 0.008 seconds, 9 queries executed - Memory usage: 534.48 KiB (Peak: 535.32 KiB) ]