this post was submitted on 22 Jul 2024
24 points (96.2% liked)

Linux

47337 readers
670 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I would like the Firefox profile manager to open when I run Firefox from the GNOME 3 menu, be it the DashBar or the native menu. I installed Firefox using Flatpak.

I know that I can run it from the terminal with flatpak run org.mozilla.firefox -p. But how do I modify the .desktop file? I guess it is the one in /var/lib/flatpak/exports/share/applications/org.mozilla.firefox.desktop? I tried replacing the line

[Desktop Entry]
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox --file-forwarding org.mozilla.firefox @@u %u @@

with

[Desktop Entry]
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --ProfileManager

but I cannot save the document because of "too many symbolic links".

What is the secret?

I really wish Firefox would simply offer this as an option in its settings.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 month ago (1 children)

Copy the unmodified .desktop file to ~/.local/share/Applications and make your changes there.

[–] [email protected] 2 points 1 month ago (1 children)

Will give this a shot. Thank you.

Is it just me or are there too many places where .desktop files could be located?

[–] [email protected] 2 points 1 month ago

I think in the case of flatpak, they moved them to a different location because they are symlinked within the flatpak itself and should be readonly, where as the other locations are for system desktop files (distro package manager), local desktop files (yours) and optional desktop files (things youve built from source)

Doesn't seem so bad when you consider that