-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxsession_ubuntu
49 lines (35 loc) · 990 Bytes
/
xsession_ubuntu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
$!/usr/bin/env bash
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/snap/bin
export PATH
# Mouse related
xinput --set-prop "Synaptics TM3075-002" "Device Accel Profile" 1
xset mouse 100 5
synclient HorizTwoFingerScroll=1
synclient HorizScrollDelta=15
synclient PalmDetect=1
synclient PalmMinWidth=15
synclient PalmMinZ=30
synclient TapButton1=0
synclient TapButton2=0
synclient TapButton3=0
# Keyboard related
xset b off
xset r rate 300 30
setxkbmap -layout us,fi -option grp:caps_toggle
# Disable screen blanking since Intel broke their driver
xset -dpms
xset s noblank
xset s off
if [ -x dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
xsetroot -solid black
picom -b
xmodmap ~/.Xmodmap
#mate-volume-control-applet &
nm-applet &
# Lock screen when away or resuming from suspend
#/usr/X11R6/bin/xidle -program "/usr/X11R6/bin/xlock" \
# -timeout 600 &
~/bin/monitor_config.sh
eval i3