Giter VIP home page Giter VIP logo

Comments (8)

sonnyp avatar sonnyp commented on July 17, 2024

Hello

You can make desktop files for your firefox profiles in ~/.local/share/applications

Try something like https://unix.stackexchange.com/questions/484798/how-to-give-each-firefox-profile-its-own-application-icon-in-plasma

Let me know how it goes or if you need help.

Would be nice to contribute to the README "Tips and Tricks".

It may also makes sense for Junction to do this out of the box but this would be the first step.

from junction.

yesnoidontknow1 avatar yesnoidontknow1 commented on July 17, 2024

Thank you for your quick answer! I did as told in the links and separate icons now appear in the task bar for separate browser profiles. But the OS doesn't seem to know it, at least the browser selection stays the same: https://imgur.com/a/2QbxWRG

from junction.

sonnyp avatar sonnyp commented on July 17, 2024

Could you share the exact .desktop files you created?

As well as operating system name/version and desktop environment ?

from junction.

yesnoidontknow1 avatar yesnoidontknow1 commented on July 17, 2024

Sure! Linux Mint 20.2 / Cinnamon

[Desktop Entry]
Name=Firefox Work
Exec=firefox -P WORK --class=secondclass %u
Comment=
Terminal=false
Icon=7765_winebrowser.0
Type=Application
StartupWMClass=secondclass

from junction.

yesnoidontknow1 avatar yesnoidontknow1 commented on July 17, 2024

So I tried out a bit more, but the selection menu from Junction stays the same whatever I do. I think it would be most practical to have the choice to manually edit which browser / desktop shortcuts can be part of the browser list somewhere in a Junction configuration menu?

from junction.

sonnyp avatar sonnyp commented on July 17, 2024

You're missing MimeType and probably refreshing the database. The following works for me

# firefox-work.desktop
[Desktop Entry]
Version=1.0
Name=Firefox Work
Exec=firefox -P WORK --class=secondclass %u
Icon=firefox
Terminal=false
Type=Application
StartupWMClass=secondclass
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
cp firefox-work.desktop ~/.local/share/applications
update-desktop-database ~/.local/share/applications
flatpak run re.sonny.Junction https://gnome.org

from junction.

yesnoidontknow1 avatar yesnoidontknow1 commented on July 17, 2024

Well done, works now for me too!

from junction.

sonnyp avatar sonnyp commented on July 17, 2024

1629270

from junction.

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.