How to automatically start Opera with command line switches
-
gustavwiz last edited by admin
If you use command line switches in Opera, and want to always use one or a specific set of them, but still want to launch Opera from your start menu/dash, you can modify the launcher file. Here is how:
- Open a terminal and type:
sudo nano /usr/share/applications/opera.desktop
. If you use Opera beta or Opera developer, change opera.desktop to opera-beta.desktop or opera-developer.desktop. - Go down to the line that starts with
Ecex=
and add the flag afteropera
,opera-beta
, oropera-developer
. Example:Exec=opera --show-opera-menu %U
- Press Ctrl + O to save and Ctrl + X to exit nano. Now you can exit and start Opera from your programs menu.
- Open a terminal and type:
-
A Former User last edited by
Bad advice.
Place for custom user desktops files:
/home/USERNAME/.local/share/applications