-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes
41 lines (32 loc) · 1.55 KB
/
notes
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
# Start chrome in sway, needs options:
-enable-features=UseOzonePlatform -ozone-platform=wayland
# edit desktop entry in ~/.local/share/applications
# Restore Ambient theme on 22.04:
https://github.com/lah7/Ambiant-MATE-Colours
# move buttons to right
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
# restore normal scrollbars
gsettings set com.canonical.desktop.interface scrollbar-mode normal
# install shutter
sudo apt-get install shutter
# some manual steps for now...
# disable default screenshot hotkeys
# add 2 custom shortcut hotkeys
# for full screen 'shutter -f' default key print scrn
# for selection area 'shutter -s' default key shift-print scrn
# kill that login sound file (s?)
sudo mv /usr/share/sounds/ubuntu/stereo/desktop-login{,-disabled}.ogg
sudo mv /usr/share/sounds/ubuntu/stereo/system-ready{,-disabled}.ogg
# add this to your .bashrc to display git branch and status in the prompt
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[01;33m\]$(__git_ps1)\[\033[01;34m\] \$\[\033[00m\] '
export GIT_PS1_SHOWDIRTYSTATE=1
# fix broken ttf-mscorefonts-installer issue
sudo apt-get remove -y ttf-mscorefonts-installer
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.7_all.deb
sudo apt install ttf-mscorefonts-installer
# constrain ssh to specific user(s)
# add to /etc/ssh/sshd_config
AllowUsers oldman
# fix missing ethernet 'device not managed'
sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf