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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
* installer
Touchpad is not recognized, for some reason.
* 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.
*NB: solved below.*
Wifi LED is on, whatever that means.
Brightness function keys do not work on the login screen.
Using default XFCE config to get four workspaces.
Brightness and sound function keys work! 🙌
Touchpad click and scroll do not work.
*NB: solved below.*
Wifi function key does not work.
Battery life seems somewhat shorter than with Bunsenlabs, even after
applying all powertop tricks in the book.
* 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][🤷]]
* 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]].
* apt install (2/n)
#+BEGIN_QUOTE
E: Package 'gcc-doc' has no installation candidate
#+END_QUOTE
gcc-doc is only available in /backports/?
* configure XFCE
** 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!
🎉
** Panels
Remove bottom panel: I'd rather remember a few Super-… shortcuts to
launch these applications rather than waste all this vertical space.
** Appearance
*** Style
Greybird
Patch the xfwm-tabwin style to prevent the mouse from screwing with
Alt-Tab:
#+begin_src diff
diff -u /usr/share/themes/Greybird/gtk-2.0/gtkrc.bkp /usr/share/themes/Greybird/gtk-2.0/gtkrc
--- /usr/share/themes/Greybird/gtk-2.0/gtkrc.bkp
+++ /usr/share/themes/Greybird/gtk-2.0/gtkrc
@@ -897,8 +897,8 @@
bg[NORMAL] = shade (0.15, @text_color)
bg[ACTIVE] = shade (0.65, @selected_bg_color)
- bg[PRELIGHT] = shade (0.75, @selected_bg_color)
- bg[SELECTED] = shade (0.55, @bg_color)
+ bg[PRELIGHT] = shade (0.55, @bg_color)
+ bg[SELECTED] = shade (0.75, @selected_bg_color)
fg[NORMAL] = shade (0.8, @base_color)
fg[ACTIVE] = @base_color
#+end_src
* configure more stuff
** lightdm
Debian [[https://wiki.debian.org/LightDM#Enable_user_list][hides the list of users]] on the login screen; Bunsenlabs [[https://github.com/BunsenLabs/bunsen-configs/blob/9.6-1/lightdm.conf.d/50_bunsen.conf][enables
it]] and I kind of like it (fewer keystrokes, and a cute avatar).
|