summaryrefslogtreecommitdiff
path: root/guides/setups
diff options
context:
space:
mode:
Diffstat (limited to 'guides/setups')
-rw-r--r--guides/setups/nc10-laptop/busenlabs-helium.md (renamed from guides/setups/bunsenlabs.md)2
-rw-r--r--guides/setups/nc10-laptop/debian-buster.org223
2 files changed, 223 insertions, 2 deletions
diff --git a/guides/setups/bunsenlabs.md b/guides/setups/nc10-laptop/busenlabs-helium.md
index 523fdaa..8950c29 100644
--- a/guides/setups/bunsenlabs.md
+++ b/guides/setups/nc10-laptop/busenlabs-helium.md
@@ -1,5 +1,3 @@
-Things I always tweak after installing a Bunsenlabs system.
-
# Keyboard
Cf. keyboard(5):
diff --git a/guides/setups/nc10-laptop/debian-buster.org b/guides/setups/nc10-laptop/debian-buster.org
new file mode 100644
index 0000000..f1d97c8
--- /dev/null
+++ b/guides/setups/nc10-laptop/debian-buster.org
@@ -0,0 +1,223 @@
+* Installation
+Installer does not recognize the touchpad, for some reason.
+
+#+BEGIN_QUOTE
+[The real name of this user] will be used for instance as default
+origin for emails sent by this user.
+#+END_QUOTE
+
+I wonder if Gnus will automatically pick this up?
+
+* First boot
+#+BEGIN_QUOTE
+A start job is running for Load AppArmor profiles
+#+END_QUOTE
+Disappeared after ≈30s 🤷
+
+Wooh touchpad works! Although the sensitivity is a bit low.
+
+Wifi LED is on, whatever that means.
+
+Brightness function keys do not work on the login screen.
+
+Using default config to get four workspaces.
+
+Brightness and sound function keys work! 🙌
+
+Touchpad click and scroll do not work.
+
+Wifi function key does not work.
+
+* Getting comfortable
+** CapsLock
+Tweak /etc/default/keyboard to remap CapsLock as secondary
+Control, then in a TTY:
+
+#+BEGIN_SRC sh
+$ sudo udevadm trigger --subsystem-match input --action change
+$ sudo setupcon
+#+END_SRC
+** apt install (1/n)
+git greybird-gtk-theme elementary-xfce-icon-theme emacs
+
+git suggests git-doc: why of course, good idea!
+
+emacs suggests emacs-common-non-dfsg: right, what was that again?
+Documentation, IIRC? What does APT have to say?
+
+#+BEGIN_EXAMPLE
+$ apt show emacs-common-non-dfsg
+Package: emacs-common-non-dfsg
+State: not a real package (virtual)
+N: Can't select candidate version from package emacs-common-non-dfsg as it has no candidate
+N: Can't select versions from package 'emacs-common-non-dfsg' as it is purely virtual
+N: No packages found
+#+END_EXAMPLE
+
+… What does https://packages.debian.org/emacs-common-non-dfsg say?
+
+#+BEGIN_QUOTE
+*[non-free]*
+#+END_QUOTE
+
+[[https://www.debian.org/vote/2006/vote_001][Oh.]] Well then,
+
+#+BEGIN_SRC sh
+$ sudo sed -ri 's/^([^#].+ main)$/\1 contrib non-free/' /etc/apt/sources.list
+$ # While in there…
+$ sudo sed -ri 's/^(deb|deb-src) http:/\1 https:/' /etc/apt/sources.list
+#+END_SRC
+
+What now?
+
+#+BEGIN_EXAMPLE
+$ sudo apt update
+[…]
+Err:4 https://security.debian.org/debian-security buster/updates Release
+ Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 217.196.149.233 443]
+[…]
+E: The repository 'https://security.debian.org/debian-security buster/updates Release' no longer has a Release file.
+N: Updating from such a repository can't be done securely, and is therefore disabled by default.
+N: See apt-secure(8) manpage for repository creation and user configuration details.
+#+END_EXAMPLE
+
+🤨
+
+#+BEGIN_SRC sh
+$ sudo sed -ri 's/security\.debian\.org/deb.debian.org/' /etc/apt/sources.list
+#+END_SRC
+
+[[https://wiki.debian.org/SourcesList#Example_sources.list][🤷]]
+
+** Clone dotfiles
+Allow external drives to be automounted: cf. Thunar section below.
+
+Grab ssh keys from backup. "Clone" (init, fetch, reset) dotfiles.
+
+** Tweak dotfiles
+Set EMAIL in .profile; copy .profile to .xsessionrc (AFAICT XFCE does
+not read ~/.config/environment.d) to get PATHs.
+
+In .bashrc, enable globstar and autocd, uncomment grep and ls aliases,
+source personal .bash_prompt.
+
+Fun fact! git can guess user.email from $EMAIL and user.name from the
+[[https://en.wikipedia.org/wiki/Gecos_field][GECOS field]].
+
+** Install Emacs packages
+- Comment out .emacs below (load custom-file)
+- (package-refresh-contents)
+- (package-install-selected-packages)
+
+** Configure XFCE
+*** Thunar
+**** Enable GVFS
+- apt install gvfs-backends gvfs-fuse
+- thunar > Edit > Preferences > Advanced > Volume Management > Configure
+ - [X] Mount removable dries when hot-plugged
+ - [X] Mount removable media when inserted
+**** View
+- Side Pane: Tree
+- View as Detailed List
+*** Terminal
+**** General
+- Scrollbar is: Disabled
+- [X] Unlimited scrollback
+**** Appearance
+- [X] Use system font
+- [ ] Display menubar in new windows
+**** Advanced
+- [X] Disable all menu access keys (such as Alt-f)
+- [X] Automatically copy selection to clipboard
+
+*** Mouse and Touchpad
+- Move sliders a bit to no avail, restore defaults.
+- Google around.
+- Why do my XFCE settings not have this "Touchpad" tab?
+- apt install xserver-xorg-input-synaptics
+- Log out and in again.
+- Woah the pointer is much faster now.
+- And the "Touchpad" tab is here now!
+ - [X] Tap touchpad to click
+ - Scrolling mode: Edge scrolling
+🎉
+
+*** Panels
+**** Top panel
+Row size: 24px
+Items:
+- Applications Menu
+ - [X] Show application description in tooltip
+ - [ ] Show button title
+- Window Buttons:
+ - [ ] Show button labels
+ - [ ] Show handle
+- Workspace switcher:
+ - [ ] Show miniature view
+- Clock: Custom format: =%d %b %R=
+- PulseAudio Plugin
+- System Load Monitor: add
+ - Power-saving internal: 2
+ - remove labels
+ - remove uptime
+- Battery Monitor
+ - [X] Display bar
+ - [X] Display percentage in tooltip
+ - [X] Display time remaining in tooltip
+- Action Buttons: remove
+**** Remove bottom panel
+I'd rather remember a few Super-… shortcuts to launch these
+applications rather than waste all this vertical space.
+
+*** Workspaces
+Set names to 🖵.
+
+*** Appearance
+**** Style
+Greybird
+**** Icons
+elementary Xfce darker
+**** Fonts
+- Default Font: Noto Sans 9
+- Default Monospace Font: Noto Mono 9
+- Hinting: Slight
+
+*** Window manager
+**** Style
+- Theme: Greybird-compact
+**** Keyboard
+- Tile window to the left: Super+Left
+- Tile window to the right: Super+Right
+- Show desktop: Super+D
+*** Window manager tweaks
+**** Cycling
+- [X] Cycle through windows in a list
+**** Accessiblity
+- [X] Hide title of windows when maximized
+**** Compositor
+- [ ] Show shadows under dock windows
+
+*** Keyboard
+**** Application Shortcuts
+- emacs: Super+E
+- exo-open --launch FileManager: Super+F
+- exo-open --launch TerminalEmulator: Super+T
+- exo-open --launch WebBrowser: Super+W
+- xfce4-session-logout: Super+X
+- xflock4: Super+L
+
+** Work on battery life
+Somewhat shorter than with BunsenLabs…
+
+Write script to apply powertop advice.
+
+** Install more stuff
+ripgrep vim wordnet
+*** documentation
+info manpages-dev manpages-posix manpages-posix-dev gcc-doc tar-doc
+
+#+BEGIN_QUOTE
+E: Package 'gcc-doc' has no installation candidate
+#+END_QUOTE
+
+gcc-doc is only available in the /backports/?