How to automatically start Opera with command line switches

  • 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:

    1. 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.
    2. Go down to the line that starts with Ecex= and add the flag after opera, opera-beta, or opera-developer. Example: Exec=opera --show-opera-menu %U
    3. Press Ctrl + O to save and Ctrl + X to exit nano. Now you can exit and start Opera from your programs menu.
  • Bad advice.

    Place for custom user desktops files:
    /home/USERNAME/.local/share/applications

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.