"dual apps" in linux and stuff.
btw i was thinking if an application can be run as a “dual app” in linux.
for example, i use this application called beeper
.
put simply, you can use whatsapp, telegram, slack, and a bunch of other stuff
all in one place.
but the free beeper version can only have one whatsapp account connected.
(unless you have the plus version, which starts at $9.99/month.
it provides 3 accounts per network.)
and beeper lacks any kind of profile functionality.
and it stores all its stuff in ~/.config.
i just needed to have another whatsapp account.
first, i created another user. (let’s call it user2
for now)
tried su -c user2
and then running beeper, that didn’t work.
then i thought, maybe firejail would have something similar.
turns out i was right.
## creating a directory, just for now
~ $ mkdir beeper
## --private` is for a private home directory,
## when .config and everything will be stored.
## --noprofile cause idk how to create firejail profiles,
## so skipped. but i think it's powerful though.
~ $ firejail --private=$HOME/beeper --noprofile beeper
and it works!
but then i saw a guy in a HN thread doing HOME=$HOME/beeper beeper
.
and it worked.
i mean, this ain’t about sandboxing, just fooling the application.
but a friend in GLI told me it’ll only work if that application followed the XDG specifications or sth.
well, nice.
maybe flatpak is a better option.
but meh.