Skip to content

Instantly share code, notes, and snippets.

@lotusirous
Last active May 10, 2019 01:27
Show Gist options
  • Select an option

  • Save lotusirous/12fecf70452ed8655bd03c85f2b23001 to your computer and use it in GitHub Desktop.

Select an option

Save lotusirous/12fecf70452ed8655bd03c85f2b23001 to your computer and use it in GitHub Desktop.

Dual monitor for LightDM

In case you have a GPU,

sudo apt install arandr

Save the configuration script file in: $HOME/.screenlayout/OfficeMonitor.sh

Start OfficeMonitor.sh script with XFCE Session and start up

LightDM

Create /etc/lightdm/lightdm.conf.d/dual-monitor.conf

[SeatDefaults]
display-setup-script=/home/khant/.screenlayout/OfficeMonitor.sh
session-setup-script=/home/khant/.screenlayout/OfficeMonitor.sh

Audio

Fix this bug for audio:

sudo apt install ofono
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment