Just some notes on things I like (or need) to do to make a fresh Ubuntu (or Lubuntu) install usable ;)
sudo apt install arandr build-essential colordiff curl fonts-noto-color-emoji \
gawk gpa hunspell-en-au jq keepassxc lcov solaar ssh
'<b>'h:mm AP'</b><br/><font size="-2">'MMM d'</font>'
bluetoothctl
list
connect <MAC>
exit
pavucontrol-qt
-> Configuration -> Headset -> Headset
Also: sudo apt install blueman
for a better (actually works) GUI.
Apart of the obvious GUI places:
xdg-settings get default-web-browser # firefox.desktop
grep -Iir firefox.desktop /etc/xdg/ # Multiple mimes.
for m in application/xhtml+xml text/html text/xml x-scheme-handler/http x-scheme-handler/https; do echo -n "$m: "; xdg-mime query default "$m"; done
ls /usr/share/applications/ | grep -i chrome # google-chrome.desktop
for m in application/xhtml+xml text/html text/xml x-scheme-handler/http x-scheme-handler/https; do xdg-mime default google-chrome.desktop "$m"; done
#xdg-settings set default-web-browser google-chrome.desktop # Unnecessary.
Also, to fix corrupted images (eg on nVidia latops):
sudo sed -i -Ee 's|^Exec=/usr/bin/google-chrome-stable|& --disable-gpu-compositing|' \
/usr/share/applications/google-chrome.desktop
And to fix the stupid dark-mode failures!!!
# Check current status:
dbus-send --session --print-reply=literal --dest=org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read string:org.freedesktop.appearance string:color-scheme
# Set dark-mode:
dconf write /org/gnome/desktop/interface/color-scheme \'prefer-dark\'
See https://wiki.archlinux.org/title/Chromium#Dark_mode
sudo apt install clang cmake g++ make qtbase5-dev qt6-base-dev qtconnectivity5-dev qt6-connectivity-dev
And for recent Qt's (6.4+?) via the Qt Online Installer, you often need this too:
sudo apt install libxcb-cursor0
sudo apt install graphviz qtbase5-doc-dev qtconnectivity5-doc-html
git config --global init.defaultBranch main
git config --global user.email "[email protected]"
git config --global user.name "Paul Colby"
Add Control+Alt+C
-> Calculator
-> /usr/bin/kcalc
shortcut.
Change Show/hine main menu
from Super_L
to something else, eg Meta + Space
(note, Meta
is either Super_{L,R}
key).
Then add to ~/.config/openbox/rc.xml
the contents of keybindings.xml
below.
(Copy from /etc/xdg/openbox/rc.xml
if its not already present).
Finally, openbox --reconfigure
.
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
Support sudo, run sudo visudo
and add:
Defaults env_keep += "TERM TERMINFO"
Also, when SSH'ing to a new host for the first time, setup terminfo via:
kitty +kitten ssh myserver
In case Lubuntu's GUI mixer (pavucontrol-qt
) still segfaults with Bluetooth audio devices:
apt install pulsemixer
Enable spell-checking.
apt install hunspell-en-au
- Todo: add relay credentials
- Todo: setup relay host
Create /etc/mailutils.conf
with:
address {
email-domain somedomain.com;
};
Next Tab: Ctrl+Shift+Right
Prev Tab: Ctrl+Shift+Left
Split H: Ctrl+Shift+/
Split V: Ctrl+Shift+\
Pryo: pyro -root -delay 26549 -count 2000 -frequency 33 -scatter 400
Configuration Center -> Session Settings -> User Directories
Lowecase, and move all under ~/media
except for ~/doc
and ~doc/temmplates
.
Also update Slack, since its too stupid to use the session settings.
File -> Preferences -> Advanced -> Download location -> Change ...
sudo apt --fix-broken install ./zoom_amd64.deb
sudo apt install npm
sudo npm install -g ajv-{cli,formats}
If downloading the latest LCOV (eg 2.0+) you might need to:
sudo apt install libcapture-tiny-perl libdatetime-perl