Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
422 B
0
Indexable
Never
# Install Xephyr
sudo apt-get update
sudo apt-get install xserver-xephyr

# Run Xephyr with two screens
Xephyr -ac -screen 1280x720 -br -reset -terminate 2> /dev/null :1 &

# Export the display to the new Xephyr session
export DISPLAY=:1

# Open Chrome on the new display
chromium-browser &

# Switch back to the default display
export DISPLAY=:0

# Open Chrome on the default display
chromium-browser &
Leave a Comment