We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2020-01-25 20:29:35 +0200

X-Nemo-Single-Instance=no is not respected

According to the docs (https://harbour.jolla.com/faq , https://harbour.jolla.com/faq#4.5.0), we should be able to disable single-instance launching of the app. This does not work on SFOS 3.2.1.x and looks like the issue started earlier. Please restore the expected behavior.

Why needed in my case: I am wrapping Flatpak apps using the same application (flatpak-runner). With the current state, I can run only single Flatpak app

X-Nemo-Single-Instance=no is not respected

According to the docs (https://harbour.jolla.com/faq , https://harbour.jolla.com/faq#4.5.0), we should be able to disable single-instance launching of the app. This does not work on SFOS 3.2.1.x and looks like the issue started earlier. Please restore the expected behavior.

Why needed in my case: I am wrapping Flatpak apps using the same application (flatpak-runner). With the current state, I can run only single Flatpak app

app.

Edit: As it seems to be not reproduced by all, I am adding an example and config.

Sailfish version: 3.2.1.20

There are no patches installed. When testing, please make sure you don't have corresponding patch installed: https://coderus.openrepos.net/pm2/project/sailfishos-launcher-multi-instances-patch

Example: I have applications Flatpak Runner and Spectral. When starting Flatpak Runner first, I get the same instance if I start Spectral later. Similar situation is if I start Spectral first and the runner later.

Corresponding desktop files:

Flatpak Runner, installed in /usr/share/applications/flatpak-runner.desktop:

[Desktop Entry]
Type=Application
X-Nemo-Single-Instance=no
X-Nemo-Application-Type=no-invoker
Icon=flatpak-runner
Exec=flatpak-runner
Name=Flatpak

Example application desktop file (.local/share/applications/flatpak-runner-autogen-org.eu.encom.spectral.desktop):

Name = Spectral
GenericName = Matrix Client
Comment = IM client for the Matrix protocol
Exec = flatpak-runner org.eu.encom.spectral
Terminal = false
Icon = /home/nemo/.local/share/flatpak/exports/share/icons/hicolor/512x512/apps/org.eu.encom.spectral.png
Type = Application
Categories = Network;InstantMessaging;
Name[en_US] = Spectral
X-Flatpak = org.eu.encom.spectral
X-Nemo-Single-Instance = no
X-Nemo-Application-Type = no-invoker

X-Nemo-Single-Instance=no is not respected

According to the docs (https://harbour.jolla.com/faq , https://harbour.jolla.com/faq#4.5.0), we should be able to disable single-instance launching of the app. This does not work on SFOS 3.2.1.x and looks like the issue started earlier. Please restore the expected behavior.

Why needed in my case: I am wrapping Flatpak apps using the same application (flatpak-runner). With the current state, I can run only single Flatpak app.

Edit: Edit: As it seems to be not reproduced by all, I am adding an example and config.

Sailfish version: 3.2.1.20

There are no patches installed. When testing, please make sure you don't have corresponding patch installed: https://coderus.openrepos.net/pm2/project/sailfishos-launcher-multi-instances-patch

Example: I have applications Flatpak Runner and Spectral. When starting Flatpak Runner first, I get the same instance if I start Spectral later. Similar situation is if I start Spectral first and the runner later.

Corresponding desktop files:

Flatpak Runner, installed in /usr/share/applications/flatpak-runner.desktop:

[Desktop Entry]
Type=Application
X-Nemo-Single-Instance=no
X-Nemo-Application-Type=no-invoker
Icon=flatpak-runner
Exec=flatpak-runner
Name=Flatpak

Example application desktop file (.local/share/applications/flatpak-runner-autogen-org.eu.encom.spectral.desktop):

Name = Spectral
GenericName = Matrix Client
Comment = IM client for the Matrix protocol
Exec = flatpak-runner org.eu.encom.spectral
Terminal = false
Icon = /home/nemo/.local/share/flatpak/exports/share/icons/hicolor/512x512/apps/org.eu.encom.spectral.png
Type = Application
Categories = Network;InstantMessaging;
Name[en_US] = Spectral
X-Flatpak = org.eu.encom.spectral
X-Nemo-Single-Instance = no
X-Nemo-Application-Type = no-invoker

X-Nemo-Single-Instance=no is not respected

According to the docs (https://harbour.jolla.com/faq , https://harbour.jolla.com/faq#4.5.0), we should be able to disable single-instance launching of the app. This does not work on SFOS 3.2.1.x and looks like the issue started earlier. Please restore the expected behavior.

Why needed in my case: I am wrapping Flatpak apps using the same application (flatpak-runner). With the current state, I can run only single Flatpak app.

Edit: As it seems to be not reproduced by all, I am adding an example and config.

Sailfish version: 3.2.1.20

There are no patches installed. When testing, please make sure you don't have corresponding patch installed: https://coderus.openrepos.net/pm2/project/sailfishos-launcher-multi-instances-patch

Example: I have applications Flatpak Runner and Spectral. All applications are started via Lipstick app grid. When starting Flatpak Runner first, I get the same instance if I start Spectral later. Similar situation is if I start Spectral first and the runner later.

Corresponding desktop files:

Flatpak Runner, installed in /usr/share/applications/flatpak-runner.desktop:

[Desktop Entry]
Type=Application
X-Nemo-Single-Instance=no
X-Nemo-Application-Type=no-invoker
Icon=flatpak-runner
Exec=flatpak-runner
Name=Flatpak

Example application desktop file (.local/share/applications/flatpak-runner-autogen-org.eu.encom.spectral.desktop):

Name = Spectral
GenericName = Matrix Client
Comment = IM client for the Matrix protocol
Exec = flatpak-runner org.eu.encom.spectral
Terminal = false
Icon = /home/nemo/.local/share/flatpak/exports/share/icons/hicolor/512x512/apps/org.eu.encom.spectral.png
Type = Application
Categories = Network;InstantMessaging;
Name[en_US] = Spectral
X-Flatpak = org.eu.encom.spectral
X-Nemo-Single-Instance = no
X-Nemo-Application-Type = no-invoker