-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
110 lines (68 loc) · 2.94 KB
/
README
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
To install everything:
apt-get install git python pep8 pylint
cd ~/dotfiles
python install.py
submodules
----------
git submodule init
git submodule update
spell
-----
apt-get install vim-scripts
rm /usr/share/vim/vim73/spell/*.spl
rm /usr/share/vim/vim73/spell/*.sug
command-t
---------
apt-get install ruby ruby-dev
cd ~/.vim/bundle/command-t/ruby/command-t
ruby extconf.rb
make
virtualenvwrapper
-----------------
apt-get install virtualenvwrapper
http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvwrapper
xmonad
------
apt-get install xmonad xmobar suckless-tools slim rxvt-unicode-256color \
xscreensaver lxappearance gnupg-agent hsetroot scrot xcompmgr \
xbacklight laptop-mode-tools
For laptop-mode-tools:
/etc/laptop-mode/conf.d/auto-hibernate.conf:
ENABLE_AUTO_HIBERNATION=1
HIBERNATE_COMMAND=/usr/share/laptop-mode-tools/module-helpers/pm-suspend
/etc/laptop-mode/conf.d/cpufreq.conf:
CONTROL_CPU_FREQUENCY=0
/etc/laptop-mode/conf.d/ethernet.conf:
CONTROL_ETHERNET=0
# This is from jessie
apt-get install xss-lock
xmonad --recompile
reboot
Uncomment LID_SLEEP=true in /etc/default/acpi-support so that
/etc/acpi/lid.sh will suspend the PC upon lid close.
pulseaudio
----------
Prevent applications from auto-adjusting mic gain:
sudo sed -i.bak 's/volume = merge/volume = zero/' /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf
pulseaudio -k
pavucontrol
https://askubuntu.com/questions/279407/how-to-disable-microphone-from-auto-adjusting-its-input-volume
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Enable_Echo/Noise-Cancellation
https://nzeid.net/pulseaudio-disable-auto-volume
Rescan output devices
pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect
https://superuser.com/questions/845645/pulseaudio-how-to-rescan-audio-devices
Telegram
--------
https://github.com/telegramdesktop/tdesktop/issues/9825
https://github.com/telegramdesktop/tdesktop/commit/41e0e4fba703eddfe599ab8935cf0b64549a933f
Use chrome instead of firefox
copy /usr/share/applications/google-chrome.desktop to /usr/share/applications/google-chrome-default.desktop
and pass --profile-directory=Default
xdg-mime default google-chrome-default.desktop x-scheme-handler/https x-scheme-handler/http
This sets .local/share/applications/mimeapps.list
This breaks slack links since it for some reason it opens incognito with the followin args
--profile-directory=Default --flag-switches-begin --disable-quic --flag-switches-end --origin-trial-disabled-features=CaptureHandle --product-version
--profile-directory='Default' https://github.com/jthornber/thin-provisioning-tools/issues/192#issuecomment-1005163588 /usr/bin/google-chrome-stable --profile-directory='Default' /usr/bin/google-chrome-stable --incognito https://www.eurosport.com/
workaround: remove /usr/share/applications/firefox-esr.desktop that was referenced in mimeinfo.cache
and update-alternatives --query x-www-browser