You are not logged in.

#1 2022-11-07 13:12:20

BlurryFlurry
Member
Registered: 2022-10-13
Posts: 3

[SOLVED]Launch apps in specific environment when multiple environments

How do you launch an app in a specific environment when multiple environments are running?

for instance, I have BSWM running on tty1 and Sway on tty2.
And If launch the ungoogled-chromium or Vivaldi browser from Sway, it gets launched in BSPWM, and I do not know why it happens. I want that to be opened in the same environment where I launch it. (in this case, I want it to open in Sway)

How do I do this?

Off-topic:
I need sway and BSPWM both because BSPWM is my main desktop environment, where I do my all work and stuff but I cannot run Waydroid on BSPWM because it requires Wayland, So I had to install Sway. (Weston is buggy)

Last edited by BlurryFlurry (2022-11-11 09:35:10)

Offline

#2 2022-11-07 13:44:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: [SOLVED]Launch apps in specific environment when multiple environments

If launch the ungoogled-chromium or Vivaldi browser from Sway, it gets launched in BSPWM

echo $DISPLAY
DISPLAY= ungoogled-chromium # there's an intentional blank behind the "="

However, if there's already an instance running on bspwm, chromium won't start a new instance but just tell the master process (on bspwm) to spawn a new window.
You could try to convince it w/

ungoogled-chromium --ozone-platform=wayland

Offline

Board footer

Powered by FluxBB