From db1ba30921140240743f3cc7425cfecb42a54c6d Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 16 Nov 2019 13:39:31 +0100 Subject: packages --- packages.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/packages.txt b/packages.txt index e20d592..754a406 100644 --- a/packages.txt +++ b/packages.txt @@ -8,6 +8,7 @@ xorg-server compton xterm powerline +python-i3ipc xf86-input-libinput mupdf ranger -- cgit v1.2.3 From 0acebfcd4755ef9aba67ba3fd4c0209d79b38dd6 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 17 Nov 2019 18:44:53 +0100 Subject: xorg backup --- xorg_backup/xorg.conf | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 xorg_backup/xorg.conf diff --git a/xorg_backup/xorg.conf b/xorg_backup/xorg.conf new file mode 100644 index 0000000..89ce860 --- /dev/null +++ b/xorg_backup/xorg.conf @@ -0,0 +1,104 @@ +# nvidia-settings: X configuration file generated by nvidia-settings +# nvidia-settings: version 430.40 + + +Section "ServerLayout" + Identifier "Layout0" + Screen 0 "Screen0" 0 0 + InputDevice "Keyboard0" "CoreKeyboard" + InputDevice "Mouse0" "CorePointer" +EndSection + +Section "ServerLayout" + Identifier "Layout1" + Screen 1 "Screen1" 0 0 +# InputDevice "Keyboard1" +EndSection + +Section "InputDevice" + Identifier "Mouse0" + Driver "mouse" + Option "Protocol" "auto" + Option "Device" "/dev/psaux" + Option "Emulate3Buttons" "no" + Option "ZAxisMapping" "4 5" + Option "GrabDevice" +EndSection + +Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "GrabDevice" +EndSection + +Section "InputDevice" + Identifier "Keyboard1" + Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd" + Driver "kbd" +EndSection + +Section "Monitor" + Identifier "Monitor0" + VendorName "Unknown" + ModelName "DELL U2312HM" + HorizSync 30.0 - 83.0 + VertRefresh 56.0 - 76.0 + Option "DPMS" +EndSection + +Section "Monitor" + Identifier "Monitor1" + VendorName "Unknown" + ModelName "Maxdata/Belinea B101720" + HorizSync 31.0 - 83.0 + VertRefresh 56.0 - 75.0 + Option "DPMS" +EndSection + +Section "Device" + Identifier "Device0" + Driver "nvidia" + VendorName "NVIDIA Corporation" + BoardName "GeForce RTX 2070" + BusID "PCI:2:0:0" +EndSection + +Section "Device" + Identifier "Device1" + Driver "nvidia" + VendorName "NVIDIA Corporation" + BoardName "GeForce GTX 660" + BusID "PCI:1:0:0" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Device0" + Monitor "Monitor0" + DefaultDepth 24 + Option "Stereo" "0" + Option "nvidiaXineramaInfoOrder" "DFP-3" + Option "metamodes" "DP-2: nvidia-auto-select +2160+420 {AllowGSYNC=Off}, HDMI-0: nvidia-auto-select +0+0 {rotation=right}, DP-0: nvidia-auto-select +4080+420, HDMI-1: nvidia-auto-select +1080+0 {rotation=right}" + Option "SLI" "Off" + Option "MultiGPU" "Off" + Option "BaseMosaic" "off" + SubSection "Display" + Depth 24 + EndSubSection +EndSection + +Section "Screen" + Identifier "Screen1" + Device "Device1" + Monitor "Monitor1" + DefaultDepth 24 + Option "Stereo" "0" + Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0 {rotation=invert, AllowGSYNC=Off}, DVI-D-0: nvidia-auto-select +1280+0 {rotation=left}" + Option "SLI" "Off" + Option "MultiGPU" "Off" + Option "BaseMosaic" "off" + SubSection "Display" + Depth 24 + EndSubSection +EndSection + -- cgit v1.2.3 From bea8fcef46bc5fe3241696dcce46812249c484f7 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 17 Nov 2019 18:45:19 +0100 Subject: SX --- xorg_backup/sx | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 xorg_backup/sx diff --git a/xorg_backup/sx b/xorg_backup/sx new file mode 100755 index 0000000..132f26a --- /dev/null +++ b/xorg_backup/sx @@ -0,0 +1,7 @@ +#!/bin/bash +cd ~ + +sudo -b pulseaudio --system + +startx -- :0 -seat seat0 -layout Layout0 & +startx -- :1 -seat seat1 -layout Layout1 -- cgit v1.2.3