Giter VIP home page Giter VIP logo

Comments (2)

Meister1593 avatar Meister1593 commented on May 22, 2024 1

Oops, gonna move this into separate issue

from distrobox.

Meister1593 avatar Meister1593 commented on May 22, 2024

This works if application uses standard paths, but for some apps (like Webex) it's not the case
It uses custom path for icon from inside container that cannot be resolved outside

[Desktop Entry]
Version=42.5.0.22187
Name=Webex  (on fedora-36)
Comment=Webex
Exec=/home/plyshka/.local/bin/distrobox-enter -n fedora-36 -- '  /opt/Webex/bin/CiscoCollabHost  %U'
Icon=/opt/Webex/bin/sparklogosmall.png
Terminal=false
Type=Application
Categories=Utility;Application;
MimeType=x-scheme-handler/webexteams
StartupWMClass=webex

Or some apps (like steam) don't even use paths and straight use name for icon (although it can be different name, steam flatpak for example takes icon from place like this: /home/plyshka/.local/share/flatpak/exports/share/icons/hicolor/16x16/apps/com.valvesoftware.Steam.png)

[Desktop Entry]
Name=Steam (Runtime)  (on arch)
Comment=Application for managing and playing games on Steam
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
...
...
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
Exec=/usr/bin/distrobox-enter -T -n arch -- "  /usr/bin/steam-runtime  %U"
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true

from distrobox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.