Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 39952  / 2 Years ago, mon, july 25, 2022, 6:50:23

I'd like to change the behaviour of the launcher, so that if I click on the firefox icon, it runs the command



$ optirun firefox


Does anyone know how to change it?



Thank you


More From » launcher

 Answers
3

If you change it in the dash, you'll automatically change it in the launcher. So start "main menu" (that's alacarte) from the dash, navigate to Internet and then Firefox. There you can set a new Run-entry (replace firefox %u with optirun firefox %u - whatever optirun is).
You could also edit the launcher manually with sudo vim /usr/share/applications/firefox.desktop and change the Exec line.


[#37045] Monday, July 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eving

Total Points: 162
Total Questions: 102
Total Answers: 112

Location: Trinidad and Tobago
Member since Thu, Dec 1, 2022
1 Year ago
eving questions
;