whatsie icon indicating copy to clipboard operation
whatsie copied to clipboard

when using alternative home for multi instances of whatsie cannot run 2 at the same time

Open RobVerduijn opened this issue 8 months ago • 0 comments

Hello,

I have multiple whatsapp accounts, and to make use of multiple whatsie flatpak instances I use an alternative home. When staring the flatpak I simply set the env $HOME to an alternative path (usually a sub dir in my real HOME dir) That way flatpak creates all the dirs for that instance in the alternative path and I can run multiple instances of any flatpak app. It works great for signal, also for mimbero whatsapp.

However when starting the second instance of whatsie with an alternative home, it forces the first instance into focus.

env HOME=/home/rob/work /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=whatsie --file-forwarding com.ktechpit.whatsie @@u %u @@

This also happens the other way when I start alternative home whatsie first, then starting the original whatsie forces the alternative whatsie into focus.

Can I fix this by simply setting an alternative xdg var for this ?

Cheers

RobVerduijn avatar May 30 '24 09:05 RobVerduijn