User Tools

Site Tools


linux:lxde_dual-monitor_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux:lxde_dual-monitor_setup [2013/05/14 01:40]
walter [/etc/lxdm/PreLogin]
linux:lxde_dual-monitor_setup [2016/02/15 21:44]
walter ↷ Page moved from lxde_dual-monitor_setup to linux:lxde_dual-monitor_setup
Line 1: Line 1:
 +**As of July 2013, this fix seems to be outdated.... Not sure what walter did, but it seems to be fixed without using the lxdm configuration files.**
 +
 ====== Setup ====== ====== Setup ======
 Workstations with a dual-monitor setup have some issues with deciding which monitor to use as the primary monitor. ​ This will cause some issues with some games, applications,​ and issues with screen alignment. Workstations with a dual-monitor setup have some issues with deciding which monitor to use as the primary monitor. ​ This will cause some issues with some games, applications,​ and issues with screen alignment.
Line 13: Line 15:
 </​code>​ </​code>​
  
-Please note that this has only been testing ​on the HP workstations running ​Arch, and have not been extensively ​testing ​on single-monitor setups and the like.+Please note that this has only been tested ​on the HP workstations running ​ArchLinux, and have not been extensively ​tested ​on single-monitor setups and the like.
  
 ====== Running at Login ====== ====== Running at Login ======
Line 20: Line 22:
 In order to automate this process,​(instead of making users do this themselves) we can put this script in the corresponding LXDM configurations files. ​ The LXDM files are run at specific times during the login and logout process. ​ Appending these commands will automatically setup the dual-monitor layout. In order to automate this process,​(instead of making users do this themselves) we can put this script in the corresponding LXDM configurations files. ​ The LXDM files are run at specific times during the login and logout process. ​ Appending these commands will automatically setup the dual-monitor layout.
  
-The following are copies of the modified LXDM configurations files as of April 27, 2013:+The following are copies of the modified LXDM configurations files as of **May 13, 2013**:
 Note that these settings should not be applied to single-monitor setups, as this may result in unintended results. Note that these settings should not be applied to single-monitor setups, as this may result in unintended results.
  
-==== /​etc/​lxdm/​PreShutdown ====+==== /​etc/​lxdm/​PreShutdown ​| (Executed as root) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
Line 29: Line 31:
 </​code>​ </​code>​
  
-==== /​etc/​lxdm/​PostLogin ====+==== /​etc/​lxdm/​PostLogin ​| (Executed as logged-in user) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
Line 44: Line 46:
  
  
-==== /​etc/​lxdm/​PreReboot ====+==== /​etc/​lxdm/​PreReboot ​| (Executed as root) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
Line 51: Line 53:
  
  
-==== /​etc/​lxdm/​PostLogout ====+==== /​etc/​lxdm/​PostLogout ​(Executed as logged-in user) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
Line 78: Line 80:
  
  
-==== /​etc/​lxdm/​PreLogin ====+==== /​etc/​lxdm/​PreLogin ​| (Executed as root) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
Line 162: Line 164:
  
  
-==== /​etc/​lxdm/​LoginReady ====+==== /​etc/​lxdm/​LoginReady ​| (Executed as root) ====
 <​code>#​!/​bin/​sh <​code>#​!/​bin/​sh
 # #
linux/lxde_dual-monitor_setup.txt · Last modified: 2021/05/02 21:36 (external edit)