Sample Header Ad - 728x90

How do I launch Firefox with a negative nice value as a regular user?

0 votes
1 answer
305 views
I did this sudo nice -n -1 firefox to launch Firefox with higher priority and make all subprocesses that are executed at launch inherit that priority but it failed with an error message about Firefox can't be run as root in a regular user account. I need sudo to use negative nice values but the rest of the command should be run as my regular user. How can I use negative nice values but still run the program as my regular user? I don't want to use renice on already launched processes.
Asked by d-b (2047 rep)
Feb 6, 2023, 09:30 AM
Last activity: Feb 6, 2023, 11:30 AM