GNOME Shell 3.24.2 and newer, right click on icon is missing features



  • If you have Vivaldi browser marked as Favorite or find it through Applications, when you right click on it you only get the choice of "New Window". Many of the newer browsers will also show like "New Private Window" but Vivaldi is missing this. So you actually need to start the normal one and then open the private one.

    I know I can fiddle around with this myself by doing changes with MenuLibre, config files and others, but this should at least be considered to be added by default to GNOME Shell and maybe some of the other default GUI's.



  • @zhakal
    Why changing MenuLibre, config files and others had anything to do with that?
    Isn't we need to change only (any[1]) Vivaldi desktop file or create new one?

    [1] I mentioned "any" because Desktop Environment or File Manager like to create new one for purpose like new Favorite menu.

    Rouglhy like this;

    [Desktop Entry]
    Version=1.0
    Name=Vivaldi (snapshot)
    GenericName=Web Browser
    Comment=Access the Internet
    Exec=/usr/bin/vivaldi-snapshot %U
    Terminal=false
    Icon=vivaldi-snapshot
    Type=Application
    Categories=Network;WebBrowser;
    MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
    Actions=NewWindow;NewPrivateWindow;
    
    [Desktop Action NewWindow]
    Name=New Window
    Exec=/usr/bin/ vivaldi-snapshot
    
    [Desktop Action NewPrivateWindow]
    Name=New Incognito Window
    Exec=/usr/bin/vivaldi-snapshot --incognito
    

    I'm not expert in desktop file. I never use it. I use rofi or dmenu (some kind like run menu) due it act like shell.
    And snippet above was stolen & re-edit from Google Chrome desktop file without shame.



  • @dLeon You beat me to add an example of just using the .desktop file in the home directory :)

    Personally I think this should be added as a default file, so we get a good base functionality also in Linux without having to do it for ourselves.

    I'm doing a lot of open-source application testing, and it's very annoying to make these files for every new application since it's missing.

    It's default in Windows, so why not on Linux?

    0_1497813629063_upload-beb48d2b-e4ec-4266-9945-f4d39c77c95f

    I know there is many desktop environments, but at least the most used one like Gnome, KDE Plasma, Cinnamon and Mate.



  • @zhakal
    Yes, it should be.
    I never have any idea that desktop file not complete if you're not asking about menu.

    Althought not a real killer, I suggest to Report Bug it. It does involve user experience for Vivaldi.



  • @dLeon I've submitted a bug report with the file included.

    But if you want to add it yourself just do the following in a file

    [Desktop Entry]
    Version=1.0
    Name=Vivaldi
    GenericName=Web Browser
    Comment=Access the Internet
    Exec=/usr/bin/vivaldi-stable %U
    Terminal=false
    Icon=vivaldi
    Type=Application
    Categories=Network;WebBrowser;
    MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
    Actions=NewWindow;NewPrivateWindow;
    
    Name[en_US]=vivaldi-stable.desktop
    
    [Desktop Action NewWindow]
    Name=New Window
    Exec=/usr/bin/vivaldi-stable
    
    [Desktop Action NewPrivateWindow]
    Name=New Private Window
    Exec=/usr/bin/vivaldi-stable --incognito
    

    Save it as vivaldi-stable.desktop and install it by: sudo desktop-file-install vivaldi-stable.desktop

    Or place it in:
    /usr/share/applications/ (all users)
    ~/.local/share/applications (you only)


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.