this post was submitted on 27 Oct 2025
32 points (100.0% liked)

Linux

59269 readers
726 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 6 years ago
MODERATORS
 

Hi guys, I know I can easily make a launcher file in ~/.local/share/applications for it but I don't know what arguments to put in Exec= line to launch a specific profile. I know it is possible but I don't know how to find it

you are viewing a single comment's thread
view the rest of the comments
[–] s3rvant@lemmy.ml 9 points 3 days ago (1 children)

We share a single PC account and do exactly this to easily separate our profiles; here's what I have for my launcher for example:

[Desktop Entry]
Version=1.0
Name=David-Firefox
Comment=Browse the World Wide Web
GenericName=Web Browser
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=firefox %u -P David --class Davidfox
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/david/Launchers/Firefox/Firefox-David.png
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=
StartupNotify=true
Actions=NewWindow;NewPrivateWindow;ProfileManager;

[Desktop Action NewWindow]
Name=Open a New Window
Exec=firefox -P David --class Davidfox -new-window

[Desktop Action NewPrivateWindow]
Name=Open a New Private Window
Exec=firefox -P David --class Davidfox -private-window

[Desktop Action ProfileManager]
Name=Open the Profile Manager
Exec=firefox -ProfileManager --class Davidfox

Here I'm using a custom icon to help tell our profiles apart on our dock and use a custom window class so each profile's windows will group with each other as well.

Thanks for sharing I did not understand the custom window class but hey that's a reason to read the Firefox CLI wiki