https://bugs.kde.org/show_bug.cgi?id=462709

--- Comment #3 from Gerald Cox <gb...@bzb.us> ---
(In reply to Nicolas Fella from comment #1)
> Can you please give some context on what you are trying to achieve?

I'm creating a front-end script to automate ykman processing, it runs konsole
in the background.  I only want 1 instance of the script to run at a time.  My
understanding from the doc previously mentioned, using Unique in the desktop
file will accomplish this.  

Here is the desktop file I've created:
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/usr/bin/ykocli ykobkg
GenericName[en_US]=
GenericName=YkoCLI
Icon=/usr/share/pixmaps/ykocli.png
MimeType=
Name[en_US]=YkoCLI
Name=YkoCLI
Path=
StartupNotify=true
Terminal=true
TerminalOptions= --background-mode --profile ykocli
Type=Application
Categories=Utility;
X-DBUS-ServiceName=org.bitbucket.gbcox.ykocli
X-DBUS-StartupType=Unique
X-KDE-SubstituteUID=false
X-KDE-Username=
~

However when I start using this desktop file, multiple instances are created.  
Maybe I'm missing something, but if you look at the reddit question I posted,
another person tested this under both Wayland and X11 and reported they
couldn't get it to work either.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to